Created
January 19, 2010 03:50
-
-
Save samsonjs/280643 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Section < CStruct | |
string :sectname, 16 | |
string :segname, 16 | |
uint32 :addr | |
uint32 :size | |
uint32 :offset | |
uint32 :align | |
uint32 :reloff | |
uint32 :nreloc | |
uint32 :flags | |
uint32 :reserved1 | |
uint32 :reserved2 | |
end | |
# Values for the type bitfield of the flags field (mask 0xff). | |
# (incomplete) | |
S_REGULAR = 0x0 | |
S_ZEROFILL = 0x1 | |
S_CSTRING_LITERALS = 0x2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment