SECs can be mapped or unmapped, a mapped SEC occupies address space inside the IMG. Unmapped SECs often contain debug and relocation information.
APIs from this group are available in any thread, including any internal thread spawned by the tool.
Iteration idioms:
// Forward pass over all sections in an image for( SEC sec= IMG_SecHead(img); SEC_Valid(sec); sec = SEC_Next(sec) ) // Reverse pass over all sections in animage for( SEC sec= IMG_SecTail(img); SEC_Valid(sec); sec = SEC_Prev(sec) )
enum LEVEL_CORE::SEC_TYPE |
SEC types
ADDRINT LEVEL_PINCLIENT::SEC_Address | ( | SEC | sec | ) |
const VOID* LEVEL_PINCLIENT::SEC_Data | ( | SEC | sec | ) |
If section does not have raw data the function returns 0.
IMG LEVEL_PINCLIENT::SEC_Img | ( | SEC | sec | ) |
SEC LEVEL_PINCLIENT::SEC_Invalid | ( | ) |
BOOL LEVEL_PINCLIENT::SEC_IsExecutable | ( | SEC | sec | ) |
BOOL LEVEL_PINCLIENT::SEC_IsReadable | ( | SEC | sec | ) |
BOOL LEVEL_PINCLIENT::SEC_IsWriteable | ( | SEC | sec | ) |
BOOL LEVEL_PINCLIENT::SEC_Mapped | ( | SEC | sec | ) |
const string& LEVEL_PINCLIENT::SEC_Name | ( | SEC | sec | ) |
SEC LEVEL_PINCLIENT::SEC_Next | ( | SEC | sec | ) |
SEC LEVEL_PINCLIENT::SEC_Prev | ( | SEC | sec | ) |
RTN LEVEL_PINCLIENT::SEC_RtnHead | ( | SEC | sec | ) |
RTN LEVEL_PINCLIENT::SEC_RtnTail | ( | SEC | sec | ) |
USIZE LEVEL_PINCLIENT::SEC_Size | ( | SEC | sec | ) |
SEC_TYPE LEVEL_PINCLIENT::SEC_Type | ( | SEC | sec | ) |
BOOL LEVEL_PINCLIENT::SEC_Valid | ( | SEC | x | ) |