Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LiptonB opened this issue Jun 13, 2018 · 0 comments
Open

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

LiptonB opened this issue Jun 13, 2018 · 0 comments

Comments

@LiptonB
Copy link
Contributor

LiptonB commented Jun 13, 2018

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
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant