|
libPeConv
A library to load, manipulate, dump PE files.
|
#include <function_resolver.h>

Public Member Functions | |
| virtual FARPROC | resolve_func (LPCSTR lib_name, LPCSTR func_name) |
| virtual HMODULE | load_library (LPCSTR lib_name) |
Public Attributes | |
| std::map< std::string, HMODULE > | nameToModule |
A default functions resolver, using LoadLibraryA and GetProcAddress.
Definition at line 30 of file function_resolver.h.
|
virtual |
Load the DLL using LoadLibraryA.
| lib_name | : the name of the DLL |
Definition at line 16 of file function_resolver.cpp.

|
virtual |
Get the address (VA) of the function with the given name, from the given DLL, using LoadLibraryA and GetProcAddress.
| func_name | : the name of the function |
| lib_name | : the name of the DLL |
Implements peconv::t_function_resolver.
Reimplemented in peconv::export_based_resolver, and peconv::hooking_func_resolver.
Definition at line 36 of file function_resolver.cpp.

| std::map<std::string, HMODULE> peconv::default_func_resolver::nameToModule |
Definition at line 47 of file function_resolver.h.