Fuzzing101
Fuzzing101 copied to clipboard
Exercice-7 building VLC using afl-clang-fast as the compiler and with ASAN Error
hi,i'm building VLC using afl-clang-fast as the compiler and with ASAN and FATAL Error:
CC="afl-clang-fast" CXX="afl-clang-fast++" ./configure --prefix="$HOME/fuzzing_vlc/vlc-3.0.7.1/install" --disable-a52 --disable-lua --disable-qt --with-sanitizer=address
AFL_LLVM_ALLOWLIST=$HOME/fuzzing_vlc/vlc-3.0.7.1/Partial_instrumentation make -j$(nproc) LDFLAGS="-fsanitize=address"
afl-cc++4.01a by Michal Zalewski, Laszlo Szekeres, Marc Heuse - mode: LLVM-PCGUARD
afl-cc++4.01a by Michal Zalewski, Laszlo Szekeres, Marc Heuse - mode: LLVM-PCGUARD
afl-cc++4.01a by Michal Zalewski, Laszlo Szekeres, Marc Heuse - mode: LLVM-PCGUARD
afl-cc++4.01a by Michal Zalewski, Laszlo Szekeres, Marc Heuse - mode: LLVM-PCGUARD
GEN ../modules/plugins.dat
[-] FATAL: forkserver is already up, but an instrumented dlopen() library loaded afterwards. You must AFL_PRELOAD such libraries to be able to fuzz them or LD_PRELOAD to run outside of afl-fuzz.
To ignore this set AFL_IGNORE_PROBLEMS=1.
/bin/bash: line 4: 451562 Aborted (core dumped) ./vlc-cache-gen `realpath ../modules`
make[2]: *** [Makefile:1831: ../modules/plugins.dat] Error 134
make[2]: Leaving directory '/home/test/Fuzz/fuzzing-101-solutions/exercise-7/fuzzing_vlc/vlc-3.0.7.1/bin'
make[1]: *** [Makefile:1553: all-recursive] Error 1
make[1]: Leaving directory '/home/test/Fuzz/fuzzing-101-solutions/exercise-7/fuzzing_vlc/vlc-3.0.7.1'
make: *** [Makefile:1438: all] Error 2
Hi @bugchong ,
Did u solve the error? I met the same error when building VLC.
Hi @bugchong ,
Did u solve the error? I met the same error when building VLC.
no.:(
Could it be the operating system that causes it?
i had the same error:-(
hi,i find sth about the error.
Ref:https://github.com/AFLplusplus/AFLplusplus/blob/stable/docs/FAQ.md
The best solution is to simply set AFL_PRELOAD=foo.so to the libraries that are dlopen'ed (e.g., use strace to see which), or to set a manual forkserver after the final dlopen().
but i still stucked the problem. @antonio-morales
thanks a lot.