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

Help compiling ModSecurity with AFL #3329

Open
akama-aka opened this issue Jan 18, 2025 · 1 comment
Open

Help compiling ModSecurity with AFL #3329

akama-aka opened this issue Jan 18, 2025 · 1 comment

Comments

@akama-aka
Copy link

Hello, I'd like to use AFL Fuzzer within ModSecurity. Sadly AFL doesnt come with my Operating System so I've to compile it myself with AFL by Google and AFLPlusPlus by AFLPlusPlus. Sadly the building at ModSecurity always fail with the same error as stated in #2431 . Can someone give me a hand using it?

@airween
Copy link
Member

airween commented Feb 12, 2025

Hi @akama-aka,

if you get exactly same message as in issue you mentioned, I'd try this:

(quote from the mentioned issue)

after running command export CXX=afl-clang-fast++ and finally make.

I'd run the export command before the configure. Based on error message, the build system still uses g++, not the necessary afl-clang-fast++, and it seems that g++ does not provide value 4 for -fsanitize-coverage.

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

2 participants