Home
last modified time | relevance | path

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

/external/elfutils/libdwfl/
Ddwfl_module_build_id.c43 return 1 + (mod->build_id_len == len in found_build_id()
55 mod->build_id_len = len; in found_build_id()
65 int build_id_len; in __libdwfl_find_build_id() local
71 &build_id_elfaddr, &build_id_len); in __libdwfl_find_build_id()
77 return found_build_id (mod, set, build_id_bits, build_id_len, build_id_vaddr); in __libdwfl_find_build_id()
87 if (mod->build_id_len == 0 && mod->main.elf != NULL) in dwfl_module_build_id()
93 mod->build_id_len = -1; /* Cache negative result. */ in dwfl_module_build_id()
98 if (mod->build_id_len <= 0) in dwfl_module_build_id()
103 return mod->build_id_len; in dwfl_module_build_id()
Ddebuginfod-client.c61 size_t build_id_len) in __libdwfl_debuginfod_find_executable() argument
64 if (build_id_len > 0) in __libdwfl_debuginfod_find_executable()
69 build_id_len, NULL); in __libdwfl_debuginfod_find_executable()
78 size_t build_id_len) in __libdwfl_debuginfod_find_debuginfo() argument
81 if (build_id_len > 0) in __libdwfl_debuginfod_find_debuginfo()
86 build_id_len, NULL); in __libdwfl_debuginfod_find_debuginfo()
Ddwfl_build_id_find_debuginfo.c56 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, in dwfl_build_id_find_debuginfo() local
59 if (build_id_len > 0) in dwfl_build_id_find_debuginfo()
61 build_id_len, build_id); in dwfl_build_id_find_debuginfo()
77 if (alt_len > 0 && alt_len == build_id_len in dwfl_build_id_find_debuginfo()
Ddwfl_build_id_find_elf.c134 if (mod->build_id_len <= 0) in __libdwfl_open_mod_by_build_id()
137 const size_t id_len = mod->build_id_len; in __libdwfl_open_mod_by_build_id()
198 if (fd < 0 && mod->build_id_len > 0) in dwfl_build_id_find_elf()
201 mod->build_id_len); in dwfl_build_id_find_elf()
205 if (fd < 0 && errno == 0 && mod->build_id_len > 0) in dwfl_build_id_find_elf()
Ddwfl_module_report_build_id.c49 if ((size_t) mod->build_id_len == len in dwfl_module_report_build_id()
79 mod->build_id_len = len; in dwfl_module_report_build_id()
Dfind-debuginfo.c98 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, in validate() local
101 if (build_id_len > 0) in validate()
115 if (alt_len > 0 && alt_len == build_id_len in validate()
132 if (mod->build_id_len > 0) in validate()
DlibdwflP.h211 int build_id_len; /* -1 for prior failure, 0 if unset. */ member
531 int *build_id_len)
645 size_t build_id_len);
649 size_t build_id_len);
Dlink_map.c426 int build_id_len; in report_r_debug() local
431 &build_id_len) > 0 in report_r_debug()
446 build_id_vaddr, build_id_len, in report_r_debug()
455 if (memcmp (build_id_bits, buffer, build_id_len) != 0) in report_r_debug()
Ddwfl_module_getdwarf.c175 assert (mod->build_id_len > 0); in mod_verify_build_id()
231 mod->build_id_len = 0; in __libdwfl_getelf()
561 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, in find_debug_altlink() local
565 if (build_id_len > 0) in find_debug_altlink()
Dcore-file.c225 if (whole > MAX_EAGER_COST && mod->build_id_len > 0) in core_file_read_eagerly()
Dlinux-kernel-modules.c782 if (mod->build_id_len > 0) in dwfl_linux_kernel_find_elf()
DChangeLog1689 build_id_elfaddr and build_id_len. Verify MOD vs. ELF.
2749 build_id_len, build_id_vaddr. Declare __libdwfl_find_build_id.
/external/elfutils/libdwelf/
Ddwelf_elf_gnu_build_id.c41 int *build_id_len) in check_notes() argument
55 *build_id_len = nhdr.n_descsz; in check_notes()
66 int *build_id_len) in find_elf_build_id() argument
97 build_id_len); in find_elf_build_id()
119 build_id_len); in find_elf_build_id()
131 GElf_Addr *build_id_elfaddr, int *build_id_len) in __libdwfl_find_elf_build_id() argument
143 build_id_bits, build_id_elfaddr, build_id_len); in __libdwfl_find_elf_build_id()
150 int build_id_len; in dwelf_elf_gnu_build_id() local
152 &build_id_elfaddr, &build_id_len); in dwelf_elf_gnu_build_id()
154 return build_id_len; in dwelf_elf_gnu_build_id()
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()
/external/elfutils/debuginfod/
Ddebuginfod-find.c144 int build_id_len = 0; /* assume text */ in main() local
179 build_id_len = s; in main()
193 build_id, build_id_len, in main()
197 build_id, build_id_len, in main()
207 build_id, build_id_len, in main()
Ddebuginfod-client.c493 int build_id_len, in debuginfod_query_server() argument
514 if (build_id_len == 0) /* expect clean hexadecimal */ in debuginfod_query_server()
517 for (int i = 0; i < build_id_len; i++) in debuginfod_query_server()
545 if ((build_id_len >= MAX_BUILD_ID_BYTES) || in debuginfod_query_server()
546 (build_id_len == 0 && in debuginfod_query_server()
553 if (build_id_len == 0) /* expect clean hexadecimal */ in debuginfod_query_server()
556 for (int i = 0; i < build_id_len; i++) in debuginfod_query_server()
1175 const unsigned char *build_id, int build_id_len, in debuginfod_find_debuginfo() argument
1178 return debuginfod_query_server(client, build_id, build_id_len, in debuginfod_find_debuginfo()
1186 const unsigned char *build_id, int build_id_len, in debuginfod_find_executable() argument
[all …]
Ddebuginfod.h.in53 the specified type and build id. If build_id_len == 0, the
64 int build_id_len,
69 int build_id_len,
74 int build_id_len,
/external/elfutils/libdw/
Ddwarf_getalt.c103 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (dbg, in find_debug_altlink() local
108 if (build_id_len <= 0) in find_debug_altlink()
112 size_t id_len = build_id_len; in find_debug_altlink()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c403 unsigned build_id_len = build_id_length(note); in init_uuids() local
404 if (build_id_len < 20) { in init_uuids()
421 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in init_uuids()
/external/mesa3d/src/intel/vulkan/
Danv_device.c230 unsigned build_id_len = build_id_length(note); in anv_physical_device_init_uuids() local
231 if (build_id_len < 20) { in anv_physical_device_init_uuids()
247 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in anv_physical_device_init_uuids()