HyperDbg Debugger
Loading...
Searching...
No Matches
script-engine.h
Go to the documentation of this file.
1
12#pragma once
13
15// Pdb Parser Wrapper (from script-engine) //
18ScriptEngineConvertNameToAddressWrapper(const char * FunctionOrVariableName, PBOOLEAN WasFound);
19
21ScriptEngineLoadFileSymbolWrapper(UINT64 BaseAddress, const char * PdbFileName, const char * CustomModuleName);
22
23VOID
25
28
31
33ScriptEngineSearchSymbolForMaskWrapper(const char * SearchMask);
34
37
40
43
45ScriptEngineConvertFileToPdbPathWrapper(const char * LocalFilePath, char * ResultPath);
46
49 char * PdbFilePath,
50 char * GuidAndAgeDetails,
52
57 const char * SymbolPath,
59
62 const char * TypeName,
65 PVOID BufferAddress,
66 const char * AdditionalParameters);
67
68VOID
70
72// Script Engine Wrapper //
74
75VOID
76ScriptEngineWrapperTestParser(const string & Expr);
77
79ScriptAutomaticStatementsTestWrapper(const string & Expr, UINT64 ExpectationValue, BOOLEAN ExceptError);
80
81PVOID
82ScriptEngineParseWrapper(char * Expr, BOOLEAN ShowErrorMessageIfAny);
83
84VOID
85PrintSymbolBufferWrapper(PVOID SymbolBuffer);
86
88ScriptEngineWrapperGetHead(PVOID SymbolBuffer);
89
91ScriptEngineWrapperGetSize(PVOID SymbolBuffer);
92
94ScriptEngineWrapperGetPointer(PVOID SymbolBuffer);
95
96VOID
98
101
102UINT64
103ScriptEngineEvalUInt64StyleExpressionWrapper(const string & Expr, PBOOLEAN HasError);
104
106// Script Engine Functions //
108
109UINT64
110ScriptEngineEvalSingleExpression(string Expr, PBOOLEAN HasError);
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
UINT32 ScriptEngineWrapperGetSize(PVOID SymbolBuffer)
wrapper for getting size
Definition script-engine-wrapper.cpp:834
BOOLEAN ScriptAutomaticStatementsTestWrapper(const string &Expr, UINT64 ExpectationValue, BOOLEAN ExceptError)
massive tests for script engine statements
Definition script-engine-wrapper.cpp:542
VOID ScriptEngineWrapperTestParser(const string &Expr)
test parser
Definition script-engine-wrapper.cpp:719
UINT32 ScriptEngineUnloadModuleSymbolWrapper(char *ModuleName)
ScriptEngineUnloadModuleSymbol wrapper.
Definition script-engine-wrapper.cpp:103
BOOLEAN ScriptEngineGetFieldOffsetWrapper(CHAR *TypeName, CHAR *FieldName, UINT32 *FieldOffset)
ScriptEngineGetFieldOffset wrapper.
Definition script-engine-wrapper.cpp:131
BOOLEAN ScriptEngineConvertFileToPdbFileAndGuidAndAgeDetailsWrapper(const char *LocalFilePath, char *PdbFilePath, char *GuidAndAgeDetails, BOOLEAN Is32BitModule)
ScriptEngineConvertFileToPdbFileAndGuidAndAgeDetails wrapper.
Definition script-engine-wrapper.cpp:245
UINT32 ScriptEngineWrapperGetPointer(PVOID SymbolBuffer)
wrapper for getting pointer
Definition script-engine-wrapper.cpp:848
UINT32 ScriptEngineUnloadAllSymbolsWrapper()
ScriptEngineUnloadAllSymbols wrapper.
Definition script-engine-wrapper.cpp:91
BOOLEAN ScriptEngineShowDataBasedOnSymbolTypesWrapper(const char *TypeName, UINT64 Address, BOOLEAN IsStruct, PVOID BufferAddress, const char *AdditionalParameters)
ScriptEngineShowDataBasedOnSymbolTypes wrapper.
Definition script-engine-wrapper.cpp:212
PVOID ScriptEngineParseWrapper(char *Expr, BOOLEAN ShowErrorMessageIfAny)
ScriptEngineParse wrapper.
Definition script-engine-wrapper.cpp:267
BOOLEAN ScriptEngineSymbolInitLoadWrapper(PMODULE_SYMBOL_DETAIL BufferToStoreDetails, UINT32 StoredLength, BOOLEAN DownloadIfAvailable, const char *SymbolPath, BOOLEAN IsSilentLoad)
ScriptEngineSymbolInitLoad wrapper.
Definition script-engine-wrapper.cpp:191
UINT64 ScriptEngineEvalUInt64StyleExpressionWrapper(const string &Expr, PBOOLEAN HasError)
In the local debugging (VMI mode) environment, this function computes the expressions.
Definition script-engine-wrapper.cpp:799
BOOLEAN ScriptEngineFuncNumberOfOperands(UINT64 FuncType, UINT32 *NumberOfGetOperands, UINT32 *NumberOfSetOperands)
wrapper for getting operand count
Definition script-engine-wrapper.cpp:874
UINT32 ScriptEngineLoadFileSymbolWrapper(UINT64 BaseAddress, const char *PdbFileName, const char *CustomModuleName)
ScriptEngineLoadFileSymbol wrapper.
Definition script-engine-wrapper.cpp:67
UINT64 ScriptEngineWrapperGetHead(PVOID SymbolBuffer)
wrapper for getting head
Definition script-engine-wrapper.cpp:822
VOID ScriptEngineSetTextMessageCallbackWrapper(PVOID Handler)
ScriptEngineSetTextMessageCallback wrapper.
Definition script-engine-wrapper.cpp:80
BOOLEAN ScriptEngineConvertFileToPdbPathWrapper(const char *LocalFilePath, char *ResultPath)
ScriptEngineConvertFileToPdbPath wrapper.
Definition script-engine-wrapper.cpp:173
VOID ScriptEngineWrapperRemoveSymbolBuffer(PVOID SymbolBuffer)
wrapper for removing symbol buffer
Definition script-engine-wrapper.cpp:860
VOID ScriptEngineSymbolAbortLoadingWrapper()
SymbolAbortLoading wrapper.
Definition script-engine-wrapper.cpp:228
BOOLEAN ScriptEngineCreateSymbolTableForDisassemblerWrapper(void *CallbackFunction)
ScriptEngineCreateSymbolTableForDisassembler wrapper.
Definition script-engine-wrapper.cpp:159
UINT32 ScriptEngineSearchSymbolForMaskWrapper(const char *SearchMask)
ScriptEngineSearchSymbolForMask wrapper.
Definition script-engine-wrapper.cpp:116
BOOLEAN ScriptEngineGetDataTypeSizeWrapper(CHAR *TypeName, UINT64 *TypeSize)
ScriptEngineGetDataTypeSize wrapper.
Definition script-engine-wrapper.cpp:146
UINT64 ScriptEngineEvalSingleExpression(string Expr, PBOOLEAN HasError)
Get the value from the evaluation of single expression from local debuggee and remote debuggee.
Definition script-engine.cpp:30
VOID PrintSymbolBufferWrapper(PVOID SymbolBuffer)
PrintSymbolBuffer wrapper.
Definition script-engine-wrapper.cpp:301
UINT64 ScriptEngineConvertNameToAddressWrapper(const char *FunctionOrVariableName, PBOOLEAN WasFound)
ScriptEngineConvertNameToAddress wrapper.
Definition script-engine-wrapper.cpp:53
structures for sending and saving details about each module and symbols details
Definition Symbols.h:24