Searched refs:phsize (Results 1 – 8 of 8) sorted by relevance
/third_party/musl/porting/linux/user/ldso/ |
D | dynlink_rand.h | 54 size_t phsize; member
|
D | dynlink.c | 1424 size_t phsize; in map_library() local 1446 phsize = eh->e_phentsize * eh->e_phnum; in map_library() 1447 if (phsize > sizeof buf - sizeof *eh) { in map_library() 1448 allocated_buf = malloc(phsize); in map_library() 1450 l = pread(fd, allocated_buf, phsize, eh->e_phoff); in map_library() 1452 if (l != phsize) goto noexec; in map_library() 1454 } else if (eh->e_phoff + phsize > l) { in map_library() 1455 l = pread(fd, buf+1, phsize, eh->e_phoff); in map_library() 1457 if (l != phsize) goto noexec; in map_library() 1619 && eh->e_phoff+phsize <= ph->p_offset+ph->p_filesz) { in map_library() [all …]
|
/third_party/musl/ldso/linux/ |
D | dynlink_rand.h | 54 size_t phsize; member
|
D | dynlink.c | 1424 size_t phsize; in map_library() local 1446 phsize = eh->e_phentsize * eh->e_phnum; in map_library() 1447 if (phsize > sizeof buf - sizeof *eh) { in map_library() 1448 allocated_buf = malloc(phsize); in map_library() 1450 l = pread(fd, allocated_buf, phsize, eh->e_phoff); in map_library() 1452 if (l != phsize) goto noexec; in map_library() 1454 } else if (eh->e_phoff + phsize > l) { in map_library() 1455 l = pread(fd, buf+1, phsize, eh->e_phoff); in map_library() 1457 if (l != phsize) goto noexec; in map_library() 1619 && eh->e_phoff+phsize <= ph->p_offset+ph->p_filesz) { in map_library() [all …]
|
/third_party/musl/porting/liteos_a/user/ldso/ |
D | dynlink.c | 625 size_t phsize; in map_library() local 643 phsize = eh->e_phentsize * eh->e_phnum; in map_library() 644 if (phsize > sizeof buf - sizeof *eh) { in map_library() 645 allocated_buf = malloc(phsize); in map_library() 647 l = pread(fd, allocated_buf, phsize, eh->e_phoff); in map_library() 649 if (l != phsize) goto noexec; in map_library() 651 } else if (eh->e_phoff + phsize > l) { in map_library() 652 l = pread(fd, buf+1, phsize, eh->e_phoff); in map_library() 654 if (l != phsize) goto noexec; in map_library() 762 && eh->e_phoff+phsize <= ph->p_offset+ph->p_filesz) { in map_library()
|
/third_party/musl/porting/liteos_a/user_debug/ldso/ |
D | dynlink.c | 625 size_t phsize; in map_library() local 643 phsize = eh->e_phentsize * eh->e_phnum; in map_library() 644 if (phsize > sizeof buf - sizeof *eh) { in map_library() 645 allocated_buf = malloc(phsize); in map_library() 647 l = pread(fd, allocated_buf, phsize, eh->e_phoff); in map_library() 649 if (l != phsize) goto noexec; in map_library() 651 } else if (eh->e_phoff + phsize > l) { in map_library() 652 l = pread(fd, buf+1, phsize, eh->e_phoff); in map_library() 654 if (l != phsize) goto noexec; in map_library() 762 && eh->e_phoff+phsize <= ph->p_offset+ph->p_filesz) { in map_library()
|
/third_party/musl/ldso/ |
D | dynlink.c | 629 size_t phsize; in map_library() local 647 phsize = eh->e_phentsize * eh->e_phnum; in map_library() 648 if (phsize > sizeof buf - sizeof *eh) { in map_library() 649 allocated_buf = malloc(phsize); in map_library() 651 l = pread(fd, allocated_buf, phsize, eh->e_phoff); in map_library() 653 if (l != phsize) goto noexec; in map_library() 655 } else if (eh->e_phoff + phsize > l) { in map_library() 656 l = pread(fd, buf+1, phsize, eh->e_phoff); in map_library() 658 if (l != phsize) goto noexec; in map_library() 766 && eh->e_phoff+phsize <= ph->p_offset+ph->p_filesz) { in map_library()
|
/third_party/elfutils/src/ |
D | unstrip.c | 1160 size_t phsize = gelf_fsize (main, ELF_T_PHDR, phnum, EV_CURRENT); in find_alloc_sections_prelink() local 1161 src.d_buf += src.d_size + phsize; in find_alloc_sections_prelink()
|