Assumptions & Evaluations
Description of keywords, operators, pseudo-registers, number prefixes, and pre-defined functions
The following articles describe HyperDbg's Script Engine.
HyperDbg uses a MASM-like (Windbg) syntax to evaluate script expressions.
HyperDbg script engine is case-sensitive.
The following keywords are valid in Script Engine.
The following operators are supported on the script engine.
The following registers are supported by HyperDbg.
Each flag of RFLAGS is also supported in HyperDbg.
Here are the currently supported pseudo-registers supported by the script engine.
Some of the above pseudo-registers are not supported either in kernel-mode or user-mode. If you use these registers, then it returns
By default, HyperDbg interprets the numbers as hex (base 16). If you want to specify other forms of a number, you should use MASM prefixes. In all MASM expressions, numeric values are interpreted as numbers in the current radix (16, 10, or 8). You can override the default radix by specifying the 0x prefix (hexadecimal), the 0n prefix (decimal), the 0t prefix (octal), or the 0y prefix (binary).
HyperDbg's comments are like C comments.
A comment starts with a slash asterisk
/*and ends with an asterisk slash
*/and can be anywhere in your program. Comments can span several lines within your C program.
/* comment goes here */
* comment goes here
You can create a comment on a single line.
// comment goes here