BearParser
Portable Executable parsing library (from PE-bear)
Loading...
Searching...
No Matches
parser
include
bearparser
pe
DataDirEntryWrapper.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
PENodeWrapper.h
"
4
5
class
PEFile
;
6
7
8
class
DataDirEntryWrapper
:
public
PENodeWrapper
9
{
10
public
:
11
IMAGE_DATA_DIRECTORY*
getDataDirectory
();
12
13
offset_t
getDirEntryAddress
();
14
bufsize_t
getDirEntrySize
(
bool
trimToExeSize=
false
);
15
int
getDirEntryType
() {
return
this->
entryType
; }
16
17
protected
:
18
DataDirEntryWrapper
(
PEFile
* pe, pe:: dir_entry v_entryType);
19
20
int
entryType
;
21
22
friend
class
PEFile
;
23
};
24
bufsize_t
uint32_t bufsize_t
Definition
AbstractByteBuffer.h:14
offset_t
uint64_t offset_t
Definition
AbstractByteBuffer.h:17
PENodeWrapper.h
DataDirEntryWrapper
Definition
DataDirEntryWrapper.h:9
DataDirEntryWrapper::getDirEntryType
int getDirEntryType()
Definition
DataDirEntryWrapper.h:15
DataDirEntryWrapper::getDirEntrySize
bufsize_t getDirEntrySize(bool trimToExeSize=false)
Definition
DataDirEntryWrapper.cpp:33
DataDirEntryWrapper::getDirEntryAddress
offset_t getDirEntryAddress()
Definition
DataDirEntryWrapper.cpp:19
DataDirEntryWrapper::entryType
int entryType
Definition
DataDirEntryWrapper.h:20
DataDirEntryWrapper::DataDirEntryWrapper
DataDirEntryWrapper(PEFile *pe, pe::dir_entry v_entryType)
Definition
DataDirEntryWrapper.cpp:4
DataDirEntryWrapper::getDataDirectory
IMAGE_DATA_DIRECTORY * getDataDirectory()
Definition
DataDirEntryWrapper.cpp:10
PEFile
Definition
PEFile.h:45
PENodeWrapper
Definition
PENodeWrapper.h:25
Generated by
1.12.0