Home
last modified time | relevance | path

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

/freebsd/contrib/elftoolchain/libelf/
H A Delf_next.c53 next = e->e_rawfile - parent->e_rawfile + (off_t) e->e_rawsize; in elf_next()
60 parent->e_u.e_ar.e_next = (next >= (off_t) parent->e_rawsize) ? in elf_next()
72 if (next > (off_t) parent->e_rawsize) { in elf_next()
H A Delf_rand.c42 offset >= ar->e_rawsize) { in elf_rand()
50 offset_of_member >= ar->e_rawsize) { in elf_rand()
H A Dlibelf_ar.c132 (uintptr_t) parent->e_rawsize - sizeof(struct ar_hdr)) { in _libelf_ar_gethdr()
234 end > (off_t) elf->e_rawsize) { in _libelf_ar_open_member()
256 end > (off_t) elf->e_rawsize) { in _libelf_ar_open_member()
377 (off_t) fileoffset >= e->e_rawsize) in _libelf_ar_process_bsd_symtab()
468 if (off >= e->e_rawsize) in _libelf_ar_process_svr4_symtab()
H A Dlibelf_ar_util.c91 (const unsigned char *) arh < ar->e_rawfile + ar->e_rawsize); in _libelf_ar_get_translated_name()
246 end = e->e_rawfile + e->e_rawsize; in _libelf_ar_open()
248 assert(e->e_rawsize > 0); in _libelf_ar_open()
H A Delf_rawfile.c46 *sz = e ? (size_t) e->e_rawsize : 0; in elf_rawfile()
H A Delf_getident.c57 *sz = (size_t) e->e_rawsize; in elf_getident()
H A Delf_scn.c74 uintmax_t rawsize = (uintmax_t) e->e_rawsize; \ in _libelf_load_section_headers()
75 if (shoff > (uintmax_t) e->e_rawsize || \ in _libelf_load_section_headers()
H A Dlibelf_ehdr.c59 if ((uint64_t) e->e_rawsize < shoff + fsz) { in _libelf_load_extended()
146 if (e->e_cmd != ELF_C_WRITE && e->e_rawsize < (off_t) fsz) { in _libelf_ehdr()
H A Delf_end.c83 (void) munmap(e->e_rawfile, (size_t) e->e_rawsize); in elf_end()
H A Dlibelf_memory.c57 e->e_rawsize = (off_t) sz; in _libelf_memory()
H A Delf_data.c95 raw_size = (uint64_t) e->e_rawsize; in elf_getdata()
259 raw_size = (uint64_t) e->e_rawsize; in elf_rawdata()
H A Dlibelf_phdr.c85 if ((uint64_t) e->e_rawsize < (phoff + fsz)) { in _libelf_getphdr()
H A D_libelf.h97 off_t e_rawsize; /* size of uninterpreted bytes */ member
H A Delf_update.c1107 if (munmap(e->e_rawfile, (size_t) e->e_rawsize) < 0) { in _libelf_write_elf()
1150 e->e_rawsize = newsize; in _libelf_write_elf()