RemedyBG»Forums
Henrik J
1 posts
Displaying multi dimensional array

Hello, I just bought remedy and Im looking for a way to display an array of uint8's as a 2 dimensional array, in a grid view. If this isn't possible right now, consider it a feature request from me. Btw really liking the debugger so far :)

3 posts
Displaying multi dimensional array

You can use the inline-memory format specifiers:

-- inline-memory format specifiers. These take the form
    address_expr, <format specifier>  format specifiers: (note that the names of these specifiers were borrowed from WinDBG)
        db  : display byte values along with ASCII characters
        dc  : double-word values and ASCII characters
        dd  : double-word values
        dD  : double-precision floating-point numbers
        df  : single-precision floating-point numbers
        dq  : quad-word values
        dW  : word values and ASCII characters
        dw  : word values
        dyb : binary values and byte values
        dyd : binary values and double-word values
    /c  : used to specify the number of columns (e.g., /c16). If not specified, then a suitable default for the format specifier is used.
    /n  : used to specify the number of objects (bytes, words, double-words, quad-words, floats, or doubles); e.g, /n12. Cannot be used if ending_address_expr is given.
    ending_address_expr : any expression that can be evaluated to an address. Cannot be used at the same time as the '/n' option.

For example

arr, db /c16 arr+64
will display 4 lines of 16 values in arr :

Untitled.png

The README.txt supplied with the debugger has more format specifiers in it.