mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
- Fix symbols loading (PE sections are mapped now, not just read 1:1 from the disk, thus a need to use SectionHeader->VirtualAddress instead of SectionHeader->PointerToRawData).
svn path=/trunk/; revision=27301
This commit is contained in:
parent
1289745bf8
commit
13e2fd4bc6
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ RosSymCreateFromMem(PVOID ImageStart, ULONG_PTR ImageSize, PROSSYM_INFO *RosSymI
|
|||
}
|
||||
|
||||
/* Load it */
|
||||
return RosSymCreateFromRaw((char *) ImageStart + SectionHeader->PointerToRawData,
|
||||
return RosSymCreateFromRaw((char *) ImageStart + SectionHeader->VirtualAddress,
|
||||
SectionHeader->SizeOfRawData, RosSymInfo);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue