Closed
Bug 479456
Opened 16 years ago
Closed 16 years ago
abcdump doesn't show all the mops opcodes that the verifier sees
Categories
(Tamarin Graveyard :: Virtual Machine, defect, P1)
Tamarin Graveyard
Virtual Machine
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: edwsmith, Assigned: edwsmith)
References
Details
Attachments
(1 file)
4.90 KB,
patch
|
lhansen
:
review+
lhansen
:
review+
|
Details | Diff | Splinter Review |
abcdump test/acceptance/mops/mops.abc_
tested:
li8
si8
not tested:
li16
li32
lf32
lf64
si16
si32
sf32
sf64
sxi1
sxi8
sxi16
Assignee | ||
Updated•16 years ago
|
Priority: -- → P1
Updated•16 years ago
|
Flags: in-testsuite?
Comment 1•16 years ago
|
||
Are we positive that's accurate? I have a (vague) memory of finding a byte-swap bug in MOPS using that testcase, which wouldn't turn up if we were only using the li8/si8 ops...
Assignee | ||
Comment 2•16 years ago
|
||
i stand corrected, abcdump is broken. subject edited.
Summary: No test cases exist for 11/13 MOPS opcodes → abcdump doesn't show all the mops opcodes that the verifier sees
Assignee | ||
Comment 3•16 years ago
|
||
add -abs option to produce abcasm compatible output
refactor doExtract* flags to make them orthogonal. doExtractAbs=true means generate abcasm compatible output, doExtractInfo means generate extra info. (both default true).
if both are enabled, infoPrint() generates // in front of extra info.
fixed bug where not every function referenced by OP_newfunction would be dumped. Now, we dump all methods (script, instance, class methods), followed by all other functions. It is possible that even methods never referenced by any trait or any OP_newfunction will also be dumped.
Functions not referenced by a Trait entry don't have a name, and used to print as "function undefined(...)", now they print as "function(...)", like anonymous functions in js.
InstanceInfo, ClassInfo, and MethodBodies stats now includes both count and size.
Assignee: nobody → edwsmith
Attachment #363669 -
Flags: review?(tharwood)
Attachment #363669 -
Flags: review?(lhansen)
Comment 4•16 years ago
|
||
Review + (bugzilla won't let me change the setting directly)
- Seems like the dump flags setttings are headed for difficulties, it's already necessary to cross-reference to see which setting turns on which flag.
- Some tab-expansion issues
- 917, dumpPrint always preceeded by an abcasm EOL comment -- should only do when -abs flag is on?
Updated•16 years ago
|
Attachment #363669 -
Flags: review?(lhansen) → review+
Comment 5•16 years ago
|
||
Comment on attachment 363669 [details] [diff] [review]
ensure every method is dumped, other tweaks
(setting tom's flag for him)
Attachment #363669 -
Flags: review?(tharwood) → review+
Assignee | ||
Comment 6•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 7•15 years ago
|
||
Resolved fixed engineering / work item that has been pushed. Setting status to verified.
Status: RESOLVED → VERIFIED
Comment 8•15 years ago
|
||
Removing in-testsuite flag after verifying with Edwin Smith that no test media needed.
Flags: in-testsuite?
You need to log in
before you can comment on or make changes to this bug.
Description
•