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

ASan cgroups limit_memory script not working #20

Open
heinosasshallik opened this issue Jan 27, 2022 · 0 comments
Open

ASan cgroups limit_memory script not working #20

heinosasshallik opened this issue Jan 27, 2022 · 0 comments

Comments

@heinosasshallik
Copy link

heinosasshallik commented Jan 27, 2022

I'm trying to complete the heartbleed challenge and the limit_memory.sh script doesn't work as the ASNWERS.md file suggests.

First of all, the script is located in the ~/AFLplusplus/utils/asan_cgroups/ directory, and not ~/AFLplusplus/examples/asan_cgroups/, like the answers file suggests.

Second of all, when you do try to run the script, then it fails:

sudo ~/AFLplusplus/utils/asan_cgroups/limit_memory.sh -u fuzzer afl-fuzz -i in -o out ./handshake

cgcreate: libcgroup initialization failed: Cgroup is not mounted

I also tried running it in the official AFL++ docker image, but ran into the same problem.

I don't know too much about cgroups, so I'm not sure what's going wrong. I'm running AFL++ from a privileged docker container, from inside a Virtualbox VM, if it makes any difference.

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