El 16/10/2021 a las 21:57, J. Gareth Moreton via fpc-devel escribió:
Certainly possible, and would address the whole function pointer thing,
although I do question the performance hit because of the extra jump,
especially for small procedures, as well as the fact that the function
overhead would still be present. Certainly a safe start though.
Hello,
I do not know if its possible, but you can add a bunch of NOPs before
real function, 1, 4, 8... NOPs, one group for each removed call. Of
course a multiple times removed function can have a lot of NOPs to be
executed before the real function body starts.
--
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel