[Webkit-unassigned] [Bug 90099] New: x86 disassembler confuses immediates with addresses

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 27 14:35:10 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90099

           Summary: x86 disassembler confuses immediates with addresses
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: fpizlo at apple.com


Consider the two following x86 instructions, written out verbosely:

1) load from address 0x12345 into register RAX
2) move immediate 0x12345 into register RAX

In AT&T syntax, the two should be written thus:

1) mov 0x12345, %rax
2) mov $0x12345, %rax

But our x86 disassembler (udis86) incorrectly writes both as "mov 0x12345, %rax".

In short, it omits the "$" prefix for immediates.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list