HyperDbg Debugger
Loading...
Searching...
No Matches
PlatformEvent.h File Reference

Cross platform APIs for kernel event and object management. More...

Go to the source code of this file.

Functions

VOID PlatformObjectDereference (PVOID Object)
 Dereference a kernel object, decrementing its reference count.

Detailed Description

Cross platform APIs for kernel event and object management.

Author
Sina Karvandi (sina@.nosp@m.hype.nosp@m.rdbg..nosp@m.org)
Version
0.19
Date
2026-05-09

Function Documentation

◆ PlatformObjectDereference()

VOID PlatformObjectDereference ( PVOID Object)

Dereference a kernel object, decrementing its reference count.

Parameters
ObjectPointer to the kernel object to dereference
Returns
VOID
26{
27#if defined(_WIN32) || defined(_WIN64)
28
29 ObDereferenceObject(Object);
30
31#elif defined(__linux__)
32
33# error "Not yet implemented"
34
35#else
36
37# error "Unsupported platform"
38
39#endif
40}