[fpc-devel] OT: Code generation

Mark Morgan Lloyd markMLl.fpc-devel at telemetry.co.uk
Mon Apr 14 23:10:38 CEST 2014


Mark Morgan Lloyd wrote:
> 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.

I suspect I was thinking of CASPER 
www.dtic.mil/dtic/tr/fulltext/u2/a446095.pdf although my recollection of 
its mode of operation was wrong.

Apologies for not having been aware of certain directly-relevant 
European papers before asking.

-- 
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