mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-08-25 08:22:58 +00:00
perform script in print command
This commit is contained in:
parent
aeeafa9192
commit
e331ead8e9
12 changed files with 127 additions and 64 deletions
|
|
@ -531,7 +531,13 @@ UINT64 GetPseudoRegValue(PSYMBOL Symbol, ACTION_BUFFER ActionBuffer) {
|
|||
case PSEUDO_REGISTER_IP:
|
||||
return ScriptEnginePseudoRegGetIp();
|
||||
case PSEUDO_REGISTER_BUFFER:
|
||||
return ScriptEnginePseudoRegGetBuffer((UINT64 *)ActionBuffer.CurrentAction);
|
||||
if (ActionBuffer.CurrentAction != NULL) {
|
||||
return ScriptEnginePseudoRegGetBuffer(
|
||||
(UINT64 *)ActionBuffer.CurrentAction);
|
||||
|
||||
} else {
|
||||
return NULL;
|
||||
}
|
||||
case PSEUDO_REGISTER_CONTEXT:
|
||||
return ActionBuffer.Context;
|
||||
case INVALID:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue