|
HyperDbg Debugger
|
Implementation of cross platform APIs for intrinsic functions (x86 instructions). More...
#include "pch.h"Functions | |
| VOID | CpuCpuId (INT32 *CpuInfo, INT32 FunctionId) |
| Execute CPUID. | |
| VOID | CpuCpuIdEx (INT32 *CpuInfo, INT32 FunctionId, INT32 SubFunctionId) |
| Execute CPUID with sub-leaf. | |
| UINT64 | CpuReadTsc (VOID) |
| Read Time-Stamp Counter. | |
| UINT64 | CpuReadTscp (UINT32 *Aux) |
| Read Time-Stamp Counter (serializing). | |
| VOID | CpuPause (VOID) |
| Execute PAUSE (spin-wait hint). | |
| INT64 | CpuInterlockedExchange64 (INT64 volatile *Target, INT64 Value) |
| Atomic 64-bit exchange. | |
| INT64 | CpuInterlockedExchangeAdd64 (INT64 volatile *Addend, INT64 Value) |
| Atomic 64-bit exchange-add. | |
| INT64 | CpuInterlockedIncrement64 (INT64 volatile *Addend) |
| Atomic 64-bit increment. | |
| INT64 | CpuInterlockedDecrement64 (INT64 volatile *Addend) |
| Atomic 64-bit decrement. | |
| INT64 | CpuInterlockedCompareExchange64 (INT64 volatile *Destination, INT64 ExChange, INT64 Comparand) |
| Atomic 64-bit compare-exchange. | |
| UCHAR | CpuInterlockedBitTestAndSet (volatile LONG *Base, LONG Bit) |
Implementation of cross platform APIs for intrinsic functions (x86 instructions).
Execute CPUID.
| CpuInfo | |
| FunctionId |
Execute CPUID with sub-leaf.
| CpuInfo | |
| FunctionId | |
| SubFunctionId |
|
inline |
Atomic 64-bit compare-exchange.
|
inline |
Atomic 64-bit decrement.
|
inline |
Atomic 64-bit exchange.
|
inline |
|
inline |
Atomic 64-bit increment.
|
inline |
Execute PAUSE (spin-wait hint).
|
inline |
Read Time-Stamp Counter.
|
inline |
Read Time-Stamp Counter (serializing).
Read Time-Stamp Counter and Processor ID.
| Aux | processor ID output (may be NULL) |
| Aux |