Home
last modified time | relevance | path

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

/third_party/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()
88 if (mod->build_id_len == 0 && mod->main.elf != NULL) in dwfl_module_build_id()
94 mod->build_id_len = -1; /* Cache negative result. */ in dwfl_module_build_id()
99 if (mod->build_id_len <= 0) in dwfl_module_build_id()
104 return mod->build_id_len; in dwfl_module_build_id()
Ddebuginfod-client.c73 size_t build_id_len) in INTDEF()
76 if (build_id_len > 0) in INTDEF()
81 build_id_len, NULL); in INTDEF()
90 size_t build_id_len) in __libdwfl_debuginfod_find_debuginfo() argument
93 if (build_id_len > 0) in __libdwfl_debuginfod_find_debuginfo()
98 build_id_len, NULL); in __libdwfl_debuginfod_find_debuginfo()
Ddwfl_build_id_find_elf.c133 if (mod->build_id_len <= 0) in __libdwfl_open_mod_by_build_id()
136 const size_t id_len = mod->build_id_len; in __libdwfl_open_mod_by_build_id()
197 if (fd < 0 && mod->build_id_len > 0) in dwfl_build_id_find_elf()
200 mod->build_id_len); in dwfl_build_id_find_elf()
204 if (fd < 0 && errno == 0 && mod->build_id_len > 0) in dwfl_build_id_find_elf()
Ddwfl_build_id_find_debuginfo.c54 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, in dwfl_build_id_find_debuginfo() local
57 if (build_id_len > 0) in dwfl_build_id_find_debuginfo()
59 build_id_len, build_id); in dwfl_build_id_find_debuginfo()
75 if (alt_len > 0 && alt_len == build_id_len in dwfl_build_id_find_debuginfo()
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.c97 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, in validate() local
100 if (build_id_len > 0) in validate()
114 if (alt_len > 0 && alt_len == build_id_len in validate()
131 if (mod->build_id_len > 0) in validate()
DlibdwflP.h212 int build_id_len; /* -1 for prior failure, 0 if unset. */ member
534 int *build_id_len)
653 size_t build_id_len);
657 size_t build_id_len);
Dlink_map.c425 int build_id_len; in report_r_debug() local
430 &build_id_len) > 0 in report_r_debug()
445 build_id_vaddr, build_id_len, in report_r_debug()
454 if (memcmp (build_id_bits, buffer, build_id_len) != 0) in report_r_debug()
Ddwfl_module_getdwarf.c174 assert (mod->build_id_len > 0); in mod_verify_build_id()
230 mod->build_id_len = 0; in __libdwfl_getelf()
560 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, in find_debug_altlink() local
564 if (build_id_len > 0) in find_debug_altlink()
Dcore-file.c226 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()
DChangeLog1962 build_id_elfaddr and build_id_len. Verify MOD vs. ELF.
3022 build_id_len, build_id_vaddr. Declare __libdwfl_find_build_id.
/third_party/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()
/third_party/elfutils/debuginfod/
Ddebuginfod-find.c147 int build_id_len = 0; /* assume text */ in main() local
182 build_id_len = s; in main()
196 build_id, build_id_len, in main()
200 build_id, build_id_len, in main()
210 build_id, build_id_len, in main()
221 rc = debuginfod_find_section(client, build_id, build_id_len, in main()
Ddebuginfod.h.in57 the specified type and build id. If build_id_len == 0, the
68 int build_id_len,
73 int build_id_len,
78 int build_id_len,
84 int build_id_len,
Ddebuginfod-client.c827 int build_id_len, in debuginfod_query_server() argument
862 if (build_id_len == 0) /* expect clean hexadecimal */ in debuginfod_query_server()
865 for (int i = 0; i < build_id_len; i++) in debuginfod_query_server()
933 if ((build_id_len >= MAX_BUILD_ID_BYTES) || in debuginfod_query_server()
934 (build_id_len == 0 && in debuginfod_query_server()
941 if (build_id_len == 0) /* expect clean hexadecimal */ in debuginfod_query_server()
944 for (int i = 0; i < build_id_len; i++) in debuginfod_query_server()
1883 const unsigned char *build_id, int build_id_len, in debuginfod_find_debuginfo() argument
1886 return debuginfod_query_server(client, build_id, build_id_len, in debuginfod_find_debuginfo()
1894 const unsigned char *build_id, int build_id_len, in debuginfod_find_executable() argument
[all …]
/third_party/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()
/third_party/mesa3d/src/intel/compiler/
Dintel_clc.c63 unsigned build_id_len = build_id_length(note); in get_disk_cache() local
64 if (build_id_len < 20) { in get_disk_cache()
72 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in get_disk_cache()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_screen.c950 unsigned build_id_len = build_id_length(note); in virgl_disk_cache_create() local
951 assert(note && build_id_len == 20); /* sha1 */ in virgl_disk_cache_create()
958 _mesa_sha1_update(&sha1_ctx, id_sha1, build_id_len); in virgl_disk_cache_create()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_device.c255 unsigned build_id_len; in pvr_physical_device_init_uuids() local
267 build_id_len = build_id_length(note); in pvr_physical_device_init_uuids()
268 if (build_id_len < 20) { in pvr_physical_device_init_uuids()
277 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in pvr_physical_device_init_uuids()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_device.c655 unsigned build_id_len = build_id_length(note); in init_uuids() local
656 if (build_id_len < 20) { in init_uuids()
675 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in init_uuids()
/third_party/mesa3d/src/intel/vulkan/
Danv_device.c546 unsigned build_id_len = build_id_length(note); in anv_physical_device_init_uuids() local
547 if (build_id_len < 20) { in anv_physical_device_init_uuids()
562 _mesa_sha1_update(&sha1_ctx, build_id_data(note), build_id_len); in anv_physical_device_init_uuids()