Question as above. For example, I have a custom DLL/binary/executable file, and I want to get an array of pointers, pointing to all functions stored in this file.
I thought about (1) virtual/pure virtual functions and (2) placing functions under a specific address, but I'm not sure about the first (I'd like to use malloc
and raw data loading) and I cannot make second solution easy-to-use for potential modders.
How to do this in C/C++, is this possible at all?
Thanks in advance!