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

Miscellaneous utility functions. More...

#include <limits>
#include "file_util.h"
#include "resource_util.h"

Go to the source code of this file.

Namespaces

namespace  peconv
 

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)
 
template<typename INT_TYPE >
INT_TYPE peconv::round_up_to_unit (const INT_TYPE size, const INT_TYPE unit)
 
template<typename CHAR_T >
bool peconv::is_valid_string (LPVOID modulePtr, const size_t moduleSize, const CHAR_T *name_ptr, const size_t max_len=260)
 
template<typename CHAR_T >
CHAR_T peconv::to_lowercase (CHAR_T c1)
 

Detailed Description

Miscellaneous utility functions.

Definition in file util.h.