libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
util.h File Reference

Miscellaneous utility functions. More...

#include "file_util.h"
#include "resource_util.h"

Go to the source code of this file.

Namespaces

namespace  peconv
 

Macros

#define PECONV_FORCEINLINE   __attribute__((always_inline)) inline
 
#define PECONV_TRY_EXCEPT_BLOCK_START   try {
 
#define PECONV_TRY_EXCEPT_BLOCK_END   catch (...) {
 

Functions

bool peconv::is_padding (const BYTE *cave_ptr, size_t cave_size, const BYTE padding_char)
 
DWORD peconv::get_process_id (HANDLE hProcess)
 
bool peconv::is_mem_accessible (LPCVOID areaStart, SIZE_T areaSize, DWORD accessRights)
 
bool peconv::is_bad_read_ptr (LPCVOID areaStart, SIZE_T areaSize)
 

Detailed Description

Miscellaneous utility functions.

Definition in file util.h.

Macro Definition Documentation

◆ PECONV_FORCEINLINE

#define PECONV_FORCEINLINE   __attribute__((always_inline)) inline

Definition at line 16 of file util.h.

◆ PECONV_TRY_EXCEPT_BLOCK_END

#define PECONV_TRY_EXCEPT_BLOCK_END   catch (...) {

Definition at line 18 of file util.h.

◆ PECONV_TRY_EXCEPT_BLOCK_START

#define PECONV_TRY_EXCEPT_BLOCK_START   try {

Definition at line 17 of file util.h.