You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 22, 2024. It is now read-only.
Hi, I was trying to build afl-clang*-fast toolchains using clang built from source.The compiler wrappers do build successfully, however they fail at the test_build with the following error:
clang (LLVM option parsing): Unknown command line argument '-sanitizer-coverage-block-threshold=0'. Try: 'clang (LLVM option parsing) --help'
clang (LLVM option parsing): Did you mean ' --sanitizer-coverage-pc-table=0'?
The error does indeed stop occuring if I make the mentioned fix in afl-clang-fast.c. However, from what I understand these are two completely different flags. The original flags is associated with inlining instrumentation callbacks and the pc-table flag refers to a feature where PC's corresponding to function/non-function entry blocks is made as a pre-processing step.
My clang version which I built from source is:
clang version 10.0.0 (git@github.com:llvm-mirror/clang.git 65acf43270ea2894dffa0d0b292b92402f80c8cb) (git@github.com:llvm-mirror/llvm.git 2c4ca6832fa6b306ee6a7010bfb80a3f2596f824)
Target: x86_64-unknown-linux-gnu
The command I am using to build llvm_mode is: AFL_TRACE_PC=1 CC=/path/to/built/clang CXX=/path/to/built/clang++ make -C llvm_mode clean all
Hi, I was trying to build
afl-clang*-fasttoolchains using clang built from source.The compiler wrappers do build successfully, however they fail at thetest_buildwith the following error:The error does indeed stop occuring if I make the mentioned fix in
afl-clang-fast.c. However, from what I understand these are two completely different flags. The original flags is associated with inlining instrumentation callbacks and thepc-tableflag refers to a feature where PC's corresponding to function/non-function entry blocks is made as a pre-processing step.My clang version which I built from source is:
The command I am using to build llvm_mode is:
AFL_TRACE_PC=1 CC=/path/to/built/clang CXX=/path/to/built/clang++ make -C llvm_mode clean all