AFLplusplus / AFLplusplus/LibAFL

libafl_ar and libafl_cc automatic configurations mechanism doesn't support response files.

Open
#3,391 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
2.6k
Forks
481
Avg merge
2d 30m
Merged PRs (30d)
16

Description

**Describe the bug**
Modern toolchain components support 'response files', `@`-prefixed arguments which are names of files including additional command line arguments.

The logic which replaces e.g. `xxx.o` with `xxx.coverage.o` in libafl_cc and libafl_ar, when using multiple configurations, does not know about response files, and so projects which use them in their build systems produce incorrect compilation results.

We should refactor the libafl_cc crate to fully support response files.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.