D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 8263 - wrong offset in IMAGE_DEBUG_DIRECTORY
Summary: wrong offset in IMAGE_DEBUG_DIRECTORY
Status: RESOLVED MOVED
Alias: None
Product: D
Classification: Unclassified
Component: tools (show other issues)
Version: D2
Hardware: x86 Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: DebugInfo, Optlink
Depends on:
Blocks:
 
Reported: 2012-06-18 20:43 UTC by Martin Nowak
Modified: 2020-04-09 08:38 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Martin Nowak 2012-06-18 20:43:44 UTC
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.
Comment 1 Rainer Schuetze 2019-08-24 06:42:33 UTC
still valid, but an optlink issue
Comment 2 Mathias LANG 2020-04-09 08:38:24 UTC
Moved to https://github.com/DigitalMars/optlink/issues/30