Skip to content

Add explicit C compiler support (issue #337)#446

Open
drs546nau wants to merge 1 commit intotrailofbits:masterfrom
drs546nau:337-explicit-C-compiler
Open

Add explicit C compiler support (issue #337)#446
drs546nau wants to merge 1 commit intotrailofbits:masterfrom
drs546nau:337-explicit-C-compiler

Conversation

@drs546nau
Copy link
Copy Markdown

Closes issue #337

  • Added COMPILER_C key to EXECUTABLES in afl.py
  • Added compiler_c_exe attribute initialized from EXECUTABLES in base.py
  • Resolved compiler_c_exe in _set_executables() in fuzz.py
  • Detect .c vs .cpp in compile() and select correct compiler and -std flag
  • Falls back to stripping ++ from compiler_exe when COMPILER_C
  • Added unit tests in tests/test_compiler_c_exe.py

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 25, 2026

CLA assistant check
All committers have signed the CLA.

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