[fpc-pascal] Get all caller adresses of a given function/procedure before executing

Martin lazarus at mfriebe.de
Sat Aug 11 14:46:53 CEST 2012


On 11/08/2012 13:32, Rainer Stratmann wrote:
> Am Saturday 11 August 2012 14:15:11 schrieb Martin:
>> If that changes, then your code fails.
> I can easily adopt the code then.
> There are not many different ways for a call.
>
> http://css.csail.mit.edu/6.858/2011/readings/i386/CALL.htm
>

Yes, so the amount of effort may increase drastically. New CPU may bring 
new ways too.

And with each added way, the already existing risk of false positives 
(the byte sequence can occur as subset of another statement, and then it 
isn't a call at all) does increase.






More information about the fpc-pascal mailing list