Open davidleejy opened 5 years ago
Solved
Turns out afl-forkserver
has checks that would abort the program if /proc/sys/kernel/core_pattern
and /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
were not set to expected values. dummy_simple_bits.py
pipes afl-forkserver
's output to /dev/null so messages concerning the abort wouldn't show. Writing expected values to core pattern and cpu freq scaling governor solves this.
Just FYI:
As of writing this, core pattern file is expected to contain value core
.
As of writing this, all cpus' scaling governor files are expected to contain value performance
I also encountered the same issue, but when I run the program in a virtual machine, I found that the file "/sys/devices/system/cpu/cpu*/cpufreq/scaling_governor" does not exist. How can I solve it? And by the way, did you run the program on a virtual machine or a physical machine?
Hello. Nice work wrapping AFL as an OpenAI gym environment :)
I am writing about a shared memory error that seems like a simple bug for someone who's familiar with the inter-process communication libraries ("posix_ipc" I think) used in this code base.
What I did
make all
for gym_fuzz1ng/gym_fuzz1ng/mods/Makefile.python dummy_simple_bits.py
which gave the following