HyperDbg Debugger
|
Internal Headers of script engine. More...
Go to the source code of this file.
Functions | |
BOOLEAN | SetRegValueUsingSymbol (PGUEST_REGS GuestRegs, PSYMBOL Symbol, UINT64 Value) |
Set the register value. | |
UINT64 | ScriptEnginePseudoRegGetTid () |
Implementation of $tid pseudo-register. | |
UINT64 | ScriptEnginePseudoRegGetCore () |
Implementation of $core pseudo-register. | |
UINT64 | ScriptEnginePseudoRegGetPid () |
Implementation of $pid pseudo-register. | |
CHAR * | ScriptEnginePseudoRegGetPname () |
Implementation of $pname pseudo-register. | |
UINT64 | ScriptEnginePseudoRegGetProc () |
Implementation of $proc pseudo-register. | |
UINT64 | ScriptEnginePseudoRegGetThread () |
Implementation of $thread pseudo-register. | |
UINT64 | ScriptEnginePseudoRegGetPeb () |
Implementation of $peb pseudo-register. | |
UINT64 | ScriptEnginePseudoRegGetTeb () |
Implementation of $teb pseudo-register. | |
UINT64 | ScriptEnginePseudoRegGetIp () |
Implementation of $ip pseudo-register. | |
UINT64 | ScriptEnginePseudoRegGetBuffer (UINT64 *CorrespondingAction) |
Implementation of $buffer pseudo-register. | |
UINT64 | ScriptEnginePseudoRegGetEventTag (PACTION_BUFFER ActionBuffer) |
Implementation of $tag pseudo-register. | |
UINT64 | ScriptEnginePseudoRegGetEventId (PACTION_BUFFER ActionBuffer) |
Implementation of $id pseudo-register. | |
UINT64 | ScriptEnginePseudoRegGetEventStage (PACTION_BUFFER ActionBuffer) |
Implementation of stage pseudo-register. | |
UINT64 | ScriptEnginePseudoRegGetTime () |
Implementation of time pseudo-register. | |
UINT64 | ScriptEnginePseudoRegGetDate () |
Implementation of date pseudo-register. | |
UINT64 | ScriptEngineKeywordPoi (PUINT64 Address, BOOL *HasError) |
Implementation of poi keyword. | |
WORD | ScriptEngineKeywordHi (PUINT64 Address, BOOL *HasError) |
Implementation of hi keyword. | |
WORD | ScriptEngineKeywordLow (PUINT64 Address, BOOL *HasError) |
Implementation of low keyword. | |
BYTE | ScriptEngineKeywordDb (PUINT64 Address, BOOL *HasError) |
Implementation of db keyword. | |
DWORD | ScriptEngineKeywordDd (PUINT64 Address, BOOL *HasError) |
Implementation of dd keyword. | |
WORD | ScriptEngineKeywordDw (PUINT64 Address, BOOL *HasError) |
Implementation of dw keyword. | |
QWORD | ScriptEngineKeywordDq (PUINT64 Address, BOOL *HasError) |
Implementation of dq keyword. | |
BOOLEAN | ScriptEngineFunctionEq (UINT64 Address, QWORD Value, BOOL *HasError) |
Implementation of eq function. | |
BOOLEAN | ScriptEngineFunctionEd (UINT64 Address, DWORD Value, BOOL *HasError) |
Implementation of ed function. | |
BOOLEAN | ScriptEngineFunctionEb (UINT64 Address, BYTE Value, BOOL *HasError) |
Implementation of eb function. | |
BOOLEAN | ScriptEngineFunctionCheckAddress (UINT64 Address, UINT32 Length) |
Check whether the address is valid or not. | |
VOID | ScriptEngineFunctionMemcpy (UINT64 Destination, UINT64 Source, UINT32 Num, BOOL *HasError) |
A VMX-compatible equivalent of memcpy function in C. | |
UINT64 | ScriptEngineFunctionVirtualToPhysical (UINT64 Address) |
UINT64 | ScriptEngineFunctionPhysicalToVirtual (UINT64 Address) |
Convert physical address to virtual address. | |
VOID | ScriptEngineFunctionPrint (UINT64 Tag, BOOLEAN ImmediateMessagePassing, UINT64 Value) |
Implementation of print function. | |
VOID | ScriptEngineFunctionTestStatement (UINT64 Tag, BOOLEAN ImmediateMessagePassing, UINT64 Value) |
Implementation of test_statement function. | |
VOID | ScriptEngineFunctionSpinlockLock (volatile LONG *Lock, BOOL *HasError) |
Implementation of spinlock_lock function. | |
VOID | ScriptEngineFunctionSpinlockUnlock (volatile LONG *Lock, BOOL *HasError) |
Implementation of spinlock_unlock function. | |
VOID | ScriptEngineFunctionSpinlockLockCustomWait (volatile long *Lock, unsigned MaxWait, BOOL *HasError) |
Implementation of spinlock_lock_custom_wait function. | |
UINT64 | ScriptEngineFunctionStrlen (const char *Address) |
Implementation of strlen function. | |
UINT64 | ScriptEngineFunctionDisassembleLen (PVOID Address, BOOLEAN Is32Bit) |
Implementation of disassemble_len function. | |
UINT64 | ScriptEngineFunctionWcslen (const wchar_t *Address) |
Implementation of wcslen function. | |
long long | ScriptEngineFunctionInterlockedExchange (long long volatile *Target, long long Value, BOOL *HasError) |
Implementation of interlocked_exchange function. | |
long long | ScriptEngineFunctionInterlockedExchangeAdd (long long volatile *Addend, long long Value, BOOL *HasError) |
Implementation of interlocked_exchange_add function. | |
long long | ScriptEngineFunctionInterlockedIncrement (long long volatile *Addend, BOOL *HasError) |
Implementation of interlocked_exchange_increment function. | |
long long | ScriptEngineFunctionInterlockedDecrement (long long volatile *Addend, BOOL *HasError) |
Implementation of interlocked_exchange_decrement function. | |
long long | ScriptEngineFunctionInterlockedCompareExchange (long long volatile *Destination, long long ExChange, long long Comperand, BOOL *HasError) |
Implementation of interlocked_compare_exchange function. | |
VOID | ScriptEngineFunctionEventEnable (UINT64 EventId) |
Implementation of event_enable function. | |
VOID | ScriptEngineFunctionEventDisable (UINT64 EventId) |
Implementation of event_disable function. | |
VOID | ScriptEngineFunctionEventClear (UINT64 EventId) |
Implementation of event_clear function. | |
VOID | ScriptEngineFunctionPause (ACTION_BUFFER *ActionDetail, PGUEST_REGS GuestRegs) |
Implementation of pause function. | |
VOID | ScriptEngineFunctionFlush () |
Implementation of flush function. | |
VOID | ScriptEngineFunctionShortCircuitingEvent (UINT64 State, ACTION_BUFFER *ActionDetail) |
Implementation of event_ignore function. | |
VOID | ScriptEngineFunctionFormats (UINT64 Tag, BOOLEAN ImmediateMessagePassing, UINT64 Value) |
Implementation of formats function. | |
VOID | ScriptEngineFunctionPrintf (PGUEST_REGS GuestRegs, ACTION_BUFFER *ActionDetail, SCRIPT_ENGINE_VARIABLES_LIST *VariablesList, UINT64 Tag, BOOLEAN ImmediateMessagePassing, char *Format, UINT64 ArgCount, PSYMBOL FirstArg, BOOLEAN *HasError, SYMBOL_BUFFER *StackBuffer, UINT64 *StackIndx, UINT64 *StackBaseIndx, UINT64 *ReturnValue) |
Implementation of printf function. | |
VOID | ScriptEngineFunctionEventInject (UINT32 InterruptionType, UINT32 Vector, BOOL *HasError) |
Implementation of event_inject function. | |
VOID | ScriptEngineFunctionEventInjectErrorCode (UINT32 InterruptionType, UINT32 Vector, UINT32 ErrorCode, BOOL *HasError) |
Implementation of event_inject_error_code function. | |
VOID | ScriptEngineFunctionEventTraceInstrumentationStep () |
Implementation of event_trace_instrumentation_step function. | |
VOID | ScriptEngineFunctionEventTraceStepIn () |
Implementation of event_trace_step_in function. | |
UINT64 | ScriptEngineFunctionStrcmp (const char *Address1, const char *Address2) |
Implementation of strcmp function. | |
UINT64 | ScriptEngineFunctionStrncmp (const char *Address1, const char *Address2, size_t Num) |
Implementation of strcmp function. | |
UINT64 | ScriptEngineFunctionWcscmp (const wchar_t *Address1, const wchar_t *Address2) |
Implementation of wcscmp function. | |
UINT64 | ScriptEngineFunctionWcsncmp (const wchar_t *Address1, const wchar_t *Address2, size_t Num) |
Implementation of wcsncmp function. | |
UINT64 | ScriptEngineFunctionMemcmp (const char *Address1, const char *Address2, size_t Count) |
Implementation of memcmp function. | |
Internal Headers of script engine.
Check whether the address is valid or not.
Address | |
Length |
Implementation of disassemble_len function.
Address | |
Is32Bit |
Implementation of eb function.
Address | |
Value | |
HasError |
Implementation of ed function.
Address | |
Value | |
HasError |
Implementation of eq function.
Address | |
Value | |
HasError |
Implementation of event_clear function.
EventId |
Implementation of event_disable function.
EventId |
Implementation of event_enable function.
EventId |
Implementation of event_inject function.
InterruptionType | |
Vector | |
HasError |
VOID ScriptEngineFunctionEventInjectErrorCode | ( | UINT32 | InterruptionType, |
UINT32 | Vector, | ||
UINT32 | ErrorCode, | ||
BOOL * | HasError ) |
Implementation of event_inject_error_code function.
InterruptionType | |
Vector | |
ErrorCode | |
HasError |
VOID ScriptEngineFunctionEventTraceInstrumentationStep | ( | ) |
Implementation of event_trace_instrumentation_step function.
VOID ScriptEngineFunctionEventTraceStepIn | ( | ) |
Implementation of event_trace_step_in function.
VOID ScriptEngineFunctionFlush | ( | ) |
Implementation of flush function.
Implementation of formats function.
Tag | |
ImmediateMessagePassing | |
Value |
long long ScriptEngineFunctionInterlockedCompareExchange | ( | long long volatile * | Destination, |
long long | ExChange, | ||
long long | Comperand, | ||
BOOL * | HasError ) |
Implementation of interlocked_compare_exchange function.
Destination | |
ExChange | |
Comperand | |
HasError |
long long ScriptEngineFunctionInterlockedDecrement | ( | long long volatile * | Addend, |
BOOL * | HasError ) |
Implementation of interlocked_exchange_decrement function.
Addend | |
HasError |
long long ScriptEngineFunctionInterlockedExchange | ( | long long volatile * | Target, |
long long | Value, | ||
BOOL * | HasError ) |
Implementation of interlocked_exchange function.
Target | |
Value | |
HasError |
long long ScriptEngineFunctionInterlockedExchangeAdd | ( | long long volatile * | Addend, |
long long | Value, | ||
BOOL * | HasError ) |
Implementation of interlocked_exchange_add function.
Addend | |
Value | |
HasError |
long long ScriptEngineFunctionInterlockedIncrement | ( | long long volatile * | Addend, |
BOOL * | HasError ) |
Implementation of interlocked_exchange_increment function.
Addend | |
HasError |
UINT64 ScriptEngineFunctionMemcmp | ( | const char * | Address1, |
const char * | Address2, | ||
size_t | Count ) |
Implementation of memcmp function.
Address1 | |
Address2 | |
Count |
A VMX-compatible equivalent of memcpy function in C.
Destination | |
Source | |
Num | |
HasError |
VOID ScriptEngineFunctionPause | ( | ACTION_BUFFER * | ActionDetail, |
PGUEST_REGS | GuestRegs ) |
Implementation of pause function.
ActionDetail | |
GuestRegs |
Convert physical address to virtual address.
Address |
Implementation of print function.
Tag | |
ImmediateMessagePassing | |
Value |
VOID ScriptEngineFunctionPrintf | ( | PGUEST_REGS | GuestRegs, |
ACTION_BUFFER * | ActionDetail, | ||
SCRIPT_ENGINE_VARIABLES_LIST * | VariablesList, | ||
UINT64 | Tag, | ||
BOOLEAN | ImmediateMessagePassing, | ||
char * | Format, | ||
UINT64 | ArgCount, | ||
PSYMBOL | FirstArg, | ||
BOOLEAN * | HasError, | ||
SYMBOL_BUFFER * | StackBuffer, | ||
UINT64 * | StackIndx, | ||
UINT64 * | StackBaseIndx, | ||
UINT64 * | ReturnValue ) |
Implementation of printf function.
GuestRegs | |
ActionDetail | |
VariablesList | |
Tag | |
ImmediateMessagePassing | |
Format | |
ArgCount | |
FirstArg | |
HasError |
VOID ScriptEngineFunctionShortCircuitingEvent | ( | UINT64 | State, |
ACTION_BUFFER * | ActionDetail ) |
Implementation of event_ignore function.
State | |
ActionDetail |
Implementation of spinlock_lock function.
Lock | |
HasError |
VOID ScriptEngineFunctionSpinlockLockCustomWait | ( | volatile long * | Lock, |
unsigned | MaxWait, | ||
BOOL * | HasError ) |
Implementation of spinlock_lock_custom_wait function.
Lock | |
MaxWait | |
HasError |
Implementation of spinlock_unlock function.
Lock | |
HasError |
UINT64 ScriptEngineFunctionStrcmp | ( | const char * | Address1, |
const char * | Address2 ) |
Implementation of strcmp function.
Address1 | |
Address2 |
UINT64 ScriptEngineFunctionStrlen | ( | const char * | Address | ) |
Implementation of strlen function.
Address |
UINT64 ScriptEngineFunctionStrncmp | ( | const char * | Address1, |
const char * | Address2, | ||
size_t | Num ) |
Implementation of strcmp function.
Address1 | |
Address2 | |
Num |
VOID ScriptEngineFunctionTestStatement | ( | UINT64 | Tag, |
BOOLEAN | ImmediateMessagePassing, | ||
UINT64 | Value ) |
Implementation of test_statement function.
Tag | |
ImmediateMessagePassing | |
Value |
UINT64 ScriptEngineFunctionWcscmp | ( | const wchar_t * | Address1, |
const wchar_t * | Address2 ) |
Implementation of wcscmp function.
Address1 | |
Address2 |
UINT64 ScriptEngineFunctionWcslen | ( | const wchar_t * | Address | ) |
Implementation of wcslen function.
Address |
UINT64 ScriptEngineFunctionWcsncmp | ( | const wchar_t * | Address1, |
const wchar_t * | Address2, | ||
size_t | Num ) |
Implementation of wcsncmp function.
Address1 | |
Address2 | |
Num |
Implementation of db keyword.
Address | |
HasError |
Implementation of dd keyword.
Address | |
HasError |
Implementation of dq keyword.
Address | |
HasError |
Implementation of dw keyword.
Address | |
HasError |
Implementation of hi keyword.
Address | |
HasError |
Implementation of low keyword.
Address | |
HasError |
Implementation of poi keyword.
Address | |
HasError |
Implementation of $buffer pseudo-register.
CorrespondingAction |
UINT64 ScriptEnginePseudoRegGetCore | ( | ) |
Implementation of $core pseudo-register.
UINT64 ScriptEnginePseudoRegGetDate | ( | ) |
Implementation of date pseudo-register.
UINT64 ScriptEnginePseudoRegGetEventId | ( | PACTION_BUFFER | ActionBuffer | ) |
Implementation of $id pseudo-register.
ActionBuffer |
UINT64 ScriptEnginePseudoRegGetEventStage | ( | PACTION_BUFFER | ActionBuffer | ) |
Implementation of stage pseudo-register.
ActionBuffer |
UINT64 ScriptEnginePseudoRegGetEventTag | ( | PACTION_BUFFER | ActionBuffer | ) |
UINT64 ScriptEnginePseudoRegGetIp | ( | ) |
Implementation of $ip pseudo-register.
UINT64 ScriptEnginePseudoRegGetPeb | ( | ) |
Implementation of $peb pseudo-register.
UINT64 ScriptEnginePseudoRegGetPid | ( | ) |
CHAR * ScriptEnginePseudoRegGetPname | ( | ) |
Implementation of $pname pseudo-register.
UINT64 ScriptEnginePseudoRegGetProc | ( | ) |
UINT64 ScriptEnginePseudoRegGetTeb | ( | ) |
UINT64 ScriptEnginePseudoRegGetThread | ( | ) |
UINT64 ScriptEnginePseudoRegGetTid | ( | ) |
UINT64 ScriptEnginePseudoRegGetTime | ( | ) |
Implementation of time pseudo-register.
BOOLEAN SetRegValueUsingSymbol | ( | PGUEST_REGS | GuestRegs, |
PSYMBOL | Symbol, | ||
UINT64 | Value ) |
Set the register value.
GuestRegs | |
Symbol | |
Value |