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

Improvement/aflgo support #1

Closed

Conversation

adrianherrera
Copy link
Member

AFLGo support 🎉

A few notes for testing:

You'll need to change the following in the Dockerfile:

  • git clone --depth 1 https://github.com/aflgo/aflgo fuzzers/aflgo to git clone --depth 1 --single-branch --branch magma-support https://github.com/adrianherrera/aflgo fuzzers/aflgo. Currently there is an issue in the upstream Makefile that means AFL won't build using the version of clang used in the Docker container. I've made a PR and the authors are aware, just waiting for it to be merged.
  • git clone --depth 1 --recurse-submodules https://github.com/HexHive/magma.git to git clone --depth 1 --single-branch --branch improvement/aflgo-support --recurse-submodules https://github.com/adrianherrera/magma.git, otherwise the version of Magma in the container is not going to have AFLGo support 🙂

I managed to fix that annoying poppler CMake C[XX]FLAGS bug when compiling with clang: I just moved the commit one forward because the poppler authors had also realized their mistake so fixed it straight away. Nothing else changes by moving the commit forward (only a CMake file is changed), so nothing can break.

This commit does not override user-defined CMAKE_C[XX]_FLAGS for clang,
which is a bug that was introduced in the current commit that you've
chosen for poppler.

Fortunately, they fixed it one commit later and nothing else is changed.
Makes it easier if I'm running things on my local machine (i.e., not in
the Docker container)
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

Successfully merging this pull request may close these issues.

2 participants