savior-source icon indicating copy to clipboard operation
savior-source copied to clipboard

AFL Compile Error : error: no matching constructor for initialization of 'llvm::DILocation'

Open cryptomadco opened this issue 5 years ago • 1 comments

Hi there .

I just got this error while compiling and building savior .

It's not able to build AFL.

error: no matching constructor for initialization of 'llvm::DILocation'

I am looking for a workaround for this, getting it to work .

Thanks!

cryptomadco avatar Jun 06 '20 11:06 cryptomadco

Hi,

this error is likely due to LLVM version mismatch, based on https://github.com/evanmak/savior-source/issues/4 if you are manually following the installation script you need to ensure that you point to the correct llvm headers. To do that you may use llvm-config.

Another workaround is to comment out the DILocation related code in AFL, they were added to aid debugging.

evanmak avatar Jun 07 '20 18:06 evanmak