libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
peconv::ImportThunksCallback Class Referenceabstract

#include <imports_loader.h>

Inheritance diagram for peconv::ImportThunksCallback:

Public Member Functions

 ImportThunksCallback (BYTE *_modulePtr, size_t _moduleSize)
 
virtual bool processThunks (LPSTR libName, ULONG_PTR origFirstThunkPtr, ULONG_PTR firstThunkPtr)=0
 

Protected Attributes

BYTE * modulePtr
 
size_t moduleSize
 
bool is64b
 

Detailed Description

A class defining a callback that will be executed when the next imported function was found

Definition at line 20 of file imports_loader.h.

Constructor & Destructor Documentation

◆ ImportThunksCallback()

peconv::ImportThunksCallback::ImportThunksCallback ( BYTE * _modulePtr,
size_t _moduleSize )
inline

Definition at line 23 of file imports_loader.h.

Here is the call graph for this function:

Member Function Documentation

◆ processThunks()

virtual bool peconv::ImportThunksCallback::processThunks ( LPSTR libName,
ULONG_PTR origFirstThunkPtr,
ULONG_PTR firstThunkPtr )
pure virtual

A callback that will be executed by process_import_table when the next imported function was found

Parameters
libName: the pointer to the DLL name
origFirstThunkPtr: the pointer to the Original First Thunk
firstThunkPtr: the pointer to the First Thunk
Returns
: true if processing succeeded, false otherwise

Implemented in CollectImportsCallback, CollectThunksCallback, FillImportThunks, and ListImportNames.

Member Data Documentation

◆ is64b

bool peconv::ImportThunksCallback::is64b
protected

Definition at line 41 of file imports_loader.h.

◆ modulePtr

BYTE* peconv::ImportThunksCallback::modulePtr
protected

Definition at line 39 of file imports_loader.h.

◆ moduleSize

size_t peconv::ImportThunksCallback::moduleSize
protected

Definition at line 40 of file imports_loader.h.


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