Lines Matching refs:nhdr
12286 handle_core_note (Ebl *ebl, const GElf_Nhdr *nhdr, in handle_core_note() argument
12295 if (! ebl_core_note (ebl, nhdr, name, desc, in handle_core_note()
12304 nregloc == 0 ? nhdr->n_descsz : 0, in handle_core_note()
12325 GElf_Nhdr nhdr; in handle_notes_data() local
12330 &nhdr, &name_offset, &desc_offset)) > 0) in handle_notes_data()
12332 const char *name = nhdr.n_namesz == 0 ? "" : data->d_buf + name_offset; in handle_notes_data()
12344 ? strlen (print_name) : nhdr.n_namesz); in handle_notes_data()
12349 (int) print_namesz, print_name, nhdr.n_descsz, in handle_notes_data()
12351 ? ebl_core_note_type_name (ebl, nhdr.n_type, in handle_notes_data()
12353 : ebl_object_note_type_name (ebl, name, nhdr.n_type, in handle_notes_data()
12354 nhdr.n_descsz, in handle_notes_data()
12358 if (memchr (name, '\0', nhdr.n_namesz) != NULL in handle_notes_data()
12364 if (nhdr.n_type == NT_AUXV in handle_notes_data()
12365 && (nhdr.n_namesz == 4 /* Broken old Linux kernels. */ in handle_notes_data()
12366 || (nhdr.n_namesz == 5 && name[4] == '\0')) in handle_notes_data()
12368 handle_auxv_note (ebl, ebl->elf, nhdr.n_descsz, in handle_notes_data()
12370 else if (nhdr.n_namesz == 5 && strcmp (name, "CORE") == 0) in handle_notes_data()
12371 switch (nhdr.n_type) in handle_notes_data()
12374 handle_siginfo_note (ebl->elf, nhdr.n_descsz, in handle_notes_data()
12379 handle_file_note (ebl->elf, nhdr.n_descsz, in handle_notes_data()
12384 handle_core_note (ebl, &nhdr, name, desc); in handle_notes_data()
12387 handle_core_note (ebl, &nhdr, name, desc); in handle_notes_data()
12390 ebl_object_note (ebl, nhdr.n_namesz, name, nhdr.n_type, in handle_notes_data()
12391 nhdr.n_descsz, desc); in handle_notes_data()