Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 5 of 5) sorted by relevance

/scripts/
Dinsert-sys-cert.c68 static unsigned long get_offset_from_address(Elf_Ehdr *hdr, unsigned long addr) in get_offset_from_address() argument
73 x = (void *)hdr + hdr->e_shoff; in get_offset_from_address()
74 if (hdr->e_shnum == SHN_UNDEF) in get_offset_from_address()
77 num_sections = hdr->e_shnum; in get_offset_from_address()
93 static void get_symbol_from_map(Elf_Ehdr *hdr, FILE *f, char *name, in get_symbol_from_map() argument
128 s->offset = get_offset_from_address(hdr, s->address); in get_symbol_from_map()
130 s->content = (void *)hdr + s->offset; in get_symbol_from_map()
133 static Elf_Sym *find_elf_symbol(Elf_Ehdr *hdr, Elf_Shdr *symtab, char *name) in find_elf_symbol() argument
141 x = (void *)hdr + hdr->e_shoff; in find_elf_symbol()
143 symtab_start = (void *)hdr + symtab->sh_offset; in find_elf_symbol()
[all …]
Dasn1_compiler.c555 static void render(FILE *out, FILE *hdr);
564 FILE *out, *hdr; in main() local
648 hdr = fopen(headername, "w"); in main()
649 if (!hdr) { in main()
654 render(out, hdr); in main()
661 if (fclose(hdr) < 0) { in main()
1292 static void render(FILE *out, FILE *hdr) in render() argument
1299 fprintf(hdr, "/*\n"); in render()
1300 fprintf(hdr, " * Automatically generated by asn1_compiler. Do not edit\n"); in render()
1301 fprintf(hdr, " *\n"); in render()
[all …]
/scripts/mod/
Dmodpost.c308 return (void *)elf->hdr + in sech_name()
486 Elf_Ehdr *hdr; in parse_elf() local
492 hdr = grab_file(filename, &info->size); in parse_elf()
493 if (!hdr) { in parse_elf()
502 info->hdr = hdr; in parse_elf()
503 if (info->size < sizeof(*hdr)) { in parse_elf()
508 if ((hdr->e_ident[EI_MAG0] != ELFMAG0) || in parse_elf()
509 (hdr->e_ident[EI_MAG1] != ELFMAG1) || in parse_elf()
510 (hdr->e_ident[EI_MAG2] != ELFMAG2) || in parse_elf()
511 (hdr->e_ident[EI_MAG3] != ELFMAG3)) { in parse_elf()
[all …]
Dmodpost.h137 Elf_Ehdr *hdr; member
Dfile2alias.c1450 symval = (void *)info->hdr in handle_moddevtable()