Code coverage missing for RLBoxed code
Categories
(Core :: Security: RLBox, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: marco, Assigned: marco)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Source code belonging to RLBoxed libraries is showing up as uncovered. We need to find a way to make sure RLBoxed code is considered by our code coverage machinery.
I'm not sure how the RLBox build system works, if it generates new source files we'd need to find a way to map them back to the original (similarly to what we should do for IDL files, bug 1465027, but in the RLBox case it's more important).
A quick fix could be to build the code coverage build with wasm-sandboxing disabled. I'm not sure if there is any downside in doing that.
Comment 1•3 years ago
|
||
The usual instrumentation for code coverage is based on debug information (which is not the case for source-based ccov). So a solution could be to try to generate the correct debug info to reflect the origins of the code but I've no idea if it's something easy or not.
I don't know if it could impact negatively debug experience (with gdb, lldb, ...).
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Updated•3 years ago
|
Comment 4•3 years ago
|
||
bugherder |
Description
•