HyperDbg Debugger
|
General script-engine functions and wrappers. More...
Go to the source code of this file.
Functions | |
UINT64 | ScriptEngineConvertNameToAddressWrapper (const char *FunctionOrVariableName, PBOOLEAN WasFound) |
ScriptEngineConvertNameToAddress wrapper. | |
UINT32 | ScriptEngineLoadFileSymbolWrapper (UINT64 BaseAddress, const char *PdbFileName, const char *CustomModuleName) |
ScriptEngineLoadFileSymbol wrapper. | |
VOID | ScriptEngineSetTextMessageCallbackWrapper (PVOID Handler) |
ScriptEngineSetTextMessageCallback wrapper. | |
UINT32 | ScriptEngineUnloadAllSymbolsWrapper () |
ScriptEngineUnloadAllSymbols wrapper. | |
UINT32 | ScriptEngineUnloadModuleSymbolWrapper (char *ModuleName) |
ScriptEngineUnloadModuleSymbol wrapper. | |
UINT32 | ScriptEngineSearchSymbolForMaskWrapper (const char *SearchMask) |
ScriptEngineSearchSymbolForMask wrapper. | |
BOOLEAN | ScriptEngineGetFieldOffsetWrapper (CHAR *TypeName, CHAR *FieldName, UINT32 *FieldOffset) |
ScriptEngineGetFieldOffset wrapper. | |
BOOLEAN | ScriptEngineGetDataTypeSizeWrapper (CHAR *TypeName, UINT64 *TypeSize) |
ScriptEngineGetDataTypeSize wrapper. | |
BOOLEAN | ScriptEngineCreateSymbolTableForDisassemblerWrapper (void *CallbackFunction) |
ScriptEngineCreateSymbolTableForDisassembler wrapper. | |
BOOLEAN | ScriptEngineConvertFileToPdbPathWrapper (const char *LocalFilePath, char *ResultPath) |
ScriptEngineConvertFileToPdbPath wrapper. | |
BOOLEAN | ScriptEngineConvertFileToPdbFileAndGuidAndAgeDetailsWrapper (const char *LocalFilePath, char *PdbFilePath, char *GuidAndAgeDetails, BOOLEAN Is32BitModule) |
ScriptEngineConvertFileToPdbFileAndGuidAndAgeDetails wrapper. | |
BOOLEAN | ScriptEngineSymbolInitLoadWrapper (PMODULE_SYMBOL_DETAIL BufferToStoreDetails, UINT32 StoredLength, BOOLEAN DownloadIfAvailable, const char *SymbolPath, BOOLEAN IsSilentLoad) |
ScriptEngineSymbolInitLoad wrapper. | |
BOOLEAN | ScriptEngineShowDataBasedOnSymbolTypesWrapper (const char *TypeName, UINT64 Address, BOOLEAN IsStruct, PVOID BufferAddress, const char *AdditionalParameters) |
ScriptEngineShowDataBasedOnSymbolTypes wrapper. | |
VOID | ScriptEngineSymbolAbortLoadingWrapper () |
SymbolAbortLoading wrapper. | |
VOID | ScriptEngineWrapperTestParser (const string &Expr) |
test parser | |
BOOLEAN | ScriptAutomaticStatementsTestWrapper (const string &Expr, UINT64 ExpectationValue, BOOLEAN ExceptError) |
massive tests for script engine statements | |
PVOID | ScriptEngineParseWrapper (char *Expr, BOOLEAN ShowErrorMessageIfAny) |
ScriptEngineParse wrapper. | |
VOID | PrintSymbolBufferWrapper (PVOID SymbolBuffer) |
PrintSymbolBuffer wrapper. | |
UINT64 | ScriptEngineWrapperGetHead (PVOID SymbolBuffer) |
wrapper for getting head | |
UINT32 | ScriptEngineWrapperGetSize (PVOID SymbolBuffer) |
wrapper for getting size | |
UINT32 | ScriptEngineWrapperGetPointer (PVOID SymbolBuffer) |
wrapper for getting pointer | |
VOID | ScriptEngineWrapperRemoveSymbolBuffer (PVOID SymbolBuffer) |
wrapper for removing symbol buffer | |
BOOLEAN | ScriptEngineFuncNumberOfOperands (UINT64 FuncType, UINT32 *NumberOfGetOperands, UINT32 *NumberOfSetOperands) |
wrapper for getting operand count | |
UINT64 | ScriptEngineEvalUInt64StyleExpressionWrapper (const string &Expr, PBOOLEAN HasError) |
In the local debugging (VMI mode) environment, this function computes the expressions. | |
UINT64 | ScriptEngineEvalSingleExpression (string Expr, PBOOLEAN HasError) |
Get the value from the evaluation of single expression from local debuggee and remote debuggee. | |
General script-engine functions and wrappers.
VOID PrintSymbolBufferWrapper | ( | PVOID | SymbolBuffer | ) |
PrintSymbolBuffer wrapper.
Print symbol buffer wrapper
SymbolBuffer |
BOOLEAN ScriptAutomaticStatementsTestWrapper | ( | const string & | Expr, |
UINT64 | ExpectationValue, | ||
BOOLEAN | ExceptError ) |
massive tests for script engine statements
Expr | The expression to test |
ExpectationValue | What value this statements expects (not used if ExceptError is TRUE) |
ExceptError | True if the statement expects an error |
BOOLEAN ScriptEngineConvertFileToPdbFileAndGuidAndAgeDetailsWrapper | ( | const char * | LocalFilePath, |
char * | PdbFilePath, | ||
char * | GuidAndAgeDetails, | ||
BOOLEAN | Is32BitModule ) |
ScriptEngineConvertFileToPdbFileAndGuidAndAgeDetails wrapper.
LocalFilePath | |
PdbFilePath | |
GuidAndAgeDetails | |
Is32BitModule |
BOOLEAN ScriptEngineConvertFileToPdbPathWrapper | ( | const char * | LocalFilePath, |
char * | ResultPath ) |
ScriptEngineConvertFileToPdbPath wrapper.
LocalFilePath | |
ResultPath |
UINT64 ScriptEngineConvertNameToAddressWrapper | ( | const char * | FunctionOrVariableName, |
PBOOLEAN | WasFound ) |
ScriptEngineConvertNameToAddress wrapper.
FunctionName | |
WasFound |
BOOLEAN ScriptEngineCreateSymbolTableForDisassemblerWrapper | ( | void * | CallbackFunction | ) |
ScriptEngineCreateSymbolTableForDisassembler wrapper.
CallbackFunction |
Get the value from the evaluation of single expression from local debuggee and remote debuggee.
Expr | |
HasError |
In the local debugging (VMI mode) environment, this function computes the expressions.
for example, if the user u ExAllocatePoolWithTag+0x10 this will evaluate the expr
Expr | |
HasError |
BOOLEAN ScriptEngineFuncNumberOfOperands | ( | UINT64 | FuncType, |
UINT32 * | NumberOfGetOperands, | ||
UINT32 * | NumberOfSetOperands ) |
wrapper for getting operand count
FuncType | |
NumberOfGetOperands | |
NumberOfSetOperands |
ScriptEngineGetDataTypeSize wrapper.
TypeName | |
TypeSize |
BOOLEAN ScriptEngineGetFieldOffsetWrapper | ( | CHAR * | TypeName, |
CHAR * | FieldName, | ||
UINT32 * | FieldOffset ) |
ScriptEngineGetFieldOffset wrapper.
TypeName | |
FieldName | |
FieldOffset |
UINT32 ScriptEngineLoadFileSymbolWrapper | ( | UINT64 | BaseAddress, |
const char * | PdbFileName, | ||
const char * | CustomModuleName ) |
ScriptEngineLoadFileSymbol wrapper.
BaseAddress | |
FileName |
PVOID ScriptEngineParseWrapper | ( | char * | Expr, |
BOOLEAN | ShowErrorMessageIfAny ) |
ScriptEngineParse wrapper.
Expr | |
ShowErrorMessageIfAny |
UINT32 ScriptEngineSearchSymbolForMaskWrapper | ( | const char * | SearchMask | ) |
ScriptEngineSearchSymbolForMask wrapper.
SearchMask |
VOID ScriptEngineSetTextMessageCallbackWrapper | ( | PVOID | Handler | ) |
ScriptEngineSetTextMessageCallback wrapper.
Handler |
BOOLEAN ScriptEngineShowDataBasedOnSymbolTypesWrapper | ( | const char * | TypeName, |
UINT64 | Address, | ||
BOOLEAN | IsStruct, | ||
PVOID | BufferAddress, | ||
const char * | AdditionalParameters ) |
ScriptEngineShowDataBasedOnSymbolTypes wrapper.
TypeName | |
Address | |
IsStruct | |
BufferAddress | |
AdditionalParameters |
VOID ScriptEngineSymbolAbortLoadingWrapper | ( | ) |
SymbolAbortLoading wrapper.
BOOLEAN ScriptEngineSymbolInitLoadWrapper | ( | PMODULE_SYMBOL_DETAIL | BufferToStoreDetails, |
UINT32 | StoredLength, | ||
BOOLEAN | DownloadIfAvailable, | ||
const char * | SymbolPath, | ||
BOOLEAN | IsSilentLoad ) |
ScriptEngineSymbolInitLoad wrapper.
ScriptEngineSymbolInitLoad | |
StoredLength | |
DownloadIfAvailable | |
SymbolPath | |
IsSilentLoad |
UINT32 ScriptEngineUnloadAllSymbolsWrapper | ( | ) |
ScriptEngineUnloadAllSymbols wrapper.
UINT32 ScriptEngineUnloadModuleSymbolWrapper | ( | char * | ModuleName | ) |
ScriptEngineUnloadModuleSymbol wrapper.
ModuleName |
UINT64 ScriptEngineWrapperGetHead | ( | PVOID | SymbolBuffer | ) |
wrapper for getting head
SymbolBuffer |
UINT32 ScriptEngineWrapperGetPointer | ( | PVOID | SymbolBuffer | ) |
wrapper for getting pointer
SymbolBuffer |
UINT32 ScriptEngineWrapperGetSize | ( | PVOID | SymbolBuffer | ) |
wrapper for getting size
SymbolBuffer |
VOID ScriptEngineWrapperRemoveSymbolBuffer | ( | PVOID | SymbolBuffer | ) |
wrapper for removing symbol buffer
SymbolBuffer |
VOID ScriptEngineWrapperTestParser | ( | const string & | Expr | ) |
test parser
Expr |