AngoraFuzzer / Angora

Angora is a mutation-based fuzzer. The main goal of Angora is to increase branch coverage by solving path constraints without symbolic execution.
Apache License 2.0
916 stars 166 forks source link

Update DFSan to use LLVM 6.0 APIs #24

Closed bpfoley closed 5 years ago

spinpx commented 5 years ago

Hi @bpfoley . Thanks for your contribution! I have merged it to our llvm6 branch, and I will merge to master after my testing.

spinpx commented 5 years ago

Do you have similar issue?

https://groups.google.com/forum/#!topic/afl-users/D3-jbylxHeg https://groups.google.com/forum/#!searchin/afl-users/llvm$206|sort:date/afl-users/1WqZpGXvYY0/k3SSldeSBwAJ https://groups.google.com/forum/#!searchin/afl-users/llvm|sort:date/afl-users/-fEx3FHC5Lw/CEzAfOvJBwAJ

The llvm passes are modified from AFL's. They have the same compiling issues in my testing.

bpfoley commented 5 years ago

Do you have similar issue?

https://groups.google.com/forum/#!topic/afl-users/D3-jbylxHeg https://groups.google.com/forum/#!searchin/afl-users/llvm$206|sort:date/afl-users/1WqZpGXvYY0/k3SSldeSBwAJ https://groups.google.com/forum/#!searchin/afl-users/llvm|sort:date/afl-users/-fEx3FHC5Lw/CEzAfOvJBwAJ

The llvm passes are modified from AFL's. They have the same compiling issues in my testing.

Yes, I'm seeing the same issue. :(

spinpx commented 5 years ago

The issue can be solved by compiling LLVM by yourself instead of using the binary downloaded from LLVM's website.

spinpx commented 5 years ago

The issue was fixed in committing https://github.com/AngoraFuzzer/Angora/commit/517718c7d8b73cb394198db55c858f30ac24eaa6

reference: https: // bugs.llvm.org/show_bug.cgi?id=39321