From 42bdb9e4fea494b85b394dd99d1686e812eb8a28 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 1 Oct 2023 03:03:13 +0200 Subject: ddb: Add whatis command This is convenient when tracking buffer overflows --- doc/mach.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') 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} -- cgit v1.2.3