Home | History | Annotate | Download | only in libdwfl

Lines Matching defs:id

1 /* Find an ELF file for a module from its build ID.
38 const size_t id_len, const uint8_t *id)
50 /* Search debuginfo_path directories' .build-id/ subdirectories. */
52 char id_name[sizeof "/.build-id/" + 1 + MAX_BUILD_ID_BYTES * 2
54 strcpy (id_name, "/.build-id/");
55 int n = snprintf (&id_name[sizeof "/.build-id/" - 1],
56 4, "%02" PRIx8 "/", (uint8_t) id[0]);
60 n = snprintf (&id_name[sizeof "/.build-id/" - 1 + 3 + (i - 1) * 2],
61 3, "%02" PRIx8, (uint8_t) id[i]);
65 strcpy (&id_name[sizeof "/.build-id/" - 1 + 3 + (id_len - 1) * 2],
130 const uint8_t *id = mod->build_id_bits;
132 return __libdwfl_open_by_build_id (mod, debug, file_name, id_len, id);
170 /* This is a backdoor signal to short-circuit the ID refresh. */
176 /* This file does not contain the ID it should! */
187 the build ID is authoritative even if we also know a