HyperDbg Debugger
Loading...
Searching...
No Matches
platform-ioctl.h File Reference

User mode cross-platform interface for the local kernel-driver IOCTL transport. More...

Go to the source code of this file.

Functions

BOOL PlatformDeviceIoControl (HANDLE Device, DWORD IoControlCode, LPVOID InBuffer, DWORD InBufferSize, LPVOID OutBuffer, DWORD OutBufferSize, LPDWORD BytesReturned, LPVOID Overlapped)

Detailed Description

User mode cross-platform interface for the local kernel-driver IOCTL transport.

Author
Max Raulea (max.r.nosp@m.aule.nosp@m.a@gma.nosp@m.il.c.nosp@m.om)

Distinct from the serial transport (platform-serial), which talks to a remote debuggee. This interface is the LOCAL control channel: the userspace library drives the HyperDbg kernel driver through device I/O control codes. The command and packet layers are platform independent; only the device-control primitive underneath them is OS specific. Windows maps onto Win32 DeviceIoControl over a \.\HyperDbgDebuggerDevice handle; Linux will map onto ioctl() against a /dev/HyperDbg character device exposed by the (future) kernel module (TODO).

Version
0.20
Date
2026-06-09

Function Documentation

◆ PlatformDeviceIoControl()

BOOL PlatformDeviceIoControl ( HANDLE Device,
DWORD IoControlCode,
LPVOID InBuffer,
DWORD InBufferSize,
LPVOID OutBuffer,
DWORD OutBufferSize,
LPDWORD BytesReturned,
LPVOID Overlapped )