Home
last modified time | relevance | path

Searched refs:scn (Results 1 – 6 of 6) sorted by relevance

/build/tools/apriori/
Dsource.c4 Elf_Scn **scn, in find_section() argument
13 *scn = (Elf_Scn *)range->user; in find_section()
14 ASSERT(*scn); in find_section()
15 FAILIF_LIBELF(NULL == gelf_getshdr(*scn, shdr), gelf_getshdr); in find_section()
16 *data = elf_getdata(*scn, NULL); in find_section()
Dapriori.c59 static void print_shdr(source_t *source, Elf_Scn *scn) in print_shdr() argument
62 shdr = gelf_getshdr(scn, &shdr_mem); in print_shdr()
63 Elf_Data *data = elf_getdata(scn, NULL); in print_shdr()
66 elf_ndxscn(scn), in print_shdr()
78 Elf_Scn *scn = NULL; in print_shdrs() local
80 while ((scn = elf_nextscn (source->elf, scn)) != NULL) in print_shdrs()
81 print_shdr(source, scn); in print_shdrs()
84 while ((scn = elf_nextscn (source->oldelf, scn)) != NULL) in print_shdrs()
85 print_shdr(source, scn); in print_shdrs()
92 scn = elf_getscn(source->elf, i); in print_shdrs()
[all …]
Dsource.h19 Elf_Scn *scn; member
117 Elf_Scn **scn,
/build/tools/lsd/
Dlsd.c23 Elf_Scn *scn; member
172 Elf_Scn *scn; in init_source() local
176 scn = elf_getscn(source->elf, scnidx); in init_source()
177 FAILIF_LIBELF(NULL == scn, elf_getscn); in init_source()
178 shdr = gelf_getshdr(scn, &shdr_mem); in init_source()
182 source->symtab.scn = scn; in init_source()
183 source->symtab.data = elf_getdata(scn, NULL); in init_source()
189 source->strtab.scn = elf_getscn(source->elf, in init_source()
191 FAILIF_LIBELF(NULL == source->strtab.scn, elf_getscn); in init_source()
192 FAILIF_LIBELF(NULL == gelf_getshdr(scn, &source->strtab.shdr), in init_source()
[all …]
/build/tools/soslim/
Dsoslim.c50 Elf_Scn *scn; /* general-purpose section */ in clone_elf() local
117 scn = NULL; in clone_elf()
119 while ((scn = elf_nextscn (elf, scn)) != NULL) { in clone_elf()
120 ASSERT(elf_ndxscn(scn) == cnt); in clone_elf()
121 shdr_info[cnt].scn = scn; in clone_elf()
122 FAILIF_LIBELF(NULL == gelf_getshdr(scn, &shdr_info[cnt].shdr), in clone_elf()
299 symdata = elf_getdata (shdr_info[cnt].scn, NULL); in clone_elf()
451 elf_ndxscn(shdr_info[cnt].scn)); in clone_elf()
458 elf_ndxscn(shdr_info[cnt].scn)); in clone_elf()
Dmain.c241 Elf_Scn *scn = NULL; in print_dynamic_symbols() local
246 while ((scn = elf_nextscn (elf, scn)) != NULL) { in print_dynamic_symbols()
247 FAILIF_LIBELF(NULL == gelf_getshdr(scn, &shdr), gelf_getshdr); in print_dynamic_symbols()
261 symdata = elf_getdata (scn, NULL); /* get the symbol data */ in print_dynamic_symbols()