libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
exceptions_parser.h
Go to the documentation of this file.
1
6#pragma once
7
8#ifdef _MSC_VER
9#define PECONV_FORCEINLINE __forceinline
10#define PECONV_TRY_EXCEPT_BLOCK_START __try
11#define PECONV_TRY_EXCEPT_BLOCK_END __except (EXCEPTION_EXECUTE_HANDLER)
12#else
13#define PECONV_FORCEINLINE __attribute__((always_inline)) inline
14#define PECONV_TRY_EXCEPT_BLOCK_START try
15#define PECONV_TRY_EXCEPT_BLOCK_END catch (...)
16#endif
17
18#include "peconv/buffer_util.h"
19
20namespace peconv {
21
28 bool setup_exceptions(IN BYTE* modulePtr, IN size_t moduleSize);
29
30};
Definitions of the used buffer types. Functions for their allocation and deallocation.
bool setup_exceptions(IN BYTE *modulePtr, IN size_t moduleSize)