libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
peconv::CollectCodeRelocs Class Reference
Inheritance diagram for peconv::CollectCodeRelocs:

Public Member Functions

 CollectCodeRelocs (BYTE *pe_buffer, size_t buffer_size, IN bool _is64bit, OUT std::set< ULONGLONG > &_relocs)
 
virtual bool processRelocField (ULONG_PTR relocField)
 
- Public Member Functions inherited from peconv::RelocBlockCallback
 RelocBlockCallback (bool _is64bit)
 

Static Public Member Functions

static PIMAGE_SECTION_HEADER getCodeSection (BYTE *peBuffer, size_t bufferSize)
 

Protected Attributes

std::set< ULONGLONG > & relocs
 
PIMAGE_SECTION_HEADER codeSec
 
BYTE * peBuffer
 
size_t bufferSize
 
- Protected Attributes inherited from peconv::RelocBlockCallback
bool is64bit
 

Detailed Description

Definition at line 10 of file find_base.cpp.

Constructor & Destructor Documentation

◆ CollectCodeRelocs()

peconv::CollectCodeRelocs::CollectCodeRelocs ( BYTE * pe_buffer,
size_t buffer_size,
IN bool _is64bit,
OUT std::set< ULONGLONG > & _relocs )
inline

Definition at line 13 of file find_base.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ getCodeSection()

static PIMAGE_SECTION_HEADER peconv::CollectCodeRelocs::getCodeSection ( BYTE * peBuffer,
size_t bufferSize )
inlinestatic

Definition at line 45 of file find_base.cpp.

Here is the call graph for this function:

◆ processRelocField()

virtual bool peconv::CollectCodeRelocs::processRelocField ( ULONG_PTR relocField)
inlinevirtual

Implements peconv::RelocBlockCallback.

Definition at line 20 of file find_base.cpp.

Member Data Documentation

◆ bufferSize

size_t peconv::CollectCodeRelocs::bufferSize
protected

Definition at line 66 of file find_base.cpp.

◆ codeSec

PIMAGE_SECTION_HEADER peconv::CollectCodeRelocs::codeSec
protected

Definition at line 63 of file find_base.cpp.

◆ peBuffer

BYTE* peconv::CollectCodeRelocs::peBuffer
protected

Definition at line 65 of file find_base.cpp.

◆ relocs

std::set<ULONGLONG>& peconv::CollectCodeRelocs::relocs
protected

Definition at line 62 of file find_base.cpp.


The documentation for this class was generated from the following file: