diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-05-15 17:36:42 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-05-15 17:53:54 -0400 |
| commit | c579c0f78a39af7441e3aac5d640825f2fcc50d9 (patch) | |
| tree | 9d02852dddd603d49895c5133e4b9f0c7844d90f /view/pe/peview.h | |
| parent | 140f7c442883f815f5cfdddd673dca03cc87004f (diff) | |
Initial parsing of PE resources
Diffstat (limited to 'view/pe/peview.h')
| -rw-r--r-- | view/pe/peview.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/view/pe/peview.h b/view/pe/peview.h index 34e1099d..f9f2ed08 100644 --- a/view/pe/peview.h +++ b/view/pe/peview.h @@ -420,6 +420,30 @@ namespace BinaryNinja uint32_t Age; }; + struct PEResourceDirectoryTable + { + uint32_t characteristics; + uint32_t timeDateStamp; + uint16_t majorVersion; + uint16_t minorVersion; + uint16_t numNameEntries; + uint16_t numIdEntries; + }; + + struct PEResourceDirectoryEntry + { + uint32_t id; + uint32_t offset; + }; + + struct PEResourceDataEntry + { + uint32_t dataRva; + uint32_t dataSize; + uint32_t dataCodePage; + uint32_t reserved; + }; + class PEView: public BinaryView { bool m_parseOnly, m_backedByDatabase; |
