Closed Bug 1765546 Opened 4 years ago Closed 4 years ago

Add AFL instrumentation toolchain.

Categories

(Firefox Build System :: Toolchains, task)

x86_64
Linux
task

Tracking

(firefox102 fixed)

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: truber, Assigned: truber)

References

Details

Attachments

(1 file)

AFL++ instrumentation is needed for some fuzzing builds. afl-clang-fast (and ++) wraps clang and injects the necessary instrumentation for fuzzing with AFL++ or Nyx.

afl-clang-fast uses AFL_CC (and AFL_CXX) to point at the underlying compiler, but it will default to checking the compiler that was used to compile itself. In Firefox-CI, the path to clang should be constant between builds, so setting AFL_CC isn't necessary.

Attachment #9273121 - Attachment description: Bug 1765546 - Add AFL++ instrumentation toolchain r?decoder! → Bug 1765546 - Add AFL++ instrumentation toolchain r?glandium!
Pushed by choller@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/864fab531300 Add AFL++ instrumentation toolchain r=decoder,firefox-build-system-reviewers,glandium
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
Blocks: 1768572
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: