libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
peconv::CollectRelocs Class Reference

#include <relocate.h>

Inheritance diagram for peconv::CollectRelocs:
Inheritance graph
[legend]

Public Member Functions

 CollectRelocs (const BYTE *pe_buffer, size_t buffer_size, IN bool _is64bit, OUT std::unordered_set< ULONGLONG > &_relocs)
 
virtual bool processRelocField (ULONG_PTR relocField)
 
- Public Member Functions inherited from peconv::RelocBlockCallback
 RelocBlockCallback (bool _is64bit)
 
virtual ~RelocBlockCallback ()
 
virtual bool processRelocField (ULONG_PTR relocField)=0
 

Protected Attributes

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

Detailed Description

Definition at line 37 of file relocate.h.

Constructor & Destructor Documentation

◆ CollectRelocs()

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

Definition at line 40 of file relocate.h.

Member Function Documentation

◆ processRelocField()

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

Implements peconv::RelocBlockCallback.

Definition at line 46 of file relocate.h.

Here is the call graph for this function:

Member Data Documentation

◆ bufferSize

size_t peconv::CollectRelocs::bufferSize
protected

Definition at line 72 of file relocate.h.

◆ peBuffer

const BYTE* peconv::CollectRelocs::peBuffer
protected

Definition at line 71 of file relocate.h.

◆ relocs

std::unordered_set<ULONGLONG>& peconv::CollectRelocs::relocs
protected

Definition at line 69 of file relocate.h.


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