30 #if !defined(_GHSSecInfo_h_) 31 #define _GHSSecInfo_h_ 33 #include "StELFFile.h" 34 #include "smart_ptr.h" 93 #endif // _GHSSecInfo_h_ ELF section header.
Definition: apps/elftosb/common/ELF.h:135
unsigned m_entryCount
Number of entries in m_info.
Definition: src/blfwk/GHSSecInfo.h:88
Wrapper around the GHS-specific .secinfo ELF section.
Definition: src/blfwk/GHSSecInfo.h:54
bool m_hasInfo
Whether .secinfo is present in the ELF file.
Definition: src/blfwk/GHSSecInfo.h:85
Definition: BlfwkErrors.h:16
bool hasSecinfo() const
Returns true if there is a .secinfo section present in the ELF file.
Definition: src/blfwk/GHSSecInfo.h:61
GHSSecInfo(StELFFile *elf)
Default constructor.
Definition: src/blfwk/src/GHSSecInfo.cpp:22
bool isSectionFilled(uint32_t addr, uint32_t length)
Determines if a section should be filled.
Definition: src/blfwk/src/GHSSecInfo.cpp:65
The structure of one .secinfo entry.
Definition: src/blfwk/GHSSecInfo.h:74
uint32_t m_clearValue
Value to fill with.
Definition: src/blfwk/GHSSecInfo.h:77
Simple, standard smart pointer class that uses the array delete operator.
Definition: apps/elftosb/common/smart_ptr.h:121
uint32_t m_numBytesToClear
Number of bytes to fill.
Definition: src/blfwk/GHSSecInfo.h:78
Parser for Executable and Linking Format (ELF) files.
Definition: apps/elftosb/common/StELFFile.h:42
smart_array_ptr< ghs_secinfo_t > m_info
Pointer to the .secinfo entries. Will be NULL if there is no .secinfo section in the file...
Definition: src/blfwk/GHSSecInfo.h:87
uint32_t m_clearAddr
Address to start filling from.
Definition: src/blfwk/GHSSecInfo.h:76
StELFFile * m_elf
The parser object for our ELF file.
Definition: src/blfwk/GHSSecInfo.h:84