libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
exports_lookup.h
Go to the documentation of this file.
1
6#pragma once
7#include <windows.h>
8
9#include "pe_hdrs_helper.h"
10#include "function_resolver.h"
11#include "exports_mapper.h"
12
13#include <string>
14#include <vector>
15#include <map>
16
17namespace peconv {
18
23 FARPROC get_exported_func(PVOID modulePtr, LPCSTR wanted_name);
24
28 size_t get_exported_names(PVOID modulePtr, std::vector<std::string> &names_list);
29
34 public:
42 virtual FARPROC resolve_func(LPCSTR lib_name, LPCSTR func_name);
43 };
44
48 LPSTR read_dll_name(HMODULE modulePtr);
49
50}; //namespace peconv
virtual FARPROC resolve_func(LPCSTR lib_name, LPCSTR func_name)
A definition of ExportsMapper class. Creates a lookup of all the exported functions from the supplied...
Definitions of basic Imports Resolver classes. They can be used for filling imports when the PE is lo...
LPSTR read_dll_name(HMODULE modulePtr)
size_t get_exported_names(PVOID modulePtr, std::vector< std::string > &names_list)
FARPROC get_exported_func(PVOID modulePtr, LPCSTR wanted_name)
Wrappers over various fields in the PE header. Read, write, parse PE headers.