• Home
  • Raw
  • Download

Lines Matching refs:idx

148   for (size_t idx = 0; idx < shnum; ++idx) {  in readSectionHeaders()  local
150 sh_name = shdrTab[idx].sh_name; in readSectionHeaders()
151 sh_type = shdrTab[idx].sh_type; in readSectionHeaders()
152 sh_flags = shdrTab[idx].sh_flags; in readSectionHeaders()
153 sh_offset = shdrTab[idx].sh_offset; in readSectionHeaders()
154 sh_size = shdrTab[idx].sh_size; in readSectionHeaders()
155 sh_link = shdrTab[idx].sh_link; in readSectionHeaders()
156 sh_info = shdrTab[idx].sh_info; in readSectionHeaders()
157 sh_addralign = shdrTab[idx].sh_addralign; in readSectionHeaders()
160 sh_name = bswap32(shdrTab[idx].sh_name); in readSectionHeaders()
161 sh_type = bswap32(shdrTab[idx].sh_type); in readSectionHeaders()
162 sh_flags = bswap32(shdrTab[idx].sh_flags); in readSectionHeaders()
163 sh_offset = bswap32(shdrTab[idx].sh_offset); in readSectionHeaders()
164 sh_size = bswap32(shdrTab[idx].sh_size); in readSectionHeaders()
165 sh_link = bswap32(shdrTab[idx].sh_link); in readSectionHeaders()
166 sh_info = bswap32(shdrTab[idx].sh_info); in readSectionHeaders()
167 sh_addralign = bswap32(shdrTab[idx].sh_addralign); in readSectionHeaders()
273 for (size_t idx = 1; idx < entsize; ++idx) { in readSymbols() local
274 st_info = symtab[idx].st_info; in readSymbols()
275 st_other = symtab[idx].st_other; in readSymbols()
278 st_name = symtab[idx].st_name; in readSymbols()
279 st_value = symtab[idx].st_value; in readSymbols()
280 st_size = symtab[idx].st_size; in readSymbols()
281 st_shndx = symtab[idx].st_shndx; in readSymbols()
284 st_name = bswap32(symtab[idx].st_name); in readSymbols()
285 st_value = bswap32(symtab[idx].st_value); in readSymbols()
286 st_size = bswap32(symtab[idx].st_size); in readSymbols()
287 st_shndx = bswap16(symtab[idx].st_shndx); in readSymbols()
447 for (size_t idx=0; idx < entsize; ++idx) { in readRela() local
452 r_offset = relaTab[idx].r_offset; in readRela()
453 r_info = relaTab[idx].r_info; in readRela()
454 r_addend = relaTab[idx].r_addend; in readRela()
457 r_offset = bswap32(relaTab[idx].r_offset); in readRela()
458 r_info = bswap32(relaTab[idx].r_info); in readRela()
459 r_addend = bswap32(relaTab[idx].r_addend); in readRela()
496 for (size_t idx=0; idx < entsize; ++idx) { in readRel() local
500 r_offset = relTab[idx].r_offset; in readRel()
501 r_info = relTab[idx].r_info; in readRel()
504 r_offset = bswap32(relTab[idx].r_offset); in readRel()
505 r_info = bswap32(relTab[idx].r_info); in readRel()
560 for (size_t idx = 0; idx < numOfEntries; ++idx) { in readDynamic() local
566 d_tag = dynamic[idx].d_tag; in readDynamic()
567 d_val = dynamic[idx].d_un.d_val; in readDynamic()
569 d_tag = bswap32(dynamic[idx].d_tag); in readDynamic()
570 d_val = bswap32(dynamic[idx].d_un.d_val); in readDynamic()