MDB Symbol Name Resolution
As explained in MDB Syntax, a symbol identifier in an expression evaluates to the value of that symbol. The value typically denotes the virtual address of the storage associated with the symbol in the target's virtual address space.
Tip:
In the case of a naming conflict between a symbol and a hexadecimal integer value, MDB attempts to evaluate an ambiguous token as a symbol first, before evaluating it as an integer value. For example, the tokenf
can
refer to the decimal integer value 15 specified in hexadecimal (the default
base), or f
can refer to a global variable in the symbol
table of the target. To avoid ambiguity, use an explicit 0x
or 0X
prefix to specify an integer value.