|
libPeConv
A library to load, manipulate, dump PE files.
|
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 |
Macros | |
| #define | MAX_DWORD 0xffffffff |
| #define | MAX_WORD 0xffff |
| #define | MASK_TO_DWORD(val) |
| #define | MASK_TO_WORD(val) |
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, void *desired_base=nullptr) |
| bool | peconv::free_aligned (ALIGNED_BUF buffer, size_t buffer_size=0) |
| ALIGNED_BUF | peconv::alloc_pe_buffer (size_t buffer_size, DWORD protect, void *desired_base=nullptr) |
| bool | peconv::free_pe_buffer (ALIGNED_BUF buffer, size_t buffer_size=0) |
Definitions of the used buffer types. Functions for their allocation and deallocation.
Definition in file buffer_util.h.
| #define MASK_TO_DWORD | ( | val | ) |
Definition at line 12 of file buffer_util.h.
| #define MASK_TO_WORD | ( | val | ) |
Definition at line 13 of file buffer_util.h.
| #define MAX_DWORD 0xffffffff |
Definition at line 10 of file buffer_util.h.
| #define MAX_WORD 0xffff |
Definition at line 11 of file buffer_util.h.