| |||
| Home > AXD > AXD Command-line Interface > Commands > findstring | |||
The findstring command searches for the
specified string in the specified area of memory or, by default,
in the whole available memory range. The command displays messages
giving the starting address of every occurrence found of the specified
value.
If you view the contents of memory with size set to more than
8 bits, it is possible for bytes to be displayed in an order different
from that in which they are stored (as a result of the endian setting).
The findstring command always tests consecutive
memory locations, regardless of how the contents of those locations
might be displayed.
The shorthand form of the findstring command
is fds.
fds string[[ low-expr][
[+]high-expr]]
where:
stringSpecifies the string you are seeking.
low-exprIs an expression that evaluates to the memory address where the search is to begin.
high-exprIs an expression that evaluates to the memory address
where the search is to end or, if preceded by +,
the number of bytes of memory to search.
fds
"cb" 0x8300 0x8400Reports finding
the specified string at five addresses within the specified range
if you have performed the fillmem example. The order in which the bytes
you entered in the fillmem example are stored depends on the endian
setting of the target. This fds example assumes
they were stored in the order 0x64 0x63 0x62 0x61 ("dcba").