Superion icon indicating copy to clipboard operation
Superion copied to clipboard

No instrumentation detected despite setting CC and CXX and AFL_HARDEN

Open docfate111 opened this issue 3 years ago • 1 comments

export CC=/Superion/afl-clang-fast && \
export CXX=/Superion/afl-clang-fast++ && \
export AFL_HARDEN=1 &&
git clone https://github.com/espruino/Espruino.git && \
cd Espruino && \
CC=/Superion/afl-clang-fast CXX=afl-clang-fast++ make

Everything works except for some reason

./afl-fuzz -M f1 -m 1G -t 100+ -i /seeds -o /out /Espruino/espruino @@

says that the binary is not instrumented? Also for another JS engine I am getting errors about unrecognized flags? How would I fix that?

docfate111 avatar Mar 02 '21 08:03 docfate111

export CC=/Superion/afl-clang-fast && \
export CXX=/Superion/afl-clang-fast++ && \
export AFL_HARDEN=1 &&
git clone https://github.com/espruino/Espruino.git && \
cd Espruino && \
CC=/Superion/afl-clang-fast CXX=afl-clang-fast++ make

Everything works except for some reason

./afl-fuzz -M f1 -m 1G -t 100+ -i /seeds -o /out /Espruino/espruino @@

says that the binary is not instrumented? Also for another JS engine I am getting errors about unrecognized flags? How would I fix that?

Hi @docfate111 ,

Have u fix the problem?

QiuJYWX avatar Apr 12 '22 00:04 QiuJYWX