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

#include <exports_lookup.h>

Inheritance diagram for peconv::export_based_resolver:

Public Member Functions

virtual FARPROC resolve_func (LPCSTR lib_name, LPCSTR func_name)
 

Detailed Description

Function resolver using Export Table lookup.

Definition at line 33 of file exports_lookup.h.

Member Function Documentation

◆ resolve_func()

FARPROC peconv::export_based_resolver::resolve_func ( LPCSTR lib_name,
LPCSTR func_name )
virtual

Get the address (VA) of the function with the given name, from the given DLL. Uses Export Table lookup as a primary method of finding the import. On failure it falls back to the default Functions Resolver.

Parameters
func_name: the name of the function
lib_name: the name of the DLL
Returns
Virtual Address of the exported function

Reimplemented from peconv::default_func_resolver.

Definition at line 148 of file exports_lookup.cpp.

Here is the call graph for this function:

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