Closed SpaceMoehre closed 3 years ago
I was facing the same problem.
After installing lsb-release
in the docker, the qemu scripts will apply the patch successfully.
actually fixes it
I have the same problem: memfd patch isn't applied. Attempting to install it in WSL 2 Ubuntu 22.04, with Python 3 virtual env
I'm trying to setup the shellphuzz but it appears as the pip installation does not apply the memfd patch necessary for afl qemu mode. My Dockerfile:
It runs without problems until it tries to execute afl's build_qemu_support.sh script:
The error code originates from the missing memfd patch. Even though the memfd.diff is included in this repo, it looks like its not patched:
EDIT:
when i normally build qemu support the patching looks more like this: