Skip to main content

Module section_flags

Module section_flags 

Source
Expand description

Standard PE32 section characteristics. Kept here so callers don’t have to memorize the bit values.

Constants§

CODE
0x00000020 — section contains executable code (CNT_CODE).
DISCARDABLE
0x02000000 — section can be discarded after load (.reloc, .debug).
EXECUTE
0x20000000 — section is executable (CNT_CODE in MEM_EXECUTE form).
READ
0x40000000 — section is readable.
WRITE
0x80000000 — section is writable (.data, .bss).