zhunki / Superion

Superion is a fuzzer which extends the famous AFL to support structured inputs such as JavaScript and XML.
126 stars 23 forks source link

No instrumentation detected despite setting CC and CXX and AFL_HARDEN #18

Open docfate111 opened 3 years ago

docfate111 commented 3 years ago
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?

QiuJYWX commented 2 years ago
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?