Lines Matching defs:FIND
1125 /* Try to find and map in a debuginfo file by some totally ad-hoc
1144 find the file /sdcard/symbols/path/to/object. So for example it
1203 /* Try to find a separate debug file for a given object file. If
1292 /* Find the file offset corresponding to SVMA by using the program
1320 object/exe specified by the DebugInfo, find ELF sections, then read
1493 /* Find where the program and section header tables are, and give
1539 /* Also find the section header's string table, and validate. */
1561 - find (or fake up) the .soname for this object.
1677 find a soname, add a fake one. */
1767 /* make sure we don't assert if we find */ \
1774 /* Find avma-s for: .text .data .sdata .rodata .bss .sbss .plt .got .opd
2133 /* Find interesting sections, read the symbol table(s), read any debug
2197 /* Find all interesting sections */
2201 /* What FIND does: it finds the section called _SEC_NAME. The
2241 # define FIND(_sec_name, _sec_size, _sec_img) \
2245 FIND(".dynsym", dynsym_sz, dynsym_img)
2246 FIND(".dynstr", dynstr_sz, dynstr_img)
2247 FIND(".symtab", symtab_sz, symtab_img)
2248 FIND(".strtab", strtab_sz, strtab_img)
2250 FIND(".gnu_debuglink", debuglink_sz, debuglink_img)
2251 FIND(".gnu_debugaltlink", debugaltlink_sz, debugaltlink_img)
2253 FIND(".stab", stab_sz, stab_img)
2254 FIND(".stabstr", stabstr_sz, stabstr_img)
2256 FIND(".debug_line", debug_line_sz, debug_line_img)
2257 FIND(".debug_info", debug_info_sz, debug_info_img)
2258 FIND(".debug_types", debug_types_sz, debug_types_img)
2259 FIND(".debug_abbrev", debug_abbv_sz, debug_abbv_img)
2260 FIND(".debug_str", debug_str_sz, debug_str_img)
2261 FIND(".debug_ranges", debug_ranges_sz, debug_ranges_img)
2262 FIND(".debug_loc", debug_loc_sz, debug_loc_img)
2263 FIND(".debug_frame", debug_frame_sz, debug_frame_img)
2265 FIND(".debug", dwarf1d_sz, dwarf1d_img)
2266 FIND(".line", dwarf1l_sz, dwarf1l_img)
2268 FIND(".opd", opd_sz_unused, opd_img)
2288 # undef FIND
2292 /* Now, see if we can find a debuginfo object, and if so map it in, and
2311 /* See if we can find a matching debug file */
2315 /* See if we can find a matching debug file */
2382 /* Also find the section header's string table, and validate. */
2431 /* Find all interesting sections */
2434 /* Find debug svma and bias information for sections
2437 # define FIND(sec, seg) \
2464 FIND(text, rx)
2465 FIND(data, rw)
2466 FIND(sdata, rw)
2467 FIND(rodata, rw)
2468 FIND(bss, rw)
2469 FIND(sbss, rw)
2471 # undef FIND
2473 /* Same deal as previous FIND, except only do it for those
2474 sections for which we didn't find anything useful in
2477 # define FIND(condition, sec_name, sec_size, sec_img) \
2504 FIND(need_symtab, ".symtab", symtab_sz, symtab_img)
2505 FIND(need_symtab, ".strtab", strtab_sz, strtab_img)
2506 FIND(need_stabs, ".stab", stab_sz, stab_img)
2507 FIND(need_stabs, ".stabstr", stabstr_sz, stabstr_img)
2508 FIND(need_dwarf2, ".debug_line", debug_line_sz, debug_line_img)
2509 FIND(need_dwarf2, ".debug_info", debug_info_sz, debug_info_img)
2510 FIND(need_dwarf2, ".debug_types", debug_types_sz,
2512 FIND(need_dwarf2, ".debug_abbrev", debug_abbv_sz, debug_abbv_img)
2513 FIND(need_dwarf2, ".debug_str", debug_str_sz, debug_str_img)
2514 FIND(need_dwarf2, ".debug_ranges", debug_ranges_sz,
2516 FIND(need_dwarf2, ".debug_loc", debug_loc_sz, debug_loc_img)
2517 FIND(need_dwarf2, ".debug_frame", debug_frame_sz,
2519 FIND(need_dwarf2, ".gnu_debugaltlink", debugaltlink_sz,
2521 FIND(need_dwarf1, ".debug", dwarf1d_sz, dwarf1d_img)
2522 FIND(need_dwarf1, ".line", dwarf1l_sz, dwarf1l_img)
2524 # undef FIND
2525 } /* Find all interesting sections */
2543 /* See if we can find a matching debug file */
2575 /* Also find the section header's string table, and validate. */
2592 /* Find all interesting sections */
2595 # define FIND(sec_name, sec_size, sec_img) \
2612 FIND(".debug_line", debug_line_alt_sz, debug_line_alt_img)
2613 FIND(".debug_info", debug_info_alt_sz, debug_info_alt_img)
2614 FIND(".debug_abbrev", debug_abbv_alt_sz, debug_abbv_alt_img)
2615 FIND(".debug_str", debug_str_alt_sz, debug_str_alt_img)
2617 # undef FIND
2618 } /* Find all interesting sections */
2733 } /* "Find interesting sections, read the symbol table(s), read any debug