[fpc-devel] OT: Code generation

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Fri Apr 11 10:22:28 CEST 2014


Knowing that there are some good compiler guys in here: does anybody 
remember a paper and set of patches for GCC that randomises register 
allocation and makes random choices for the code generator (e.g. zero a 
register either by xor a,a or sub a,a etc.) in order to give buffer 
overflows less to bite on? Any URLs etc. would be much appreciated.

Could such a thing be done for FPC? :-)

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-devel mailing list