Some sections are not properly parsed #1
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Hello !
After playing with the library, it seems the private field
sectionTable
is properly filled with the sections of the opened program, but the collectionoptionalHeader.tables
fails to return them all. A quick example on Windows:The output is the following:
Export Directory:
Import Directory:
Segment name: name: .rdata
Is code: false
Base address: pointer to raw data: 4096 (0x1000)
Size: size of raw data: 3584 (0xe00)
Resource Directory:
Segment name: name: .rsrc
Is code: false
Base address: pointer to raw data: 8704 (0x2200)
Size: size of raw data: 18432 (0x4800)
Exception Directory:
Segment name: name: .pdata
Is code: false
Base address: pointer to raw data: 8192 (0x2000)
Size: size of raw data: 512 (0x200)
Security Directory:
Base Relocation Table:
Segment name: name: .reloc
Is code: false
Base address: pointer to raw data: 27136 (0x6a00)
Size: size of raw data: 512 (0x200)
Debug Directory:
Description String:
Machine Value (MIPS GP):
TLS Directory:
Load Configuration Directory:
But a couple of sections are missing, notably the
.text
one. Could you please have a look to it ? Also, I'm wondering why you have chosen to not expose publicly the COFF header, as well as this fieldsectionTable
.Thanks !
Sure, I'll look at it - might take a while since i've got a lot going on right now.
No reason why it's not exposed, i just didn't think about it.