libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
pe_loader.h
Go to the documentation of this file.
1
6#pragma once
7
8#include "pe_raw_to_virtual.h"
9#include "function_resolver.h"
10
11namespace peconv {
19 BYTE* load_pe_module(BYTE* payload_raw, size_t r_size, OUT size_t &v_size, bool executable, bool relocate, ULONGLONG desired_base = 0);
20
28 BYTE* load_pe_module(LPCTSTR filename, OUT size_t &v_size, bool executable, bool relocate, ULONGLONG desired_base = 0);
29
34 BYTE* load_pe_executable(BYTE* payload_raw, size_t r_size, OUT size_t &v_size, t_function_resolver* import_resolver = nullptr, ULONGLONG desired_base = 0);
35
40 BYTE* load_pe_executable(LPCTSTR filename, OUT size_t &v_size, t_function_resolver* import_resolver = nullptr);
41
42};// namespace peconv
Definitions of basic Imports Resolver classes. They can be used for filling imports when the PE is lo...
BYTE * load_pe_module(BYTE *payload_raw, size_t r_size, OUT size_t &v_size, bool executable, bool relocate, ULONGLONG desired_base=0)
Definition pe_loader.cpp:34
BYTE * load_pe_executable(BYTE *payload_raw, size_t r_size, OUT size_t &v_size, t_function_resolver *import_resolver=nullptr, ULONGLONG desired_base=0)
Definition pe_loader.cpp:79
Converting PE from raw to virtual format.