16#ifndef SCRIPT_ENGINE_H
17# define SCRIPT_ENGINE_H
107 UINT64 BooleanExpressionSize,
127unsigned long long int
130unsigned long long int
133unsigned long long int
int BOOL
Definition BasicTypes.h:23
UCHAR BOOLEAN
Definition BasicTypes.h:39
BOOLEAN * PBOOLEAN
Definition BasicTypes.h:40
#define VOID
Definition BasicTypes.h:33
unsigned __int64 UINT64
Definition BasicTypes.h:21
unsigned int UINT32
Definition BasicTypes.h:48
char CHAR
Definition BasicTypes.h:31
char * PdbFilePath
Definition HyperDbgScriptImports.h:63
CHAR * FieldName
Definition HyperDbgScriptImports.h:55
CHAR UINT32 * FieldOffset
Definition HyperDbgScriptImports.h:55
UINT64 BOOLEAN IsStruct
Definition HyperDbgScriptImports.h:67
UINT64 * TypeSize
Definition HyperDbgScriptImports.h:57
UINT64 Address
Definition HyperDbgScriptImports.h:67
UINT32 * NumberOfGetOperands
Definition HyperDbgScriptImports.h:33
UINT32 BOOLEAN const char * SymbolPath
Definition HyperDbgScriptImports.h:65
char char BOOLEAN Is32BitModule
Definition HyperDbgScriptImports.h:63
UINT32 BOOLEAN const char BOOLEAN IsSilentLoad
Definition HyperDbgScriptImports.h:65
UINT32 StoredLength
Definition HyperDbgScriptImports.h:65
const char const char * CustomModuleName
Definition HyperDbgScriptImports.h:47
const char * PdbFileName
Definition HyperDbgScriptImports.h:47
UINT64 BOOLEAN PVOID const char * AdditionalParameters
Definition HyperDbgScriptImports.h:67
UINT64 BOOLEAN PVOID BufferAddress
Definition HyperDbgScriptImports.h:67
UINT32 UINT32 * NumberOfSetOperands
Definition HyperDbgScriptImports.h:33
char * ResultPath
Definition HyperDbgScriptImports.h:61
UINT32 BOOLEAN DownloadIfAvailable
Definition HyperDbgScriptImports.h:65
PBOOLEAN WasFound
Definition HyperDbgScriptImports.h:45
char char * GuidAndAgeDetails
Definition HyperDbgScriptImports.h:63
void PrintSymbol(PVOID Symbol)
Prints symbol.
Definition script-engine.c:2574
BOOLEAN FuncGetNumberOfOperands(UINT64 FuncType, UINT32 *NumberOfGetOperands, UINT32 *NumberOfSetOperands)
Script Engine get number of operands.
Definition script-engine.c:3356
UINT32 ScriptEngineUnloadModuleSymbol(char *ModuleName)
Unload a special pdb.
Definition script-engine.c:94
UINT64 ScriptEngineConvertNameToAddress(const char *FunctionOrVariableName, PBOOLEAN WasFound)
Converts name to address.
Definition script-engine.c:33
BOOLEAN ScriptEngineGetFieldOffset(CHAR *TypeName, CHAR *FieldName, UINT32 *FieldOffset)
Get offset of a field from the structure.
Definition script-engine.c:126
BOOLEAN ScriptEngineCreateSymbolTableForDisassembler(void *CallbackFunction)
Create symbol table for disassembler.
Definition script-engine.c:157
UINT32 ScriptEngineLoadFileSymbol(UINT64 BaseAddress, const char *PdbFileName, const char *CustomModuleName)
Definition script-engine.c:53
void PrintSymbolBuffer(const PVOID SymbolBuffer)
Prints a symbol buffer.
Definition script-engine.c:2859
BOOLEAN ScriptEngineConvertFileToPdbFileAndGuidAndAgeDetails(const char *LocalFilePath, char *PdbFilePath, char *GuidAndAgeDetails, BOOLEAN Is32BitModule)
Convert file to pdb attributes for symbols.
Definition script-engine.c:252
PVOID ScriptEngineParse(char *str)
The entry point of script engine.
Definition script-engine.c:267
BOOLEAN ScriptEngineSetHwdbgInstanceInfo(HWDBG_INSTANCE_INFORMATION *InstancInfo)
Set hwdbg instance info for the script engine.
Definition script-engine.c:3332
BOOLEAN ScriptEngineGetDataTypeSize(CHAR *TypeName, UINT64 *TypeSize)
Get size of a data type (structure)
Definition script-engine.c:142
BOOLEAN ScriptEngineSymbolInitLoad(PVOID BufferToStoreDetails, UINT32 StoredLength, BOOLEAN DownloadIfAvailable, const char *SymbolPath, BOOLEAN IsSilentLoad)
Initial load of the symbols.
Definition script-engine.c:192
BOOLEAN ScriptEngineShowDataBasedOnSymbolTypes(const char *TypeName, UINT64 Address, BOOLEAN IsStruct, PVOID BufferAddress, const char *AdditionalParameters)
Show data based on symbol types.
Definition script-engine.c:215
void RemoveSymbolBuffer(PVOID SymbolBuffer)
Frees the memory allocated by SymbolBuffer.
Definition script-engine.c:2725
VOID ScriptEngineSetTextMessageCallback(PVOID Handler)
Set the message handler as an alternative to printf.
Definition script-engine.c:68
UINT32 ScriptEngineUnloadAllSymbols()
Unload all the previously loaded symbols.
Definition script-engine.c:79
UINT32 ScriptEngineSearchSymbolForMask(const char *SearchMask)
Search for a special mask.
Definition script-engine.c:109
VOID ScriptEngineSymbolAbortLoading()
Cancel loading.
Definition script-engine.c:233
BOOLEAN ScriptEngineConvertFileToPdbPath(const char *LocalFilePath, char *ResultPath)
Convert local file to pdb path.
Definition script-engine.c:173
The structure of script capabilities information in hwdbg.
Definition HardwareDebugger.h:91
this structure is a dynamic container of TOKENS
Definition common.h:83
read tokens from input stored in this structure
Definition common.h:72
Definition ScriptEngineCommonDefinitions.h:21
Definition ScriptEngineCommonDefinitions.h:6
Definition ScriptEngineCommonDefinitions.h:43