Closed
Bug 1446583
Opened 6 years ago
Closed 6 years ago
[WebRTC] Update location for setting trace-pc coverage flags for LibFuzzer
Categories
(Core :: WebRTC: Signaling, enhancement, P3)
Core
WebRTC: Signaling
Tracking
()
RESOLVED
FIXED
mozilla61
Tracking | Status | |
---|---|---|
firefox61 | --- | fixed |
People
(Reporter: posidron, Assigned: posidron)
Details
Attachments
(1 file, 1 obsolete file)
3.45 KB,
patch
|
drno
:
superreview+
|
Details | Diff | Splinter Review |
Something must have changed recently in moz.build files which prevented the WebRTC LibFuzzer's in our tree from working correctly / from being covered.
Attachment #8959751 -
Flags: superreview?(drno)
Attachment #8959751 -
Flags: review?(drno)
Comment 1•6 years ago
|
||
Comment on attachment 8959751 [details] [diff] [review] libfuzzer.coverage.flags.diff Review of attachment 8959751 [details] [diff] [review]: ----------------------------------------------------------------- LGTM
Attachment #8959751 -
Flags: superreview?(drno)
Attachment #8959751 -
Flags: superreview+
Attachment #8959751 -
Flags: review?(drno)
Attachment #8959751 -
Flags: review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Comment 2•6 years ago
|
||
This patch doesn't look right to me. You need the instrumentation flags in every moz.build file that is used to build the target source code, not just those used to build the fuzzing entry point.
Keywords: checkin-needed
Comment 3•6 years ago
|
||
For mtransport, you probably need it in media/mtransport/build/moz.build because that defines SOURCES. The stuff in media/mtransport/third_party/ worries me because that seems to use GYP and while I see the flag here https://searchfox.org/mozilla-central/rev/6e96a3f1e44e286ddae5fdafab737709741d237a/media/mtransport/third_party/nICEr/nicer.gyp#242 I'm not sure if this is working properly. You should probably make a verbose build and log all the output, then check that all of this third_party stuff is built properly with instrumentation. For SDP, you need to add it also to media/webrtc/signaling/src/sdp/moz.build because again, that defines SOURCES to be built.
Assignee | ||
Comment 4•6 years ago
|
||
Previously: * Added flags to 'media/mtransport/fuzztest/moz.build' * Added flags to 'media/webrtc/signaling/fuzztest/moz.build' Additionally: * Added flags to 'media/mtransport/build/moz.build' * Added flags to 'media/webrtc/signaling/src/sdp/moz.build' * Added additionally '-fsanitize-coverage=trace-cmp' to: - 'media/webrtc/signaling/fuzztest/moz.build' - 'media/webrtc/signaling/src/sdp/moz.build' * Undo the removal of the flags in: - media/mtransport/moz.build - media/webrtc/moz.build * Verified that 'media/mtransport/third_party/' gets compiled with the provided flags.
Attachment #8959751 -
Attachment is obsolete: true
Attachment #8959842 -
Flags: superreview?(drno)
Comment 5•6 years ago
|
||
Comment on attachment 8959842 [details] [diff] [review] libfuzzer.coverage.flags.diff LGTM
Attachment #8959842 -
Flags: superreview?(drno) → superreview+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by rgurzau@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d5efd6828875 Update location for setting trace-pc coverage flags for LibFuzzer r=drno
Keywords: checkin-needed
Updated•6 years ago
|
Assignee: nobody → cdiehl
Rank: 25
Component: WebRTC → WebRTC: Signaling
Priority: -- → P3
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d5efd6828875
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in
before you can comment on or make changes to this bug.
Description
•