Home | History | Annotate | Download | only in libdwfl

Lines Matching defs:id

1 /* Find an ELF file for a module from its build ID.
66 const uint8_t *id = mod->build_id_bits;
68 /* Search debuginfo_path directories' .build-id/ subdirectories. */
70 char id_name[sizeof "/.build-id/" + 1 + id_len * 2 + sizeof ".debug" - 1];
71 strcpy (id_name, "/.build-id/");
72 int n = snprintf (&id_name[sizeof "/.build-id/" - 1],
73 4, "%02" PRIx8 "/", (uint8_t) id[0]);
77 n = snprintf (&id_name[sizeof "/.build-id/" - 1 + 3 + (i - 1) * 2],
78 3, "%02" PRIx8, (uint8_t) id[i]);
82 strcpy (&id_name[sizeof "/.build-id/" - 1 + 3 + (id_len - 1) * 2],
157 /* This is a backdoor signal to short-circuit the ID refresh. */
161 /* This file does not contain the ID it should! */