Auxv
AT_CONSTANTS = {0: 'AT_NULL', 1: 'AT_IGNORE', 2: 'AT_EXECFD', 3: 'AT_PHDR', 4: 'AT_PHENT', 5: 'AT_PHNUM', 6: 'AT_PAGESZ', 7: 'AT_BASE', 8: 'AT_FLAGS', 9: 'AT_ENTRY', 10: 'AT_NOTELF', 11: 'AT_UID', 12: 'AT_EUID', 13: 'AT_GID', 14: 'AT_EGID', 15: 'AT_PLATFORM', 16: 'AT_HWCAP', 17: 'AT_CLKTCK', 18: 'AT_FPUCW', 19: 'AT_DCACHEBSIZE', 20: 'AT_ICACHEBSIZE', 21: 'AT_UCACHEBSIZE', 22: 'AT_IGNOREPPC', 23: 'AT_SECURE', 24: 'AT_BASE_PLATFORM', 25: 'AT_RANDOM', 31: 'AT_EXECFN', 32: 'AT_SYSINFO', 33: 'AT_SYSINFO_EHDR', 34: 'AT_L1I_CACHESHAPE', 35: 'AT_L1D_CACHESHAPE', 36: 'AT_L2_CACHESHAPE', 37: 'AT_L3_CACHESHAPE'}
module-attribute
¶
AT_CONSTANT_NAMES = {v: kfor (k, v) in AT_CONSTANTS.items()}
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
¶
AUXV
¶
Bases: Dict[str, Union[int, str]]