/dports/devel/elfutils/elfutils-0.179/libdwfl/ |
H A D | elf-from-memory.c | 124 uint_fast16_t phentsize; in elf_from_remote_memory() local 139 phentsize = ehdr.e32.e_phentsize; in elf_from_remote_memory() 140 if (phentsize != sizeof (Elf32_Phdr) || phnum == 0) in elf_from_remote_memory() 156 phentsize = ehdr.e64.e_phentsize; in elf_from_remote_memory() 157 if (phentsize != sizeof (Elf64_Phdr) || phnum == 0) in elf_from_remote_memory() 172 xlatefrom.d_size = phnum * phentsize; in elf_from_remote_memory() 174 if ((size_t) nread >= phoff + phnum * phentsize) in elf_from_remote_memory() 181 if (initial_bufsize < (size_t)phnum * phentsize) in elf_from_remote_memory() 183 unsigned char *newbuf = realloc (buffer, phnum * phentsize); in elf_from_remote_memory() 193 phnum * phentsize, phnum * phentsize); in elf_from_remote_memory()
|
H A D | dwfl_segment_report_module.c | 343 uint_fast16_t phentsize; in dwfl_segment_report_module() local 370 phentsize = ehdr.e32.e_phentsize; in dwfl_segment_report_module() 371 if (phentsize != sizeof (Elf32_Phdr)) in dwfl_segment_report_module() 388 phentsize = ehdr.e64.e_phentsize; in dwfl_segment_report_module() 389 if (phentsize != sizeof (Elf64_Phdr)) in dwfl_segment_report_module() 407 xlatefrom.d_size = phnum * phentsize; in dwfl_segment_report_module() 591 && likely (filesz_offset >= phoff + phnum * phentsize)) in dwfl_segment_report_module()
|
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/firmware/usrp2/bin/ |
H A D | elf_to_sbf | 38 self.phentsize, self.phnum, self.shentsize, self.shnum, 94 phentsize = ehdr.phentsize 98 start = phoff + i * phentsize 99 end = start + phentsize
|
/dports/devel/radare2/radare2-5.1.1/test/db/cmd/ |
H A D | cmd_pf_elf | 169 phentsize : 0x0804802a = 32 198 phentsize : 0x00400036 = 56 230 phentsize : 0x0000002a = 32 329 "name": "phentsize", 384 phentsize : 0x00000036 = 56 406 …machine)machine (elf_obj_version)version entry phoff shoff flags ehsize phentsize phnum shentsize … 409 …machine)machine (elf_obj_version)version entry phoff shoff flags ehsize phentsize phnum shentsize … 412 …machine)machine (elf_obj_version)version entry phoff shoff flags ehsize phentsize phnum shentsize … 438 phentsize : 0x0000002a = 32 467 phentsize : 0x00000036 = 56
|
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/libmach/ |
H A D | elf.c | 32 uchar phentsize[2]; member 50 uchar phentsize[2]; member 229 p = mallocz(h->phentsize, 1); in elfinit() 231 if(seek(fd, h->phoff+i*h->phentsize, 0) < 0 in elfinit() 232 || readn(fd, p, h->phentsize) != h->phentsize) in elfinit() 358 h->phentsize = e2(b->phentsize); in unpackhdr() 375 h->phentsize = e2(b64->phentsize); in unpackhdr()
|
/dports/sysutils/syslinux/syslinux-6.03/efi/ |
H A D | wrapper.c | 169 __uint16_t phnum = 0, phentsize = 0; in main() local 202 phentsize = e32_hdr.e_phentsize; in main() 215 phentsize = e64_hdr.e_phentsize; in main() 246 fseek(f_in, phoff + i * phentsize, SEEK_SET); in main() 261 fseek(f_in, phoff + i * phentsize, SEEK_SET); in main()
|
/dports/sysutils/toybox/toybox-0.8.5/toys/posix/ |
H A D | file.c | 37 phentsize, phnum, shsize, shnum; local 88 phentsize = elf_int(toybuf+42+12*bits, 2); 97 if (phnum && (phentsize != 32+24*bits)) { 98 printf(", corrupt phentsize %d?", phentsize); 110 if (phoff<0 || phoff>TT.len || phnum*phentsize>TT.len-phoff) goto bad; 112 char *phdr = map+phoff+i*phentsize;
|
/dports/cad/py-pymtl/pymtl3-3.1.6/pymtl3/stdlib/proc/ |
H A D | elf.py | 129 self.phentsize = ehdr_list[9] 150 self.phentsize, 189 self.phentsize, 592 ehdr.phentsize = 0
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/pnacl/driver/ |
H A D | nativeld.py | 151 fp.seek(ehdr.phoff + ehdr.phentsize * i) 153 fp.write('\0' * ehdr.phentsize)
|
H A D | elftools.py | 83 self.phentsize = ehdr.e_phentsize 164 phdrs.append(ProgramHeader(fp.read(ehdr.phentsize), filename))
|
/dports/devel/bsdelf/elftoolchain-0.7.1/test/libelf/tset/common/ |
H A D | gelf_ehdr_template.h | 108 CHECK_FIELD(E,phentsize,0xB0B0); \ 140 COMPARE_FIELD(FN,H1,H2,phentsize); \
|
/dports/devel/elftoolchain/elftoolchain-0.7.1/test/libelf/tset/common/ |
H A D | gelf_ehdr_template.h | 108 CHECK_FIELD(E,phentsize,0xB0B0); \ 140 COMPARE_FIELD(FN,H1,H2,phentsize); \
|
/dports/security/clamav/clamav-0.104.2/libclamav/ |
H A D | elf.c | 213 uint16_t phnum, phentsize; in cli_elf_ph32() local 231 phentsize = file_hdr->e_phentsize; in cli_elf_ph32() 233 if (phentsize != sizeof(struct elf_program_hdr32)) { in cli_elf_ph32() 313 uint16_t phnum, phentsize; in cli_elf_ph64() local 331 phentsize = file_hdr->e_phentsize; in cli_elf_ph64() 333 if (phentsize != sizeof(struct elf_program_hdr64)) { in cli_elf_ph64()
|
/dports/security/clamav-lts/clamav-0.103.5/libclamav/ |
H A D | elf.c | 213 uint16_t phnum, phentsize; in cli_elf_ph32() local 231 phentsize = file_hdr->e_phentsize; in cli_elf_ph32() 233 if (phentsize != sizeof(struct elf_program_hdr32)) { in cli_elf_ph32() 313 uint16_t phnum, phentsize; in cli_elf_ph64() local 331 phentsize = file_hdr->e_phentsize; in cli_elf_ph64() 333 if (phentsize != sizeof(struct elf_program_hdr64)) { in cli_elf_ph64()
|
/dports/devel/elfutils/elfutils-0.179/tests/ |
H A D | elfshphehdr.c | 145 size_t phentsize = (class == ELFCLASS32 in test() local 147 check ("e_phentsize", ehdr.e_phentsize == phentsize); in test()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/tools/ |
H A D | elf.py | 383 if self.ehdr.phentsize < struct.calcsize(phdr_format_map[self.wordsize]): 388 size = self.ehdr.phentsize
|
/dports/sysutils/kldpatch/kldpatch/ |
H A D | elfdump.c | 545 u_int64_t phentsize = elf_get_quarter(e, e, E_PHENTSIZE); in elfdump_main() local 555 v = (char *)p + i * phentsize; in elfdump_main() 632 u_int64_t phentsize; in elf_print_ehdr() local 648 phentsize = elf_get_quarter(e, e, E_PHENTSIZE); in elf_print_ehdr() 666 fprintf(out, "\te_phentsize: %jd\n", (intmax_t)phentsize); in elf_print_ehdr() 676 u_int64_t phentsize; in elf_print_phdr() local 691 phentsize = elf_get_quarter(e, e, E_PHENTSIZE); in elf_print_phdr() 695 v = (const char *)p + i * phentsize; in elf_print_phdr()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/pnacl/driver/tests/ |
H A D | native_objects_test.py | 107 self.assertEqual(ehdr.phentsize, 56) 126 self.assertEqual(ehdr.phentsize, 32)
|
/dports/lang/zig-devel/zig-0.9.0/lib/libc/musl/ldso/ |
H A D | dlstart.c | 107 size_t phentsize = aux[AT_PHENT]; in _dlstart_c() local 109 for (i=phnum; i--; ph = (void *)((char *)ph + phentsize)) { in _dlstart_c()
|
/dports/devel/wasi-libc/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/libc-top-half/musl/ldso/ |
H A D | dlstart.c | 107 size_t phentsize = aux[AT_PHENT]; in _dlstart_c() local 109 for (i=phnum; i--; ph = (void *)((char *)ph + phentsize)) { in _dlstart_c()
|
/dports/lang/zig/zig-0.9.0/lib/libc/musl/ldso/ |
H A D | dlstart.c | 107 size_t phentsize = aux[AT_PHENT]; in _dlstart_c() local 109 for (i=phnum; i--; ph = (void *)((char *)ph + phentsize)) { in _dlstart_c()
|
/dports/devel/emscripten/emscripten-2.0.3/system/lib/libc/musl/ldso/ |
H A D | dlstart.c | 114 size_t phentsize = aux[AT_PHENT]; in _dlstart_c() local 116 for (i=phnum; i--; ph = (void *)((char *)ph + phentsize)) { in _dlstart_c()
|
/dports/devel/tinygo/tinygo-0.14.1/lib/wasi-libc/libc-top-half/musl/ldso/ |
H A D | dlstart.c | 107 size_t phentsize = aux[AT_PHENT]; in _dlstart_c() local 109 for (i=phnum; i--; ph = (void *)((char *)ph + phentsize)) { in _dlstart_c()
|
/dports/devel/elfsh/elfsh-0.51b3/testsuite/testscripts/ |
H A D | regression-tests.esh | 76 set 1.hdr.phentsize 2.hdr.shentsize 101 get 1.hdr.phentsize
|
/dports/sysutils/toybox/toybox-0.8.5/toys/other/ |
H A D | readelf.c | 39 int bits, endian, shnum, shentsize, phentsize; 141 char *phdr = TT.elf+TT.phoff+i*TT.phentsize; in get_ph() 143 if (phdr > TT.elf+TT.size-TT.phentsize) { in get_ph() 375 TT.phentsize = elf_short(&hdr); in scan_elf() 403 printf(" Size of program headers: %d (bytes)\n", TT.phentsize); in scan_elf()
|