/dports/devel/jwasm/JWasm-f0a2fdd/src/ |
H A D | elf.c | 936 Elf64_Shdr shdr64; in elf_write_section_table64() local 947 memset( &shdr64, 0, sizeof( shdr64) ); in elf_write_section_table64() 948 …if ( fwrite( &shdr64, 1, sizeof(shdr64), CurrFile[OBJ] ) != sizeof(shdr64) ) /* write the empty NU… in elf_write_section_table64() 958 memset( &shdr64, 0, sizeof(shdr64) ); in elf_write_section_table64() 984 shdr64.sh_addr = 0; in elf_write_section_table64() 992 shdr64.sh_link = 0; in elf_write_section_table64() 993 shdr64.sh_info = 0; in elf_write_section_table64() 997 if ( fwrite( &shdr64, 1, sizeof(shdr64), CurrFile[OBJ] ) != sizeof(shdr64) ) in elf_write_section_table64() 1035 if ( fwrite( &shdr64, 1, sizeof( shdr64 ), CurrFile[OBJ] ) != sizeof( shdr64 ) ) in elf_write_section_table64() 1048 memset( &shdr64, 0, sizeof(shdr64) ); in elf_write_section_table64() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/native_client/src/trusted/validator/ |
H A D | ncfileutil.c | 251 Elf64_Shdr *shdr64 = (Elf64_Shdr *)calloc(shnum, sizeof(shdr64[0])); in nc_load() local 252 if (NULL == shdr64) { in nc_load() 258 shsize = ncf->shnum * sizeof(shdr64[0]); in nc_load() 266 if (shdr64[i].sh_flags > 0xffffffffU || in nc_load() 267 shdr64[i].sh_size > 0xffffffffU || in nc_load() 268 shdr64[i].sh_addralign > 0xffffffffU || in nc_load() 269 shdr64[i].sh_entsize > 0xffffffffU) { in nc_load() 274 ncf->sheaders[i].sh_name = shdr64[i].sh_name; in nc_load() 275 ncf->sheaders[i].sh_type = shdr64[i].sh_type; in nc_load() 280 ncf->sheaders[i].sh_link = shdr64[i].sh_link; in nc_load() [all …]
|
/dports/emulators/gxemul/gxemul-0.6.3/src/main/fileloaders/ |
H A D | FileLoader_ELF.cc | 403 Elf64_Shdr* shdr64 = (Elf64_Shdr*) shdr_buf; in LoadIntoComponent() local 414 ELF_HEADER_VAR(shdr32, shdr64, uint64_t, sh_name); in LoadIntoComponent() 415 ELF_HEADER_VAR(shdr32, shdr64, uint64_t, sh_type); in LoadIntoComponent() 416 ELF_HEADER_VAR(shdr32, shdr64, uint64_t, sh_flags); in LoadIntoComponent() 417 ELF_HEADER_VAR(shdr32, shdr64, uint64_t, sh_addr); in LoadIntoComponent() 418 ELF_HEADER_VAR(shdr32, shdr64, uint64_t, sh_offset); in LoadIntoComponent() 419 ELF_HEADER_VAR(shdr32, shdr64, uint64_t, sh_size); in LoadIntoComponent() 420 ELF_HEADER_VAR(shdr32, shdr64, uint64_t, sh_link); in LoadIntoComponent() 421 ELF_HEADER_VAR(shdr32, shdr64, uint64_t, sh_info); in LoadIntoComponent() 422 ELF_HEADER_VAR(shdr32, shdr64, uint64_t, sh_addralign); in LoadIntoComponent() [all …]
|
/dports/emulators/qemu60/qemu-6.0.0/roms/SLOF/lib/libelf/ |
H A D | elf64.c | 59 struct shdr64 struct 384 elf_apply_all_rela64(void *file_addr, signed long offset, struct shdr64 *shdrs, int idx) in elf_apply_all_rela64() 386 struct shdr64 *rela_shdr = &shdrs[idx]; in elf_apply_all_rela64() 387 struct shdr64 *dst_shdr = &shdrs[rela_shdr->sh_info]; in elf_apply_all_rela64() 388 struct shdr64 *sym_shdr = &shdrs[rela_shdr->sh_link]; in elf_apply_all_rela64() 418 struct shdr64 *shdrs = (struct shdr64 *) in elf_relocate64() 489 const struct shdr64 *shdr; in elf_get_file_size64() 523 shdr = (struct shdr64 *)(((uint8_t *)shdr) + entsize); in elf_get_file_size64()
|
/dports/emulators/qemu/qemu-6.2.0/roms/SLOF/lib/libelf/ |
H A D | elf64.c | 59 struct shdr64 struct 384 elf_apply_all_rela64(void *file_addr, signed long offset, struct shdr64 *shdrs, int idx) in elf_apply_all_rela64() 386 struct shdr64 *rela_shdr = &shdrs[idx]; in elf_apply_all_rela64() 387 struct shdr64 *dst_shdr = &shdrs[rela_shdr->sh_info]; in elf_apply_all_rela64() 388 struct shdr64 *sym_shdr = &shdrs[rela_shdr->sh_link]; in elf_apply_all_rela64() 418 struct shdr64 *shdrs = (struct shdr64 *) in elf_relocate64() 489 const struct shdr64 *shdr; in elf_get_file_size64() 523 shdr = (struct shdr64 *)(((uint8_t *)shdr) + entsize); in elf_get_file_size64()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/SLOF/lib/libelf/ |
H A D | elf64.c | 59 struct shdr64 struct 384 elf_apply_all_rela64(void *file_addr, signed long offset, struct shdr64 *shdrs, int idx) in elf_apply_all_rela64() 386 struct shdr64 *rela_shdr = &shdrs[idx]; in elf_apply_all_rela64() 387 struct shdr64 *dst_shdr = &shdrs[rela_shdr->sh_info]; in elf_apply_all_rela64() 388 struct shdr64 *sym_shdr = &shdrs[rela_shdr->sh_link]; in elf_apply_all_rela64() 418 struct shdr64 *shdrs = (struct shdr64 *) in elf_relocate64() 489 const struct shdr64 *shdr; in elf_get_file_size64() 523 shdr = (struct shdr64 *)(((uint8_t *)shdr) + entsize); in elf_get_file_size64()
|
/dports/emulators/gxemul/gxemul-0.6.3/src/file/ |
H A D | file_elf.cc | 91 Elf64_Shdr shdr64; in file_load_elf() local 502 len = fread(&shdr64, 1, sizeof(Elf64_Shdr), f); in file_load_elf() 507 unencode(sh_name, &shdr64.sh_name, Elf64_Half); in file_load_elf() 508 unencode(sh_type, &shdr64.sh_type, Elf64_Half); in file_load_elf() 509 unencode(sh_flags, &shdr64.sh_flags, Elf64_Xword); in file_load_elf() 510 unencode(sh_addr, &shdr64.sh_addr, Elf64_Addr); in file_load_elf() 511 unencode(sh_offset, &shdr64.sh_offset, Elf64_Off); in file_load_elf() 512 unencode(sh_size, &shdr64.sh_size, Elf64_Xword); in file_load_elf() 513 unencode(sh_link, &shdr64.sh_link, Elf64_Half); in file_load_elf() 514 unencode(sh_info, &shdr64.sh_info, Elf64_Half); in file_load_elf() [all …]
|
/dports/devel/dwarfdump/dwarf-20161124/libdwarf/ |
H A D | dwarf_elf_access.c | 339 Elf64_Shdr *shdr64 = 0; in _dwarf_get_elf_flags_func() local 351 shdr64 = elf64_getshdr(scn); in _dwarf_get_elf_flags_func() 352 if (shdr64 == NULL) { in _dwarf_get_elf_flags_func() 359 *flags_out = shdr64->sh_flags; in _dwarf_get_elf_flags_func() 408 Elf64_Shdr *shdr64 = 0; in dwarf_elf_object_access_get_section_info() local 420 shdr64 = elf64_getshdr(scn); in dwarf_elf_object_access_get_section_info() 421 if (shdr64 == NULL) { in dwarf_elf_object_access_get_section_info() 428 ret_scn->type = shdr64->sh_type; in dwarf_elf_object_access_get_section_info() 429 ret_scn->size = shdr64->sh_size; in dwarf_elf_object_access_get_section_info() 430 ret_scn->addr = shdr64->sh_addr; in dwarf_elf_object_access_get_section_info() [all …]
|
/dports/devel/libdwarf/dwarf-20161124/libdwarf/ |
H A D | dwarf_elf_access.c | 339 Elf64_Shdr *shdr64 = 0; in _dwarf_get_elf_flags_func() local 351 shdr64 = elf64_getshdr(scn); in _dwarf_get_elf_flags_func() 352 if (shdr64 == NULL) { in _dwarf_get_elf_flags_func() 359 *flags_out = shdr64->sh_flags; in _dwarf_get_elf_flags_func() 408 Elf64_Shdr *shdr64 = 0; in dwarf_elf_object_access_get_section_info() local 420 shdr64 = elf64_getshdr(scn); in dwarf_elf_object_access_get_section_info() 421 if (shdr64 == NULL) { in dwarf_elf_object_access_get_section_info() 428 ret_scn->type = shdr64->sh_type; in dwarf_elf_object_access_get_section_info() 429 ret_scn->size = shdr64->sh_size; in dwarf_elf_object_access_get_section_info() 430 ret_scn->addr = shdr64->sh_addr; in dwarf_elf_object_access_get_section_info() [all …]
|
/dports/emulators/qemu42/qemu-4.2.1/roms/SLOF/lib/libelf/ |
H A D | elf64.c | 58 struct shdr64 struct 383 elf_apply_all_rela64(void *file_addr, signed long offset, struct shdr64 *shdrs, int idx) in elf_apply_all_rela64() 385 struct shdr64 *rela_shdr = &shdrs[idx]; in elf_apply_all_rela64() 386 struct shdr64 *dst_shdr = &shdrs[rela_shdr->sh_info]; in elf_apply_all_rela64() 387 struct shdr64 *sym_shdr = &shdrs[rela_shdr->sh_link]; in elf_apply_all_rela64() 417 struct shdr64 *shdrs = (struct shdr64 *) in elf_relocate64()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/SLOF/lib/libelf/ |
H A D | elf64.c | 58 struct shdr64 struct 383 elf_apply_all_rela64(void *file_addr, signed long offset, struct shdr64 *shdrs, int idx) in elf_apply_all_rela64() 385 struct shdr64 *rela_shdr = &shdrs[idx]; in elf_apply_all_rela64() 386 struct shdr64 *dst_shdr = &shdrs[rela_shdr->sh_info]; in elf_apply_all_rela64() 387 struct shdr64 *sym_shdr = &shdrs[rela_shdr->sh_link]; in elf_apply_all_rela64() 417 struct shdr64 *shdrs = (struct shdr64 *) in elf_relocate64()
|
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/SLOF/lib/libelf/ |
H A D | elf64.c | 58 struct shdr64 struct 383 elf_apply_all_rela64(void *file_addr, signed long offset, struct shdr64 *shdrs, int idx) in elf_apply_all_rela64() 385 struct shdr64 *rela_shdr = &shdrs[idx]; in elf_apply_all_rela64() 386 struct shdr64 *dst_shdr = &shdrs[rela_shdr->sh_info]; in elf_apply_all_rela64() 387 struct shdr64 *sym_shdr = &shdrs[rela_shdr->sh_link]; in elf_apply_all_rela64() 417 struct shdr64 *shdrs = (struct shdr64 *) in elf_relocate64()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/SLOF/lib/libelf/ |
H A D | elf64.c | 58 struct shdr64 struct 383 elf_apply_all_rela64(void *file_addr, signed long offset, struct shdr64 *shdrs, int idx) in elf_apply_all_rela64() 385 struct shdr64 *rela_shdr = &shdrs[idx]; in elf_apply_all_rela64() 386 struct shdr64 *dst_shdr = &shdrs[rela_shdr->sh_info]; in elf_apply_all_rela64() 387 struct shdr64 *sym_shdr = &shdrs[rela_shdr->sh_link]; in elf_apply_all_rela64() 417 struct shdr64 *shdrs = (struct shdr64 *) in elf_relocate64()
|
/dports/devel/xelfviewer/XELFViewer-0.03/FormatWidgets/ELF/ |
H A D | elfsectionheaderwidget.cpp | 469 XELF_DEF::Elf64_Shdr shdr64=elf.getElf64_Shdr(getNumber()); in reloadData() local 471 g_ppLinedEdit[N_Elf_Shdr::sh_name]->setValue(shdr64.sh_name); in reloadData() 472 g_ppLinedEdit[N_Elf_Shdr::sh_type]->setValue(shdr64.sh_type); in reloadData() 473 g_ppLinedEdit[N_Elf_Shdr::sh_flags]->setValue(shdr64.sh_flags); in reloadData() 474 g_ppLinedEdit[N_Elf_Shdr::sh_addr]->setValue(shdr64.sh_addr); in reloadData() 475 g_ppLinedEdit[N_Elf_Shdr::sh_offset]->setValue(shdr64.sh_offset); in reloadData() 476 g_ppLinedEdit[N_Elf_Shdr::sh_size]->setValue(shdr64.sh_size); in reloadData() 477 g_ppLinedEdit[N_Elf_Shdr::sh_link]->setValue(shdr64.sh_link); in reloadData() 478 g_ppLinedEdit[N_Elf_Shdr::sh_info]->setValue(shdr64.sh_info); in reloadData() 482 g_ppComboBox[N_Elf_Shdr::CB_TYPE]->setValue(shdr64.sh_type); in reloadData() [all …]
|
/dports/devel/bsdelf/elftoolchain-0.7.1/libelf/ |
H A D | elf_update.c | 119 Elf64_Shdr *shdr64; in _libelf_compute_section_extents() local 127 shdr64 = &s->s_shdr.s_shdr64; in _libelf_compute_section_extents() 135 sh_type = shdr64->sh_type; in _libelf_compute_section_extents() 136 sh_align = shdr64->sh_addralign; in _libelf_compute_section_extents() 137 sh_entsize = shdr64->sh_entsize; in _libelf_compute_section_extents() 138 sh_offset = shdr64->sh_offset; in _libelf_compute_section_extents() 139 sh_size = shdr64->sh_size; in _libelf_compute_section_extents() 322 shdr64->sh_addralign = sh_align; in _libelf_compute_section_extents() 323 shdr64->sh_entsize = sh_entsize; in _libelf_compute_section_extents() 324 shdr64->sh_offset = sh_offset; in _libelf_compute_section_extents() [all …]
|
/dports/ports-mgmt/pkg/pkg-1.17.5/external/libelf/ |
H A D | elf_update.c | 123 Elf64_Shdr *shdr64; in _libelf_compute_section_extents() local 131 shdr64 = &s->s_shdr.s_shdr64; in _libelf_compute_section_extents() 139 sh_type = shdr64->sh_type; in _libelf_compute_section_extents() 140 sh_align = shdr64->sh_addralign; in _libelf_compute_section_extents() 141 sh_entsize = shdr64->sh_entsize; in _libelf_compute_section_extents() 142 sh_offset = shdr64->sh_offset; in _libelf_compute_section_extents() 143 sh_size = shdr64->sh_size; in _libelf_compute_section_extents() 324 shdr64->sh_addralign = sh_align; in _libelf_compute_section_extents() 325 shdr64->sh_entsize = sh_entsize; in _libelf_compute_section_extents() 326 shdr64->sh_offset = sh_offset; in _libelf_compute_section_extents() [all …]
|
/dports/devel/elftoolchain/elftoolchain-0.7.1/libelf/ |
H A D | elf_update.c | 119 Elf64_Shdr *shdr64; in _libelf_compute_section_extents() local 127 shdr64 = &s->s_shdr.s_shdr64; in _libelf_compute_section_extents() 135 sh_type = shdr64->sh_type; in _libelf_compute_section_extents() 136 sh_align = shdr64->sh_addralign; in _libelf_compute_section_extents() 137 sh_entsize = shdr64->sh_entsize; in _libelf_compute_section_extents() 138 sh_offset = shdr64->sh_offset; in _libelf_compute_section_extents() 139 sh_size = shdr64->sh_size; in _libelf_compute_section_extents() 322 shdr64->sh_addralign = sh_align; in _libelf_compute_section_extents() 323 shdr64->sh_entsize = sh_entsize; in _libelf_compute_section_extents() 324 shdr64->sh_offset = sh_offset; in _libelf_compute_section_extents() [all …]
|
/dports/devel/libdwarf/dwarf-20161124/dwarfdump/ |
H A D | print_reloc.c | 376 Elf64_Shdr *shdr64 = 0; in print_relocinfo_64() local 395 shdr64 = elf64_getshdr(scn); in print_relocinfo_64() 396 if (shdr64 == NULL) { in print_relocinfo_64() 399 scn_name = elf_strptr(elf, ehdr64->e_shstrndx, shdr64->sh_name); in print_relocinfo_64() 408 if (shdr64->sh_type == SHT_SYMTAB) { in print_relocinfo_64() 420 sym_data_64 = read_64_syms(sym_64, count, elf, shdr64->sh_link); in print_relocinfo_64() 426 } else if (!get_reloc_section(dbg,scn,scn_name,shdr64->sh_type)) { in print_relocinfo_64()
|
/dports/devel/dwarfdump/dwarf-20161124/dwarfdump/ |
H A D | print_reloc.c | 376 Elf64_Shdr *shdr64 = 0; in print_relocinfo_64() local 395 shdr64 = elf64_getshdr(scn); in print_relocinfo_64() 396 if (shdr64 == NULL) { in print_relocinfo_64() 399 scn_name = elf_strptr(elf, ehdr64->e_shstrndx, shdr64->sh_name); in print_relocinfo_64() 408 if (shdr64->sh_type == SHT_SYMTAB) { in print_relocinfo_64() 420 sym_data_64 = read_64_syms(sym_64, count, elf, shdr64->sh_link); in print_relocinfo_64() 426 } else if (!get_reloc_section(dbg,scn,scn_name,shdr64->sh_type)) { in print_relocinfo_64()
|
/dports/emulators/qemu-utils/qemu-4.2.1/roms/u-boot/tools/ |
H A D | mips-relocs.c | 206 Elf64_Shdr *shdr64; in main() local 287 shdr64 = elf + ehdr_field(e_shoff); in main()
|
/dports/emulators/qemu5/qemu-5.2.0/roms/u-boot/tools/ |
H A D | mips-relocs.c | 206 Elf64_Shdr *shdr64; in main() local 287 shdr64 = elf + ehdr_field(e_shoff); in main()
|
/dports/sysutils/u-boot-olimex-a20-som-evb/u-boot-2021.07/tools/ |
H A D | mips-relocs.c | 206 Elf64_Shdr *shdr64; in main() local 287 shdr64 = elf + ehdr_field(e_shoff); in main()
|
/dports/sysutils/u-boot-olinuxino-lime2/u-boot-2021.07/tools/ |
H A D | mips-relocs.c | 206 Elf64_Shdr *shdr64; in main() local 287 shdr64 = elf + ehdr_field(e_shoff); in main()
|
/dports/sysutils/u-boot-olinuxino-lime/u-boot-2021.07/tools/ |
H A D | mips-relocs.c | 206 Elf64_Shdr *shdr64; in main() local 287 shdr64 = elf + ehdr_field(e_shoff); in main()
|
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/u-boot/tools/ |
H A D | mips-relocs.c | 206 Elf64_Shdr *shdr64; in main() local 287 shdr64 = elf + ehdr_field(e_shoff); in main()
|