Searched refs:elfhdr (Results 1 – 2 of 2) sorted by relevance
104 elfhdr elf_hdr; // declare as static to save stack space in elf_write_file_header()108 memset(&elf_hdr, 0, sizeof(elfhdr)); in elf_write_file_header()123 _Static_assert(sizeof(elfhdr) == ELF_HLEN, "Invalid ELF header struct length!"); in elf_write_file_header()124 elf_hdr.e_phoff = sizeof(elfhdr); // program header table's file offset in bytes. in elf_write_file_header()128 elf_hdr.e_ehsize = sizeof(elfhdr); // elf header size in elf_write_file_header()624 self.elf_next_data_offset = sizeof(elfhdr) + ELF_SEG_HEADERS_COUNT(&self) * sizeof(elf_phdr); in esp_core_dump_write_elf()632 self.elf_next_data_offset = sizeof(elfhdr) + ELF_SEG_HEADERS_COUNT(&self) * sizeof(elf_phdr); in esp_core_dump_write_elf()726 elfhdr *eh = (elfhdr *)ptr; in esp_core_dump_get_summary()
345 #define elfhdr Elf32_Ehdr macro352 #define elfhdr Elf64_Ehdr macro