Closed Bug 1330533 Opened 9 years ago Closed 9 years ago

Simplify the LibFuzzer setup in Gecko

Categories

(Core :: Fuzzing, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(4 files)

No description provided.
Please note that I don't know how to test this. I just verified this builds (after fixing bug 1330481). Please ensure that I'm not breaking anything with this patch queue.
Rebased on top of bug 1306327.
Err, actually, this needs to be rebased on top of bug 1306329, too.
Comment on attachment 8826091 [details] Bug 1330533 - Remove XRE_LibFuzzerGetFuncs. https://reviewboard.mozilla.org/r/104132/#review106404 Applied all patches and verified that running with LibFuzzer still works (using the Image testing code we have already as a separate patch). The patches seem straightforward except patch 2 of 4: I was actually sure that we had a reason for calling back into the Firefox binary, but I can't seem to find that reason now and the patches work just fine :)
Attachment #8826091 - Flags: review?(choller) → review+
Can you r+ all the patches?
Flags: needinfo?(choller)
Comment on attachment 8826090 [details] Bug 1330533 - Use FuzzerDriver directly instead of wrapping it in a libfuzzer_main function. https://reviewboard.mozilla.org/r/104130/#review107004
Attachment #8826090 - Flags: review?(choller) → review+
Comment on attachment 8826089 [details] Bug 1330533 - Pass LibFuzzerInitFunc and LibFuzzerTestingFunc to libfuzzer_main. https://reviewboard.mozilla.org/r/104128/#review107006
Attachment #8826089 - Flags: review?(choller) → review+
Comment on attachment 8826088 [details] Bug 1330533 - Remove argc/argv arguments to XRE_LibFuzzerSetMain. https://reviewboard.mozilla.org/r/104126/#review107008
Attachment #8826088 - Flags: review?(choller) → review+
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/7d3a760bda8f Remove argc/argv arguments to XRE_LibFuzzerSetMain. r=decoder https://hg.mozilla.org/integration/autoland/rev/b22cd126ae14 Pass LibFuzzerInitFunc and LibFuzzerTestingFunc to libfuzzer_main. r=decoder https://hg.mozilla.org/integration/autoland/rev/7fc26210eee5 Use FuzzerDriver directly instead of wrapping it in a libfuzzer_main function. r=decoder https://hg.mozilla.org/integration/autoland/rev/e685016e2597 Remove XRE_LibFuzzerGetFuncs. r=decoder
Flags: needinfo?(choller)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: