Page MenuHomeFreeBSD
Paste P433

(An Untitled Masterwork)
ActivePublic

Authored by mhorne on Oct 5 2020, 6:24 PM.
$ sysctl debug.dump_modinfo
debug.dump_modinfo:
0xffffffff8299a000:
type: (0x01) MODINFO_NAME
len: 20
value: /boot/kernel/kernel
0xffffffff8299a020:
type: (0x02) MODINFO_TYPE
len: 11
value: elf kernel
0xffffffff8299a038:
type: (0x06) MODINFO_ARGS
len: 3
value: -v
0xffffffff8299a048:
type: (0x03) MODINFO_ADDR
len: 8
value: 0xffffffff80200000
0xffffffff8299a058:
type: (0x04) MODINFO_SIZE
len: 8
value: 32575224
0xffffffff8299a068:
type: (0x9004) MODINFO_METADATA | MODINFOMD_EFI_MAP
len: 1376
value: buffer contents omitted
0xffffffff8299a5d0:
type: (0x9005) MODINFO_METADATA | MODINFOMD_EFI_FB
len: 48
value: 0x00000000c1000000
0xffffffff8299a608:
type: (0x800d) MODINFO_METADATA | MODINFOMD_KEYBUF
len: 33028
value: buffer contents omitted
0xffffffff829a2718:
type: (0x800c) MODINFO_METADATA | MODINFOMD_FW_HANDLE
len: 8
value: buffer contents omitted
0xffffffff829a2728:
type: (0x8008) MODINFO_METADATA | MODINFOMD_KERNEND
len: 8
value: 0x00000000029a5000
0xffffffff829a2738:
type: (0x8006) MODINFO_METADATA | MODINFOMD_ENVP
len: 8
value: 0x0000000002999000
0xffffffff829a2748:
type: (0x8007) MODINFO_METADATA | MODINFOMD_HOWTO
len: 4
value: 0x20001800
0xffffffff829a2758:
type: (0x8002) MODINFO_METADATA | MODINFOMD_ELFHDR
len: 64
value: buffer contents omitted
0xffffffff829a27a0:
type: (0x8005) MODINFO_METADATA | MODINFOMD_DYNAMIC
len: 8
value: 0xffffffff81800000
0xffffffff829a27b0:
type: (0x8004) MODINFO_METADATA | MODINFOMD_ESYM
len: 8
value: 0xffffffff82110ef8
0xffffffff829a27c0:
type: (0x8003) MODINFO_METADATA | MODINFOMD_SSYM
len: 8
value: 0xffffffff81e00000
0xffffffff829a27d0:
type: (0x8009) MODINFO_METADATA | MODINFOMD_SHDR
len: 3520
value: buffer contents omitted
0xffffffff829a3598:
type: (0x01) MODINFO_NAME
len: 28
value: /boot/kernel/opensolaris.ko
0xffffffff829a35c0:
type: (0x02) MODINFO_TYPE
len: 15
value: elf obj module
0xffffffff829a35d8:
type: (0x03) MODINFO_ADDR
len: 8
value: 0xffffffff82111000
0xffffffff829a35e8:
type: (0x04) MODINFO_SIZE
len: 8
value: 46952
0xffffffff829a35f8:
type: (0x8002) MODINFO_METADATA | MODINFOMD_ELFHDR
len: 64
value: buffer contents omitted
0xffffffff829a3640:
type: (0x8009) MODINFO_METADATA | MODINFOMD_SHDR
len: 1472
value: buffer contents omitted
0xffffffff829a3c08:
type: (0x01) MODINFO_NAME
len: 23
value: /boot/kernel/dtrace.ko
0xffffffff829a3c28:
type: (0x02) MODINFO_TYPE
len: 15
value: elf obj module
0xffffffff829a3c40:
type: (0x03) MODINFO_ADDR
len: 8
value: 0xffffffff8211d000
0xffffffff829a3c50:
type: (0x04) MODINFO_SIZE
len: 8
value: 8895048
0xffffffff829a3c60:
type: (0x8002) MODINFO_METADATA | MODINFOMD_ELFHDR
len: 64
value: buffer contents omitted
0xffffffff829a3ca8:
type: (0x8009) MODINFO_METADATA | MODINFOMD_SHDR
len: 1600
value: buffer contents omitted