Searched refs:phdr (Results 1 – 1 of 1) sorted by relevance
64 elf_phdr* phdr; member142 static int elf_write_segment_header(core_dump_elf_t *self, elf_phdr* phdr) in elf_write_segment_header() argument144 ELF_CHECK_ERR(phdr, ELF_PROC_ERR_SKIP_HEADER, in elf_write_segment_header()147 phdr->p_offset = self->elf_next_data_offset; in elf_write_segment_header()149 esp_err_t err = self->write_cfg->write(self->write_cfg->priv, (void*)phdr, sizeof(elf_phdr)); in elf_write_segment_header()153 sizeof(elf_phdr), phdr->p_type, phdr->p_filesz, phdr->p_offset); in elf_write_segment_header()