Searched refs:num_sections (Results 1 – 5 of 5) sorted by relevance
71 unsigned int i, num_sections; in get_offset_from_address() local75 num_sections = x[0].sh_size; in get_offset_from_address()77 num_sections = hdr->e_shnum; in get_offset_from_address()79 for (i = 1; i < num_sections; i++) { in get_offset_from_address()187 unsigned int i, num_sections; in get_symbol_table() local191 num_sections = x[0].sh_size; in get_symbol_table()193 num_sections = hdr->e_shnum; in get_symbol_table()195 for (i = 1; i < num_sections; i++) in get_symbol_table()
112 unsigned int num_sections; in do_func() local117 num_sections = r2(&ehdr->e_shnum); in do_func()118 if (num_sections == SHN_UNDEF) in do_func()119 num_sections = _r(&shdr[0].sh_size); in do_func()127 for (i = 0; i < num_sections; i++) { in do_func()
153 unsigned int num_sections; /* max_secindex + 1 */ member
545 info->num_sections = TO_NATIVE(sechdrs[0].sh_size); in parse_elf()548 info->num_sections = hdr->e_shnum; in parse_elf()558 for (i = 0; i < info->num_sections; i++) { in parse_elf()572 for (i = 1; i < info->num_sections; i++) { in parse_elf()1634 if (section_index > elf->num_sections) in is_executable_section()1988 for (i = 0; i < elf->num_sections; i++) { in check_sec_ref()
1424 if (!sym->st_shndx || get_secindex(info, sym) >= info->num_sections) in handle_moddevtable()