Skip to content

ASan cgroups limit_memory script not working #20

Description

@heinosasshallik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions