spolu / gym_fuzz1ng Goto Github PK
View Code? Open in Web Editor NEWOpenAI Gym environment for binary fuzzing based on afl
OpenAI Gym environment for binary fuzzing based on afl
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
~/code/gym_fuzz1ng$ python ./test/dummy_simple_bits.py
Starting afl-forkserver...
Traceback (most recent call last):
File "./test/dummy_simple_bits.py", line 62, in <module>
main()
File "./test/dummy_simple_bits.py", line 7, in main
env = gym.make('FuzzSimpleBits-v0')
File "/home/dl/anaconda3/envs/gymfuzz/lib/python3.5/site-packages/gym/envs/registration.py", line 167, in make
return registry.make(id)
File "/home/dl/anaconda3/envs/gymfuzz/lib/python3.5/site-packages/gym/envs/registration.py", line 119, in make
env = spec.make()
File "/home/dl/anaconda3/envs/gymfuzz/lib/python3.5/site-packages/gym/envs/registration.py", line 86, in make
env = cls(**self._kwargs)
File "/home/dl/anaconda3/envs/gymfuzz/lib/python3.5/site-packages/gym_fuzz1ng/envs/fuzz_simple_bits_env.py", line 16, in __init__
super(FuzzSimpleBitsEnv, self).__init__()
File "/home/dl/anaconda3/envs/gymfuzz/lib/python3.5/site-packages/gym_fuzz1ng/envs/fuzz_base_env.py", line 16, in __init__
self.engine = coverage.Afl(self._target_path, args=self._args)
File "/home/dl/anaconda3/envs/gymfuzz/lib/python3.5/site-packages/gym_fuzz1ng/coverage/coverage.py", line 100, in __init__
self.fc = ForkClient(target_path, args)
File "/home/dl/anaconda3/envs/gymfuzz/lib/python3.5/site-packages/gym_fuzz1ng/coverage/forkclient.py", line 107, in __init__
_shm = SharedMemory(SHARED_MEM_NAME)
posix_ipc.ExistentialError: No shared memory exists with the specified name
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.