Home
last modified time | relevance | path

Searched refs:notesz (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/gdb/gdb/
H A Dosabi.c367 unsigned long notesz; in check_note() local
371 notesz = 4 * 3; /* namelen, optlen, type */ in check_note()
372 notesz += strlen (name) + 1; in check_note()
373 notesz = ((notesz + 3) & ~3); in check_note()
376 gdb_assert (notesz <= MAX_NOTESZ); in check_note()
379 if (notesz > bfd_section_size (abfd, sect)) in check_note()
392 notesz += rdescsz; in check_note()
393 notesz = ((notesz + 3) & ~3); in check_note()
396 if (notesz > bfd_section_size (abfd, sect)) in check_note()
/freebsd-12.1/usr.bin/gcore/
H A Delfcore.c200 size_t hdrsize, notesz, segoff; in elf_coredump() local
238 elf_putnotes(pid, sb, &notesz); in elf_coredump()
246 elf_puthdr(efd, pid, map, hdr, hdrsize, notesz, segoff, seginfo.count); in elf_coredump()
442 size_t notesz, size_t segoff, int numsegs) in elf_puthdr() argument
516 phdr->p_filesz = notesz; in elf_puthdr()
/freebsd-12.1/sys/kern/
H A Dimgact_elf.c1567 size_t hdrsize, notesz, coresize; in __elfN() local
1584 __elfN(prepare_notes)(td, &notelst, &notesz); in __elfN()
1585 coresize = round_page(hdrsize + notesz) + seginfo.size; in __elfN()
1629 notesz); in __elfN()
1638 offset = round_page(hdrsize + notesz); in __elfN()
1777 size_t hdrsize, struct note_info_list *notelst, size_t notesz) in __elfN()
1785 __elfN(puthdr)(p->td, hdr, hdrsize, numsegs, notesz); in __elfN()
1863 size_t notesz) in __elfN()
1933 phdr->p_filesz = notesz; in __elfN()
1941 phc.offset = round_page(hdrsize + notesz); in __elfN()