Home
last modified time | relevance | path

Searched refs:raw_addr (Results 1 – 2 of 2) sorted by relevance

/arch/x86/entry/vdso/
Dvdso2c.h7 static void BITSFUNC(go)(void *raw_addr, size_t raw_len, in BITSFUNC()
14 ELF(Ehdr) *hdr = (ELF(Ehdr) *)raw_addr; in BITSFUNC()
23 ELF(Phdr) *pt = (ELF(Phdr) *)(raw_addr + GET_LE(&hdr->e_phoff)); in BITSFUNC()
41 dyn = raw_addr + GET_LE(&pt[i].p_offset); in BITSFUNC()
42 dyn_end = raw_addr + GET_LE(&pt[i].p_offset) + in BITSFUNC()
62 secstrings_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
64 secstrings = raw_addr + GET_LE(&secstrings_hdr->sh_offset); in BITSFUNC()
66 ELF(Shdr) *sh = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
79 strtab_hdr = raw_addr + GET_LE(&hdr->e_shoff) + in BITSFUNC()
87 ELF(Sym) *sym = raw_addr + GET_LE(&symtab_hdr->sh_offset) + in BITSFUNC()
[all …]
Dvdso2c.c171 static void go(void *raw_addr, size_t raw_len, in go() argument
175 Elf64_Ehdr *hdr = (Elf64_Ehdr *)raw_addr; in go()
178 go64(raw_addr, raw_len, stripped_addr, stripped_len, in go()
181 go32(raw_addr, raw_len, stripped_addr, stripped_len, in go()
211 void *raw_addr, *stripped_addr; in main() local
241 map_input(argv[1], &raw_addr, &raw_len, PROT_READ); in main()
249 go(raw_addr, raw_len, stripped_addr, stripped_len, outfile, name); in main()
251 munmap(raw_addr, raw_len); in main()