summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-10-01 03:03:13 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-10-01 04:27:00 +0200
commit42bdb9e4fea494b85b394dd99d1686e812eb8a28 (patch)
treee4cbc60130c81c94043f603ef8a826d0a896e842 /doc
parent511536317e810a5d204530ed8513f645acf67d9c (diff)
ddb: Add whatis command
This is convenient when tracking buffer overflows
Diffstat (limited to 'doc')
-rw-r--r--doc/mach.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/mach.texi b/doc/mach.texi
index 7eb5baa1..76bf68f7 100644
--- a/doc/mach.texi
+++ b/doc/mach.texi
@@ -6918,6 +6918,10 @@ Examine backward. It executes an examine command with the last
specified parameters to it except that the last start address subtracted
by the size displayed by it is used as the start address.
+@item whatis @var{addr}
+Try to find what this address is. This looks up in the various tasks, threads,
+maps, caches etc. to give an idea what is behind this address.
+
@item print[/axzodurc] @var{addr1} [ @var{addr2} @dots{} ]
Print @var{addr}'s according to the modifier character. Valid formats
are: @code{a} @code{x} @code{z} @code{o} @code{d} @code{u} @code{r}