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

#include <function_resolver.h>

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

Public Member Functions

virtual FARPROC resolve_func (LPCSTR lib_name, LPCSTR func_name)
 

Detailed Description

A default functions resolver, using LoadLibraryA and GetProcAddress.

Definition at line 28 of file function_resolver.h.

Member Function Documentation

◆ resolve_func()

FARPROC peconv::default_func_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, using LoadLibraryA and GetProcAddress.

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

Implements peconv::t_function_resolver.

Reimplemented in peconv::export_based_resolver, and peconv::hooking_func_resolver.

Definition at line 5 of file function_resolver.cpp.

Here is the call graph for this function:

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