shellphish / shellphish-afl

A pip wrapper around AFL.
BSD 2-Clause "Simplified" License
82 stars 52 forks source link

shellphish-afl on PyPI out of sync with afl-other-arch #12

Open LiptonB opened 6 years ago

LiptonB commented 6 years ago

The version of shellphish-afl on PyPI is out of date relative to the code in afl-other-arch, so when shellphish-afl is installed with pip the patch does not apply cleanly. Updating the version of shellphish-afl on PyPI should fix the problem.

$ virtualenv shellphish-afl-venv
Running virtualenv with interpreter /usr/bin/python2
New python executable in /home/ben/shellphish-afl-venv/bin/python2
Also creating executable in /home/ben/shellphish-afl-venv/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
$ source shellphish-afl-venv/bin/activate
(shellphish-afl-venv) $ pip install shellphish-afl
Collecting shellphish-afl
  Using cached https://files.pythonhosted.org/packages/37/5b/069984ef05eed213e1c66814e364a23afd2c538965dd9b4fb88c8a858aad/shellphish-afl-1.1.tar.gz
Building wheels for collected packages: shellphish-afl
  Running setup.py bdist_wheel for shellphish-afl ... error
  Complete output from command /home/ben/shellphish-afl-venv/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-gXI13f/shellphish-afl/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-XZLLRq --python-tag cp27:
  running bdist_wheel
  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

  ----------------------------------------
  Failed building wheel for shellphish-afl
  Running setup.py clean for shellphish-afl
Failed to build shellphish-afl
...