Closed Bug 1838607 Opened 3 years ago Closed 3 years ago

Link libxul as dependent when building with/for AFL++

Categories

(Firefox Build System :: General, enhancement)

x86_64
Linux
enhancement

Tracking

(firefox117 fixed)

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: decoder, Assigned: decoder)

Details

Attachments

(1 file)

The AFL++ runtime has issues with observing coverage in code that is added through dlopen after its runtime has initialized internally. Since most of the code we care about is in libxul and dependencies, :nika suggested to link libxul directly and provided a PoC patch for this.

I'll do a try run with this to ensure it doesn't break any other platforms, but only the signature change to GetBootstrap could affect regular builds at all.

Attachment #9339271 - Attachment description: WIP: Bug 1838607 - Link libxul as dependent for AFL++. → Bug 1838607 - Link libxul as dependent for AFL++. r?glandium
Pushed by choller@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/68d7c1901adc Link libxul as dependent for AFL++. r=firefox-build-system-reviewers,glandium
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: