Skip to content

Auxv

auto_explore = pwndbg.config.add_param('auto-explore-auxv', 'warn', 'Enable or disable stack exploration for AUXV information; it may be really slow.', param_class=pwndbg.lib.config.PARAM_ENUM, enum_sequence=['warn', 'yes', 'no']) module-attribute

example_info_auxv_linux = '\n33 AT_SYSINFO_EHDR System-supplied DSO\'s ELF header 0x7ffff7ffa000\n16 AT_HWCAP Machine-dependent CPU capability hints 0xfabfbff\n6 AT_PAGESZ System page size 4096\n17 AT_CLKTCK Frequency of times() 100\n3 AT_PHDR Program headers for program 0x400040\n4 AT_PHENT Size of program header entry 56\n5 AT_PHNUM Number of program headers 9\n7 AT_BASE Base address of interpreter 0x7ffff7dda000\n8 AT_FLAGS Flags 0x0\n9 AT_ENTRY Entry point of program 0x42020b\n11 AT_UID Real user ID 1000\n12 AT_EUID Effective user ID 1000\n13 AT_GID Real group ID 1000\n14 AT_EGID Effective group ID 1000\n23 AT_SECURE Boolean, was exec setuid-like? 0\n25 AT_RANDOM Address of 16 random bytes 0x7fffffffdb39\n31 AT_EXECFN File name of executable 0x7fffffffefee "/bin/bash"\n15 AT_PLATFORM String identifying platform 0x7fffffffdb49 "x86_64"\n0 AT_NULL End of vector 0x0\n' module-attribute

explore_stack_auxv()

get()

procfs_auxv()

use_info_auxv()

walk_stack2(offset=0)