Home
last modified time | relevance | path

Searched refs:build_id_len (Results 1 – 14 of 14) sorted by relevance

/external/elfutils/src/libdwfl/
Ddwfl_module_build_id.c39 return 1 + (mod->build_id_len == len in found_build_id()
51 mod->build_id_len = len; in found_build_id()
61 int build_id_len; in __libdwfl_find_build_id() local
67 &build_id_elfaddr, &build_id_len); in __libdwfl_find_build_id()
73 return found_build_id (mod, set, build_id_bits, build_id_len, build_id_vaddr); in __libdwfl_find_build_id()
83 if (mod->build_id_len == 0 && mod->main.elf != NULL) in dwfl_module_build_id()
89 mod->build_id_len = -1; /* Cache negative result. */ in dwfl_module_build_id()
94 if (mod->build_id_len <= 0) in dwfl_module_build_id()
99 return mod->build_id_len; in dwfl_module_build_id()
Ddwfl_build_id_find_debuginfo.c52 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, in dwfl_build_id_find_debuginfo() local
55 if (build_id_len > 0) in dwfl_build_id_find_debuginfo()
57 build_id_len, build_id); in dwfl_build_id_find_debuginfo()
73 if (alt_len > 0 && alt_len == build_id_len in dwfl_build_id_find_debuginfo()
Ddwfl_segment_report_module.c209 const void *build_id, size_t build_id_len) in invalid_elf() argument
211 if (! disk_file_has_build_id && build_id_len > 0) in invalid_elf()
218 if (disk_file_has_build_id && build_id_len > 0) in invalid_elf()
227 if (build_id_len != (size_t) elf_build_id_len in invalid_elf()
228 || memcmp (build_id, elf_build_id, build_id_len) != 0) in invalid_elf()
433 size_t build_id_len = 0; in dwfl_segment_report_module() local
483 build_id_len = nh->n_descsz; in dwfl_segment_report_module()
486 memcpy (build_id, note_desc, build_id_len); in dwfl_segment_report_module()
651 build_id, build_id_len)) in dwfl_segment_report_module()
686 build_id, build_id_len); in dwfl_segment_report_module()
[all …]
Ddwfl_build_id_find_elf.c110 if (mod->build_id_len <= 0) in __libdwfl_open_mod_by_build_id()
113 const size_t id_len = mod->build_id_len; in __libdwfl_open_mod_by_build_id()
166 else if (errno == 0 && mod->build_id_len > 0) in dwfl_build_id_find_elf()
Ddwfl_module_report_build_id.c45 if ((size_t) mod->build_id_len == len in dwfl_module_report_build_id()
75 mod->build_id_len = len; in dwfl_module_report_build_id()
Dfind-debuginfo.c93 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, in validate() local
96 if (build_id_len > 0) in validate()
110 if (alt_len > 0 && alt_len == build_id_len in validate()
127 if (mod->build_id_len > 0) in validate()
Dlink_map.c401 int build_id_len; in report_r_debug() local
406 &build_id_len) > 0 in report_r_debug()
420 build_id_vaddr, build_id_len, in report_r_debug()
429 if (memcmp (build_id_bits, buffer, build_id_len) != 0) in report_r_debug()
Ddwfl_module_getdwarf.c170 assert (mod->build_id_len > 0); in mod_verify_build_id()
226 mod->build_id_len = 0; in __libdwfl_getelf()
522 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, in find_debug_altlink() local
526 if (build_id_len > 0) in find_debug_altlink()
DlibdwflP.h203 int build_id_len; /* -1 for prior failure, 0 if unset. */ member
516 int *build_id_len)
Dcore-file.c215 if (mod->build_id_len > 0) in core_file_read_eagerly()
Dlinux-kernel-modules.c661 if (mod->build_id_len > 0) in INTDEF()
DChangeLog734 build_id_elfaddr and build_id_len. Verify MOD vs. ELF.
1794 build_id_len, build_id_vaddr. Declare __libdwfl_find_build_id.
/external/elfutils/src/libdwelf/
Ddwelf_dwarf_gnu_debugaltlink.c52 size_t build_id_len = data->d_size - (ptr - data->d_buf + 1); in dwelf_dwarf_gnu_debugaltlink() local
53 if (build_id_len == 0 || (size_t) (ssize_t) build_id_len != build_id_len) in dwelf_dwarf_gnu_debugaltlink()
60 return build_id_len; in dwelf_dwarf_gnu_debugaltlink()
Ddwelf_elf_gnu_build_id.c43 int *build_id_len) in find_elf_build_id() argument
59 *build_id_len = nhdr.n_descsz; in find_elf_build_id()
120 GElf_Addr *build_id_elfaddr, int *build_id_len) in __libdwfl_find_elf_build_id() argument
132 build_id_bits, build_id_elfaddr, build_id_len); in __libdwfl_find_elf_build_id()
139 int build_id_len; in dwelf_elf_gnu_build_id() local
141 &build_id_elfaddr, &build_id_len); in dwelf_elf_gnu_build_id()
143 return build_id_len; in dwelf_elf_gnu_build_id()