Closed FynnMazurkiewicz closed 7 years ago
ImportError: /home/redacted/.local/lib/python2.7/site-packages/afl.so: failed to map segment from shared object
Sounds like perhaps there's not enough virtual memory to mmap this shlib?
afl-fuzz sets up quite a tight memory limit, so maybe that's it.
Could you try again with a higher limit (say, -m 100
) and see if it helps?
Wow. Actually had some issues with this before and even tried -m
, but that must have been with a different run config. Thank you lots!
I knew it was me. Stupid me.
Cheers!
Hi there.
First of, thank you for providing the missing link between Python and AFL.
I've recently taken a deep dive into AFL and am now stuck at fuzzing one of my targets. Even thought I am almost certain it's an error on my side, I thought I would open this issue.
Here's the code in question:
Expected Output (as found in log.txt):
Output (run with
/usr/bin/python file.py
):Output (run with py-afl-fuzz -i input -o output -- /usr/bin/python file.py):
I don't know which I find more confusing: The fact that I get the error, or the fact that I only get it when using py-afl. Either way, it's another one of those moments, that shows me just how much of a beginner I am.
Right now, I am absolutely clueless. I've been googling my eyes out and spent half of my New Years Eve being really mad at my computer. No good times.
Any ideas? Happy new year by the way!