Open caballomaldito opened 5 years ago
So tested: Ubuntu 18.04 TLS
Executing the following command will reproduce the problem:
pip install git+https://github.com/shellphish/fuzzer
Installing collected packages: future, ana, z3-solver, claripy, smmap2, gitdb2, GitPython, decorator, networkx, cooldict, dpkt-fix, capstone, mulpyplexer, ailment, unicorn, pycparser, cffi, archinfo, plumbum, rpyc, sortedcontainers, idalink, pefile, pyelftools, bitstring, pyvex, cle, progressbar, cachetools, futures, angr, shellphish-afl, shellphish-qemu, tqdm, fuzzer Running setup.py install for future ... done Running setup.py install for ana ... done Running setup.py install for claripy ... done Running setup.py install for networkx ... done Running setup.py install for cooldict ... done Running setup.py install for dpkt-fix ... done Running setup.py install for mulpyplexer ... done Running setup.py install for ailment ... done Running setup.py install for pycparser ... done Running setup.py install for archinfo ... done Running setup.py install for rpyc ... done Running setup.py install for idalink ... done Running setup.py install for pefile ... done Running setup.py install for pyelftools ... done Running setup.py install for bitstring ... done Running setup.py install for cle ... done Running setup.py install for progressbar ... done Running setup.py install for shellphish-afl ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-QluSO3/shellphish-afl/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-wpVEXT-record/install-record.txt --single-version-externally-managed --compile: running install running build Setting up AFL-other-arch Cloning into 'bin/afl-unix'... patching file qemu_mode/patches/elfload.diff Hunk #1 FAILED at 1. Hunk #2 FAILED at 9. 2 out of 2 hunks FAILED -- saving rejects to file qemu_mode/patches/elfload.diff.rej error: Unable to apply AFL patch
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-QluSO3/shellphish-afl/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-wpVEXT-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-QluSO3/shellphish-afl/
Any ideas?
Thank you!
We'll get to this eventually, in the meantime please use this wheel.
This was a weirdly complicated issue, but I think I've uploaded a fix. Can you verify it works on your end?
So tested: Ubuntu 18.04 TLS
Executing the following command will reproduce the problem:
pip install git+https://github.com/shellphish/fuzzer
Installing collected packages: future, ana, z3-solver, claripy, smmap2, gitdb2, GitPython, decorator, networkx, cooldict, dpkt-fix, capstone, mulpyplexer, ailment, unicorn, pycparser, cffi, archinfo, plumbum, rpyc, sortedcontainers, idalink, pefile, pyelftools, bitstring, pyvex, cle, progressbar, cachetools, futures, angr, shellphish-afl, shellphish-qemu, tqdm, fuzzer Running setup.py install for future ... done Running setup.py install for ana ... done Running setup.py install for claripy ... done Running setup.py install for networkx ... done Running setup.py install for cooldict ... done Running setup.py install for dpkt-fix ... done Running setup.py install for mulpyplexer ... done Running setup.py install for ailment ... done Running setup.py install for pycparser ... done Running setup.py install for archinfo ... done Running setup.py install for rpyc ... done Running setup.py install for idalink ... done Running setup.py install for pefile ... done Running setup.py install for pyelftools ... done Running setup.py install for bitstring ... done Running setup.py install for cle ... done Running setup.py install for progressbar ... done Running setup.py install for shellphish-afl ... error Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-QluSO3/shellphish-afl/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-wpVEXT-record/install-record.txt --single-version-externally-managed --compile: running install running build Setting up AFL-other-arch Cloning into 'bin/afl-unix'... patching file qemu_mode/patches/elfload.diff Hunk #1 FAILED at 1. Hunk #2 FAILED at 9. 2 out of 2 hunks FAILED -- saving rejects to file qemu_mode/patches/elfload.diff.rej error: Unable to apply AFL patch
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-QluSO3/shellphish-afl/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-wpVEXT-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-QluSO3/shellphish-afl/
Any ideas?
Thank you!