libPeConv
A library to load, manipulate, dump PE files.
Namespaces | Typedefs | Functions
buffer_util.h File Reference

Definitions of the used buffer types. Functions for their allocation and deallocation. More...

#include <windows.h>

Go to the source code of this file.

Namespaces

namespace  peconv
 

Typedefs

typedef PBYTE peconv::UNALIGNED_BUF
 
typedef PBYTE peconv::ALIGNED_BUF
 

Functions

bool peconv::validate_ptr (IN const void *buffer_bgn, IN SIZE_T buffer_size, IN const void *field_bgn, IN SIZE_T field_size)
 
UNALIGNED_BUF peconv::alloc_unaligned (size_t buf_size)
 
void peconv::free_unaligned (UNALIGNED_BUF section_buffer)
 
ALIGNED_BUF peconv::alloc_aligned (size_t buffer_size, DWORD protect, ULONGLONG desired_base=NULL)
 
bool peconv::free_aligned (ALIGNED_BUF buffer, size_t buffer_size=0)
 
ALIGNED_BUF peconv::alloc_pe_buffer (size_t buffer_size, DWORD protect, ULONGLONG desired_base=NULL)
 
bool peconv::free_pe_buffer (ALIGNED_BUF buffer, size_t buffer_size=0)
 

Detailed Description

Definitions of the used buffer types. Functions for their allocation and deallocation.

Definition in file buffer_util.h.