Author: fireball
Date: Thu Jun 28 13:26:05 2007
New Revision: 27301
URL:
http://svn.reactos.org/svn/reactos?rev=27301&view=rev
Log:
- 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).
Modified:
trunk/reactos/lib/rossym/frommem.c
Modified: trunk/reactos/lib/rossym/frommem.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rossym/frommem.c?rev=2…
==============================================================================
--- trunk/reactos/lib/rossym/frommem.c (original)
+++ trunk/reactos/lib/rossym/frommem.c Thu Jun 28 13:26:05 2007
@@ -77,7 +77,7 @@
}
/* Load it */
- return RosSymCreateFromRaw((char *) ImageStart + SectionHeader->PointerToRawData,
+ return RosSymCreateFromRaw((char *) ImageStart + SectionHeader->VirtualAddress,
SectionHeader->SizeOfRawData, RosSymInfo);
}