#include <rva.h>
Public Methods | |
| PeSection () | |
| PeSection (const PE_IMAGE_SECTION_HEADER §ion) | |
| void | operator= (const PE_IMAGE_SECTION_HEADER §ion) |
| bool | IsCode () const |
Public Attributes | |
| uint32_t | RvaSize |
| uint32_t | RvaAddress |
| uint32_t | RawSize |
| uint32_t | RawAddress |
Private Attributes | |
| uint32_t | Characteristics |
|
|
Definition at line 39 of file rva.h.
00039 {};
|
|
|
Definition at line 40 of file rva.h.
00040 { *this = section; };
|
|
|
Definition at line 42 of file rva.cpp. References Characteristics, and IMAGE_SCN_CNT_CODE. Referenced by ObjectModule::ObjectModule().
00043 {
00044 return (Characteristics & IMAGE_SCN_CNT_CODE) != 0;
00045 }
|
|
|
Definition at line 33 of file rva.cpp. References _PE_IMAGE_SECTION_HEADER::Characteristics, Characteristics, _PE_IMAGE_SECTION_HEADER::Misc, _PE_IMAGE_SECTION_HEADER::PointerToRawData, RawAddress, RawSize, RvaAddress, RvaSize, _PE_IMAGE_SECTION_HEADER::SizeOfRawData, and _PE_IMAGE_SECTION_HEADER::VirtualAddress.
00034 {
00035 RvaSize = section.Misc.VirtualSize;
00036 RvaAddress = section.VirtualAddress;
00037 RawSize = section.SizeOfRawData;
00038 RawAddress = section.PointerToRawData;
00039 Characteristics = section.Characteristics;
00040 }
|
|
|
|
|
|
Definition at line 46 of file rva.h. Referenced by CodeParser::ExcludeFileRange(), RVAFileTranslator::File2RVA(), ObjectModule::ObjectModule(), operator=(), RawDump(), and RVAFileTranslator::RVA2File(). |
|
|
Definition at line 45 of file rva.h. Referenced by CodeParser::ExcludeFileRange(), RVAFileTranslator::File2RVA(), ObjectModule::ObjectModule(), operator=(), and RawDump(). |
|
|
Definition at line 44 of file rva.h. Referenced by RVAFileTranslator::File2RVA(), ObjectModule::ObjectModule(), operator=(), RawDump(), and RVAFileTranslator::RVA2File(). |
|
|
Definition at line 43 of file rva.h. Referenced by ObjectModule::ObjectModule(), operator=(), and RVAFileTranslator::RVA2File(). |
1.2.15