https://ftp.gnu.org/old-gnu/Manuals/gdb/html_node/gdb_55.html
x/nfu addr
-
n
, the repeat count. Decimal integer, default to 1, counted by unitsu
. -
f
, the display format. Default changes each time usingx
orprint
command.-
s
null-terminated string -
i
machine instruction -
x
hexadecimal (initial default)
-
-
u
, the unit size-
b
Bytes. -
h
Halfwords (two bytes). -
w
Words (four bytes). This is the initial default. -
g
Giant words (eight bytes).
-
It contained in a /proc/<pid>/maps
file. From gdb
we can do:
gdb$ info proc mappings
gdb$ maintenance info sections
gdb$ files
$ ldd <binary>