Home
last modified time | relevance | path

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

/external/valgrind/coregrind/m_coredump/
Dcoredump-elf.c87 static void fill_ehdr(ESZ(Ehdr) *ehdr, Int num_phdrs) in fill_ehdr() argument
105 ehdr->e_phnum = num_phdrs; in fill_ehdr()
588 Int num_phdrs; in make_elf_coredump() local
640 num_phdrs = 1; /* start with notes */ in make_elf_coredump()
645 num_phdrs++; in make_elf_coredump()
648 fill_ehdr(&ehdr, num_phdrs); in make_elf_coredump()
653 phdrs = VG_(malloc)("coredump-elf.mec.1", sizeof(*phdrs) * num_phdrs); in make_elf_coredump()
684 off = sizeof(ehdr) + sizeof(*phdrs) * num_phdrs; in make_elf_coredump()
715 VG_(write)(core_fd, phdrs, sizeof(*phdrs) * num_phdrs); in make_elf_coredump()