Home
last modified time | relevance | path

Searched refs:shsize (Results 1 – 25 of 171) sorted by relevance

1234567

/dports/misc/rump/buildrump.sh-b914579/src/sys/compat/linux/common/
H A Dlinux_exec_elf32.c96 size_t shsize; in ELFNAME2() local
105 shsize = eh->e_shnum * sizeof(Elf_Shdr); in ELFNAME2()
106 sh = (Elf_Shdr *) malloc(shsize, M_TEMP, M_WAITOK); in ELFNAME2()
107 error = exec_read_from(l, epp->ep_vp, eh->e_shoff, sh, shsize); in ELFNAME2()
162 size_t shsize; in ELFNAME2() local
169 shsize = eh->e_shnum * sizeof(Elf_Shdr); in ELFNAME2()
170 sh = (Elf_Shdr *) malloc(shsize, M_TEMP, M_WAITOK); in ELFNAME2()
171 error = exec_read_from(l, epp->ep_vp, eh->e_shoff, sh, shsize); in ELFNAME2()
219 size_t shsize; in ELFNAME2() local
228 shsize = eh->e_shnum * sizeof(Elf_Shdr); in ELFNAME2()
[all …]
/dports/sysutils/magicrescue/magicrescue-1.1.10/tools/
H A Delfextract.pl14 my ($offset, $shsize, $shcount) = (0, 0, 0);
17 elsif (/Size of section headers.*?(\d+)/) { $shsize = $1 }
23 my $size = $offset + $shsize * $shcount;
24 if ($offset and $shsize and $shcount
/dports/misc/rump/buildrump.sh-b914579/src/sys/compat/ibcs2/
H A Dibcs2_exec_elf32.c79 size_t shsize = sizeof(Elf32_Shdr) * eh->e_shnum; in ibcs2_elf32_signature() local
86 if (shsize > 64 * 1024) in ibcs2_elf32_signature()
89 sh = (Elf32_Shdr *)malloc(shsize, M_TEMP, M_WAITOK); in ibcs2_elf32_signature()
92 shsize)) != 0) in ibcs2_elf32_signature()
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/src/trusted/validator/
H A Dncfileutil.c99 size_t shsize, phsize; in nc_load() local
239 shsize = ncf->shnum * sizeof(*ncf->sheaders); in nc_load()
240 ncf->sheaders = (Elf_Shdr *)calloc(1, shsize); in nc_load()
243 ncf->fname, shsize); in nc_load()
258 shsize = ncf->shnum * sizeof(shdr64[0]); in nc_load()
259 nread = readat(ncf, fd, shdr64, (off_t) shsize, (off_t) shoff); in nc_load()
260 if (nread < 0 || (size_t) nread < shsize) { in nc_load()
290 nread = readat(ncf, fd, ncf->sheaders, (off_t) shsize, (off_t) shoff); in nc_load()
291 if (nread < 0 || (size_t) nread < shsize) { in nc_load()
/dports/devel/elfcat/elfcat-0.1.8/src/elf/
H A Delfxx.rs218 let shsize = size_of::<ShdrT>(); in parse_shdrs() localVariable
221 let shdr = ShdrT::from_bytes(&buf[start..start + shsize], endianness)?; in parse_shdrs()
229 ranges.add_range(start, shsize, RangeType::SectionHeader(i as u32)); in parse_shdrs()
235 start += shsize; in parse_shdrs()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/test/tools/yaml2obj/ELF/
H A Dsection-address-assign.yaml18 # EXE-DSO-NEXT: [ 2] .text.shsize PROGBITS 0000000000001003 000043 001234 00 A 0 0 0
36 # REL-NEXT: [ 2] .text.shsize PROGBITS 0000000000000000 000043 001234 00 A 0 0 0
61 - Name: .text.shsize
/dports/devel/llvm11/llvm-11.0.1.src/test/tools/yaml2obj/ELF/
H A Dsection-address-assign.yaml18 # EXE-DSO-NEXT: [ 2] .text.shsize PROGBITS 0000000000001003 000043 001234 00 A 0 0 0
36 # REL-NEXT: [ 2] .text.shsize PROGBITS 0000000000000000 000043 001234 00 A 0 0 0
61 - Name: .text.shsize
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/test/tools/yaml2obj/ELF/
H A Dsection-address-assign.yaml18 # EXE-DSO-NEXT: [ 2] .text.shsize PROGBITS 0000000000001003 000043 001234 00 A 0 0 0
36 # REL-NEXT: [ 2] .text.shsize PROGBITS 0000000000000000 000043 001234 00 A 0 0 0
60 - Name: .text.shsize
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/test/tools/yaml2obj/ELF/
H A Dsection-address-assign.yaml18 # EXE-DSO-NEXT: [ 2] .text.shsize PROGBITS 0000000000001003 000043 001234 00 A 0 0 0
36 # REL-NEXT: [ 2] .text.shsize PROGBITS 0000000000000000 000043 001234 00 A 0 0 0
60 - Name: .text.shsize
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/test/tools/yaml2obj/ELF/
H A Dsection-address-assign.yaml18 # EXE-DSO-NEXT: [ 2] .text.shsize PROGBITS 0000000000001003 000043 001234 00 A 0 0 0
36 # REL-NEXT: [ 2] .text.shsize PROGBITS 0000000000000000 000043 001234 00 A 0 0 0
60 - Name: .text.shsize
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/test/tools/yaml2obj/ELF/
H A Dsection-address-assign.yaml18 # EXE-DSO-NEXT: [ 2] .text.shsize PROGBITS 0000000000001003 000043 001234 00 A 0 0 0
36 # REL-NEXT: [ 2] .text.shsize PROGBITS 0000000000000000 000043 001234 00 A 0 0 0
60 - Name: .text.shsize
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/test/tools/yaml2obj/ELF/
H A Dsection-address-assign.yaml18 # EXE-DSO-NEXT: [ 2] .text.shsize PROGBITS 0000000000001003 000043 001234 00 A 0 0 0
36 # REL-NEXT: [ 2] .text.shsize PROGBITS 0000000000000000 000043 001234 00 A 0 0 0
60 - Name: .text.shsize
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/test/tools/yaml2obj/ELF/
H A Dsection-address-assign.yaml18 # EXE-DSO-NEXT: [ 2] .text.shsize PROGBITS 0000000000001003 000043 001234 00 A 0 0 0
36 # REL-NEXT: [ 2] .text.shsize PROGBITS 0000000000000000 000043 001234 00 A 0 0 0
60 - Name: .text.shsize
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/test/tools/yaml2obj/ELF/
H A Dsection-address-assign.yaml18 # EXE-DSO-NEXT: [ 2] .text.shsize PROGBITS 0000000000001003 000043 001234 00 A 0 0 0
36 # REL-NEXT: [ 2] .text.shsize PROGBITS 0000000000000000 000043 001234 00 A 0 0 0
60 - Name: .text.shsize
/dports/graphics/llvm-mesa/llvm-13.0.1.src/test/tools/yaml2obj/ELF/
H A Dsection-address-assign.yaml18 # EXE-DSO-NEXT: [ 2] .text.shsize PROGBITS 0000000000001003 000043 001234 00 A 0 0 0
36 # REL-NEXT: [ 2] .text.shsize PROGBITS 0000000000000000 000043 001234 00 A 0 0 0
60 - Name: .text.shsize
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/test/tools/yaml2obj/ELF/
H A Dsection-address-assign.yaml18 # EXE-DSO-NEXT: [ 2] .text.shsize PROGBITS 0000000000001003 000043 001234 00 A 0 0 0
36 # REL-NEXT: [ 2] .text.shsize PROGBITS 0000000000000000 000043 001234 00 A 0 0 0
60 - Name: .text.shsize
/dports/multimedia/libv4l/linux-5.13-rc2/net/ipv6/
H A Dseg6_hmac.c362 int shsize; in seg6_hmac_init_algo() local
380 shsize = sizeof(*shash) + crypto_shash_descsize(tfm); in seg6_hmac_init_algo()
387 shash = kzalloc_node(shsize, GFP_KERNEL, in seg6_hmac_init_algo()
/dports/multimedia/v4l_compat/linux-5.13-rc2/net/ipv6/
H A Dseg6_hmac.c362 int shsize; in seg6_hmac_init_algo() local
380 shsize = sizeof(*shash) + crypto_shash_descsize(tfm); in seg6_hmac_init_algo()
387 shash = kzalloc_node(shsize, GFP_KERNEL, in seg6_hmac_init_algo()
/dports/multimedia/v4l-utils/linux-5.13-rc2/net/ipv6/
H A Dseg6_hmac.c362 int shsize; in seg6_hmac_init_algo() local
380 shsize = sizeof(*shash) + crypto_shash_descsize(tfm); in seg6_hmac_init_algo()
387 shash = kzalloc_node(shsize, GFP_KERNEL, in seg6_hmac_init_algo()
/dports/sysutils/toybox/toybox-0.8.5/toys/posix/
H A Dfile.c37 phentsize, phnum, shsize, shnum; local
91 shsize = elf_int(toybuf+46+12*bits, 2);
134 if (shoff<0 || shoff>TT.len || shnum*shsize>TT.len-shoff) goto bad;
136 char *shdr = map+shoff+i*shsize;
/dports/audio/libmodplug/libmodplug-0.8.9.0/src/
H A Dload_xm.cpp46 DWORD shsize; member
295 xmsh.shsize = bswapLE32(xmsh.shsize); in ReadXM()
442 || (dwMemPos + xmsh.shsize > dwMemLength)) return TRUE; in ReadXM()
447 dwMemPos += xmsh.shsize; in ReadXM()
505 dwMemPos += (((UINT)xmsh.reserved2) - nsamples) * xmsh.shsize; in ReadXM()
768 xmsh.shsize = (xmih.samples) ? 40 : 0; in SaveXM()
825 fwrite(&xmss, 1, xmsh.shsize, f); in SaveXM()
/dports/audio/sdl2_mixer/SDL2_mixer-2.0.4/external/libmodplug-0.8.9.0/src/
H A Dload_xm.cpp46 DWORD shsize; member
295 xmsh.shsize = bswapLE32(xmsh.shsize); in ReadXM()
442 || (dwMemPos + xmsh.shsize > dwMemLength)) return TRUE; in ReadXM()
447 dwMemPos += xmsh.shsize; in ReadXM()
505 dwMemPos += (((UINT)xmsh.reserved2) - nsamples) * xmsh.shsize; in ReadXM()
768 xmsh.shsize = (xmih.samples) ? 40 : 0; in SaveXM()
825 fwrite(&xmss, 1, xmsh.shsize, f); in SaveXM()
/dports/audio/ocp/ocp-0.2.90/playxm/
H A Dxmload.c299 uint32_t shsize; in xmpLoadModule() member
399 ins2.shsize = uint32_little (ins2.shsize); in xmpLoadModule()
400 if (ins2.shsize==0) in xmpLoadModule()
403 ins2.shsize=0x28; in xmpLoadModule()
598 if (file->seek_cur (file, ins2.shsize - sizeof (samp)) < 0) in xmpLoadModule()
/dports/misc/rump/buildrump.sh-b914579/src/sys/kern/
H A Dexec_elf.c829 size_t shsize, nsize; in netbsd_elf_signature() local
845 shsize = eh->e_shnum * sizeof(Elf_Shdr); in netbsd_elf_signature()
846 sh = kmem_alloc(shsize, KM_SLEEP); in netbsd_elf_signature()
847 error = exec_read_from(l, epp->ep_vp, eh->e_shoff, sh, shsize); in netbsd_elf_signature()
1008 kmem_free(sh, shsize); in netbsd_elf_signature()
/dports/science/mpqc/mpqc-2.3.1/src/lib/chemistry/qc/wfn/
H A Ddensity.cc366 int shsize = basis_->shell(contrib_[i]).nfunction(); in compute_basis_values() local
368 if (bsh) bsh += 6 * shsize; in compute_basis_values()
369 if (bsg) bsg += 3 * shsize; in compute_basis_values()
370 if (bsv) bsv += shsize; in compute_basis_values()

1234567