libPeConv
A library to load, manipulate, dump PE files.
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 (LPSTR lib_name, LPSTR 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 ( LPSTR  lib_name,
LPSTR  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.


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