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)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: edwsmith, Assigned: edwsmith)

References

Details

Attachments

(1 file)

abcdump test/acceptance/mops/mops.abc_ tested: li8 si8 not tested: li16 li32 lf32 lf64 si16 si32 sf32 sf64 sxi1 sxi8 sxi16
Priority: -- → P1
Flags: in-testsuite?
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...
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
Blocks: 478870
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)
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?
Attachment #363669 - Flags: review?(lhansen) → review+
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+
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Resolved fixed engineering / work item that has been pushed. Setting status to verified.
Status: RESOLVED → VERIFIED
Removing in-testsuite flag after verifying with Edwin Smith that no test media needed.
Flags: in-testsuite?
No longer blocks: 458279
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: