libPeConv
A library to load, manipulate, dump PE files.
Loading...
Searching...
No Matches
util.cpp File Reference
#include "peconv/util.h"

Go to the source code of this file.

Namespaces

namespace  peconv

Macros

#define USE_OLD_BADPTR

Functions

bool peconv::fetch_or_load_dll (IN const char *mod_name, IN OUT HMODULE &mod)
HMODULE peconv::get_kernel32_hndl ()
HMODULE peconv::get_ntdll_hndl ()
DWORD ntdll_get_process_id (HANDLE hProcess)

Variables

HMODULE peconv::g_kernel32Hndl = nullptr
HMODULE peconv::g_ntdllHndl = nullptr

Macro Definition Documentation

◆ USE_OLD_BADPTR

#define USE_OLD_BADPTR

Definition at line 3 of file util.cpp.

Function Documentation

◆ ntdll_get_process_id()

DWORD ntdll_get_process_id ( HANDLE hProcess)

Definition at line 34 of file util.cpp.

Here is the call graph for this function: