libxslt benchmark does not work with aflplusplus_qemu and weizz_qemu
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 302
- PR merge metrics
- No merged PRs in 30d
Description
aflplusplus_qemu:
```
#8 131.0 Linking target qemu-x86_64
#8 131.2 libqemuutil.a(crypto_random-gcrypt.c.o): In function `qcrypto_random_bytes':
#8 131.2 /afl/qemu_mode/qemuafl/build/../crypto/random-gcrypt.c:31: undefined reference to `gcry_randomize'
#8 131.2 libqemuutil.a(crypto_init.c.o): In function `qcrypto_init':
#8 131.2 /afl/qemu_mode/qemuafl/build/../crypto/init.c:125: undefined reference to `gcry_check_version'
#8 131.2 /afl/qemu_mode/qemuafl/build/../crypto/init.c:129: undefined reference to `gcry_control'
#8 131.2 clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
#8 131.3 Makefile.ninja:653: recipe for target 'qemu-x86_64' failed
#8 131.3 make[1]: *** [qemu-x86_64] Error 1
#8 131.3 make[1]: Leaving directory '/afl/qemu_mode/qemuafl/build'
#8 131.3 GNUmakefile:10: recipe for target 'all' failed
#8 131.3 make: *** [all] Error 2
------
failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c git clone https://github.com/AFLplusplus/AFLplusplus.git /afl && cd /afl && git checkout daa2285083a1046ff69e398366a858a2558134fb && unset CFLAGS && unset CXXFLAGS && AFL_NO_X86=1 CC=clang PYTHON_INCLUDE=/ make && cd qemu_mode && ./build_qemu_support.sh && cd .. && make -C examples/aflpp_driver && cp examples/aflpp_driver/libAFLQemuDriver.a /libAFLDriver.a && cp examples/aflpp_driver/aflpp_qemu_driver_hook.so /]: runc did not terminate sucessfully
make: *** [docker/generated.mk:63350: .aflplusplus_qemu-libxslt_xpath-builder-intermediate] Error 1
```
weizz_qemu
```
[*] Spinning up the light fork server...
[-] Whoops, the target binary crashed suddenly, before receiving any input
from the fuzzer! There are several probable explanations:
- The binary is just buggy and explodes entirely on its own. If so, you
need to fix the underlying problem or find a better replacement.
- Less likely, there is a horrible bug in the fuzzer. If other options
fail, poke for troubleshooting tips.
[-] PROGRAM ABORT : Weizz fork server crashed with signal 11
Location : init_light_forkserver(), /weizz/src/run.c:500
Traceback (most recent call last):
File "", line 1, in
File "/out/fuzzer.py", line 72, in fuzz
subprocess.check_call(command)
File "/usr/local/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['./weizz', '-d', '-w', '-h', '-Q', '-L', '8k', '-m', 'none', '-i', '/out/seeds', '-o', '/out/corpus', '-t', '1000+', '-x', '/out/xpath.dict', '--', '/out/xpath']' died with .
ERROR:root:Executed command: "nice -n 5 python3 -u -c import fuzzer; fuzzer.fuzz('/out/seeds', '/out/corpus', '/out/xpath')" returned: 1.
ERROR:root:Fuzz process returned nonzero. Extras: {'traceback': 'Traceback (most recent call last):\n File "/src/experiment/runner.py", line 212, in run_fuzzer\n env=fuzzer_environment)\n File "/src/common/new_process.py", line 124, in execute\n raise subprocess.CalledProcessError(retcode, command)\nsubprocess.CalledProcessError: Command \'[\'nice\', \'-n\', \'5\', \'python3\', \'-u\', \'-c\', "import fuzzer; fuzzer.fuzz(\'/out/seeds\', \'/out/corpus\', \'/out/xpath\')"]\' returned non-zero exit status 1.\n'}
INFO:root:Doing final sync.
make: *** [docker/generated.mk:105735: test-run-weizz_qemu-libxslt_xpath] Error 1
```
Contributor guide
Assessment
This issue has not been assessed yet.