Bootlegging in jsrtfuzzing.cpp
Categories
(Core :: JavaScript Engine: JIT, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: Waldo, Assigned: Waldo)
Details
Attachments
(2 files)
jsrtfuzzing.cpp
uses four different symbols that are static in js.cpp
, and any of this only works because jsrtfuzzing.cpp
is unified with js.cpp
.
Assignee | ||
Comment 1•5 years ago
|
||
Pushed by jwalden@mit.edu: https://hg.mozilla.org/integration/autoland/rev/8648a5cd07f3 Fix bootlegging errors in jsrtfuzzing.cpp. r=decoder
Comment 3•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Assignee | ||
Comment 4•5 years ago
|
||
Previous patch wasn't quite enough to address this -- partly because I forgot to add the necessary #include "shell/jsshell.h"
, whoops. This patch adds that, but also it beefs up some of the existing code by removing namespace
blocks so that precisely where symbols come from can be a little clearer.
(Note that names inside a function within a namespace, will try to find those names inside that namespace -- so the shell::sArgv
doesn't have to be qualified because it appears inside a function in js::shell
. But I think it's helpful to see some unnecessary qualification to indicate precisely where the name is coming from.)
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
FWIW this should be the last needed change, try-run of this patch (minus negligible tweaking) came up green:
Updated•5 years ago
|
Pushed by jwalden@mit.edu: https://hg.mozilla.org/integration/autoland/rev/1a256ac8701b Actually finish the job of making rtfuzzing not bootleg stuff. r=decoder
Comment 8•5 years ago
|
||
bugherder |
Description
•