Open Bug 985700 Opened 10 years ago Updated 2 months ago

Add a unit test for bug 972671

Categories

(Core :: General, defect)

x86_64
Windows 7
defect

Tracking

()

People

(Reporter: away, Unassigned)

References

Details

Attachments

(1 obsolete file)

Prototype in https://bug972671.bugzilla.mozilla.org/attachment.cgi?id=8375954

The "jmp bugtrap" needs to be a 5-byte jump in order to test the bug that was fixed. As a hack, I put in 256 nop's so that the assembler was not able to use a short jump, but that's ugly. It would be better to put this in an .asm file and do some "db" magic. And then we could run it on 64-bit as well, since MSVC doesn't allow inline assembly there.

Unfortunately, adding .asm files to unit tests disqualifies them from the SIMPLE_PROGRAMS pattern, so this is not as straightforward as I thought...
Severity: normal → S3
Attachment #9384814 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: