libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions
pe_dumper.h File Reference

Dumping PE from the memory buffer into a file. More...

#include <windows.h>
#include "exports_mapper.h"

Go to the source code of this file.

Namespaces

namespace  peconv
 

Enumerations

enum  peconv::t_pe_dump_mode {
  peconv::PE_DUMP_AUTO = 0 , peconv::PE_DUMP_VIRTUAL , peconv::PE_DUMP_UNMAP , peconv::PE_DUMP_REALIGN ,
  peconv::PE_DUMP_MODES_COUNT
}
 

Functions

t_pe_dump_mode peconv::detect_dump_mode (IN const BYTE *buffer, IN size_t buffer_size)
 
bool peconv::dump_pe (IN LPCTSTR outputFilePath, IN OUT BYTE *buffer, IN size_t buffer_size, IN const ULONGLONG module_base, IN OUT t_pe_dump_mode &dump_mode, IN OPTIONAL const peconv::ExportsMapper *exportsMap=nullptr)
 

Detailed Description

Dumping PE from the memory buffer into a file.

Definition in file pe_dumper.h.