Autor Beitrag
SAiBOT
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 323
Erhaltene Danke: 6

XP SP2; 7
D7; D2009
BeitragVerfasst: Mo 09.05.11 16:33 
Hallo,
ich komme einfach nicht darauf, wie die Section Grössen korrekt berechnet werden. Bisher habe ich immer angenommen das die Sectiongrösse durch SizeofRawData im Section Header bestimmt wird. Das kommt aber irgendwie nicht hin. Im Anhang mal ein Bild... wo kommt da der 0xB5000 Wert her, wenn nicht aus dem Section-Header?
Btw: Warum unterscheidet sich VirtualSize von SizeofRawData?
Einloggen, um Attachments anzusehen!
_________________
Debuggers don't remove bugs, they only show them in slow-motion.
SAiBOT Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 323
Erhaltene Danke: 6

XP SP2; 7
D7; D2009
BeitragVerfasst: Mo 16.05.11 23:03 
Des Räsels Lösung:

Zitat:
Table 3. IMAGE_OPTIONAL_HEADER Fields [...] DWORD SectionAlignment When mapped into memory, each section is guaranteed to start at a virtual address that's a multiple of this value. For paging purposes, the default section alignment is 0x1000. [...]

_________________
Debuggers don't remove bugs, they only show them in slow-motion.