www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8263] New: wrong offset in IMAGE_DEBUG_DIRECTORY

http://d.puremagic.com/issues/show_bug.cgi?id=8263

           Summary: wrong offset in IMAGE_DEBUG_DIRECTORY
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optlink
        AssignedTo: nobody puremagic.com
        ReportedBy: dawg dawgfoto.de



While tracking down an issue with dbghelp.dll I found that the AddressOfRawData
offset in the IMAGE_DEBUG_DIRECTORY header is 4 bytes to small.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms680307(v=vs.85).aspx

Either we need to add 4 to AddressOfRawData or we need to shift the CodeView
information and reduce PointerToRawData accordingly.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jun 18 2012