Open Bug 1229602 Opened 9 years ago Updated 2 years ago

Evaluate clang SanitizerCover for gathering coverage of Firefox tests


(Testing :: Code Coverage, defect)



(Not tracked)


(Reporter: chmanchester, Unassigned)



Clang's new SanitizerCoverage tool looks very promising:

I'm particularly interested in -- the problem of losing coverage when a process is signalled is a problem in multi-process gecko.
FYI: For processes that use sandboxing, there's a hook for the sandboxing code to call so the coverage runtime can pre-open any files it needs, etc., before permissions are reduced.   I set that up for Linux (GeckoMediaPlugin) and B2G (content) a while ago, ifdef MOZ_ASAN, but I never tested it.  Mac and Windows I think don't have it at all yet, so there might be breakage there.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.