Lines Matching refs:elfclass
103 uint_fast8_t *elfclass, uint_fast8_t *elfdata) in auxv_format_probe() argument
109 *elfclass = ELFCLASS64; in auxv_format_probe()
116 *elfclass = ELFCLASS32; in auxv_format_probe()
223 addrsize (uint_fast8_t elfclass) in addrsize() argument
225 return elfclass * 4; in addrsize()
248 uint_fast8_t elfclass, uint_fast8_t elfdata, in read_addrs() argument
253 size_t nb = n * addrsize (elfclass); /* Address words -> bytes to read. */ in read_addrs()
275 if (elfclass == ELFCLASS32) in read_addrs()
310 report_r_debug (uint_fast8_t elfclass, uint_fast8_t elfdata, in report_r_debug() argument
317 GElf_Addr read_vaddr = r_debug_vaddr + addrsize (elfclass); in report_r_debug()
324 if (unlikely (read_addrs (&memory_closure, elfclass, elfdata, in report_r_debug()
341 if (read_addrs (&memory_closure, elfclass, elfdata, in report_r_debug()
532 uint_fast8_t *elfclass, uint_fast8_t *elfdata, in consider_executable() argument
678 if (*elfclass == ELFCLASSNONE) in consider_executable()
679 *elfclass = ehdr.e_ident[EI_CLASS]; in consider_executable()
680 else if (*elfclass != ehdr.e_ident[EI_CLASS]) in consider_executable()
698 uint_fast8_t *elfclass, uint_fast8_t *elfdata, in find_executable() argument
706 elfclass, elfdata, in find_executable()
725 uint_fast8_t elfclass = ELFCLASSNONE; in dwfl_link_map_report() local
728 && likely (auxv_format_probe (auxv, auxv_size, &elfclass, &elfdata))) in dwfl_link_map_report()
767 if (elfclass == ELFCLASS32) in dwfl_link_map_report()
895 if (likely ((elfclass == ELFCLASS32 in dwfl_link_map_report()
899 bool is32 = (elfclass == ELFCLASS32); in dwfl_link_map_report()
958 &elfclass, &elfdata, in dwfl_link_map_report()
962 &elfclass, &elfdata, in dwfl_link_map_report()
1000 if (likely ((elfclass == ELFCLASS32 in dwfl_link_map_report()
1005 if (elfclass == ELFCLASS32) in dwfl_link_map_report()
1036 r_debug_vaddr = find_executable (dwfl, 0, 0, &elfclass, &elfdata, in dwfl_link_map_report()
1054 return report_r_debug (elfclass, elfdata, dwfl, r_debug_vaddr, in dwfl_link_map_report()