[lld] r308809 - Don't crash on an empty section with an ALIGN.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 24 00:53:30 PDT 2017


I noticed that during last weeks we had several fixes committed to fix LLD crashes
because of uncommon scripts. Like this one or discarding synthetic sections earlier.

About a year ago we used AFL (http://lcamtuf.coredump.cx/afl/) for fuzzing LLD.
That time we fuzzed input objects (binaries). 
As far I know it is possible to teach AFL about some syntax and provide a dictionary of keywords,
and as a result it probably should be able to generate and test linkerscripts.
Which probably can reveal more uncommon cases leading to crashes/hangs may be.

I wonder does it make sence to do that ?

George.


More information about the llvm-commits mailing list