4 ms·
Based on how the OP described finding the offsets, it sounds like this is exactly what they did, perhaps there are some obvious sentinels that make it easy. I’m
by codezero 6y ago
Based on how the OP described finding the offsets, it sounds like this is exactly what they did, perhaps there are some obvious sentinels that make it easy. I’m not a C expert, but I think a function call w/ args has a pretty standard way of being executed and if you know the types of the arguments it’s possibly even easier?
- virtue3 6y agoABI compatability baby. Those signatures gotta match up for sure. Once you have that, the underlying guts of the code wont matter so much. If this was 32 vs 64bit or some such you'd be pretty hosed at where everything was I imagine.
- codezero 6y agoBoom. ABI that’s the word I was thinking of. Thanks!