Yes, it's one of "these" questions again.
I got a basic reflection framework up and running, although it still requires the front end user to manually register each method (including return type, argument). However I got the idea of making each function virtual which needs to be reflected, as (even though it's compiler dependent) those functions should technically be in the vtable (if not optimized out). So I got to the point where I got the address of each function, and successfully call/execute each. However, is there a way to "get" the return type, and argument types given the address of this function.
Now before you say this is impossible, I don't mind the weirdest way, hackiest way, since I'm only doing this for the challenge. However I do not want preparsing method, or anything similar, as that is not my aim.
Aucun commentaire:
Enregistrer un commentaire