Documentation
¶
Index ¶
Constants ¶
View Source
const ( AT_NULL = 0 AT_IGNORE = 1 AT_EXECFD = 2 AT_PHDR = 3 AT_PHENT = 4 AT_PHNUM = 5 AT_PAGESZ = 6 AT_BASE = 7 AT_FLAGS = 8 AT_ENTRY = 9 AT_NOTELF = 10 AT_UID = 11 AT_EUID = 12 AT_GID = 13 AT_EGID = 14 AT_PLATFORM = 15 AT_HWCAP = 16 AT_CLKTCK = 17 AT_SECURE = 23 AT_BASE_PLATFORM = 24 AT_RANDOM = 25 AT_HWCAP2 = 26 AT_EXECFN = 31 AT_MINSIGSTKSZ = 51 )
https://github.com/torvalds/linux/blob/v5.19/include/uapi/linux/auxvec.h
View Source
const ( AT_SYSINFO = 32 AT_SYSINFO_EHDR = 33 )
https://github.com/torvalds/linux/blob/v5.19/arch/x86/include/uapi/asm/auxvec.h
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Elf64_auxv_t ¶
type TlsTemplate ¶
type TlsTemplate struct { RequiredSize uint64 // including the TLS pointer (at the end, on amd64) Tdata *elf.Section Tbss *elf.Section ElfFile *elf.File }
func ReadTlsTemplate ¶
func ReadTlsTemplate(pid int) (*TlsTemplate, error)
func (*TlsTemplate) Close ¶
func (x *TlsTemplate) Close() error
Click to show internal directories.
Click to hide internal directories.