| description | Description of 'print' function in HyperDbg Scripts |
|---|
print( Expression );
[Expression]
A [MASM-like expression](https://docs.hyperdbg.com/commands/scripting-language/assumptions-and-evaluations) to evaluate.
Evaluates and prints a MASM expression.
print(@rcx);
Print rcx register.
print(dq(@rcx));
Print data as an 8-byte hex, pointed by rcx register.
print($proc+@rdx);
Print value pointed by $proc+@rdx which $proc is equivalent to current _EPROCESS added to the rdx register.
{% hint style="success" %} You can see more examples here. {% endhint %}
You should consider avoiding "unsafe" behavior in your expressions.