Home
last modified time | relevance | path

Searched refs:e_shnum (Results 1 - 25 of 46) sorted by relevance

12

/third_party/elfutils/tests/
H A Dnewfile.c48 ehdr->e_shnum, in print_ehdr()
127 ZERO_TEST (e_shnum); in main()
159 ZERO_TEST (e_shnum); in main()
H A Delfshphehdr.c70 check ("e_shnum == 0", ehdr.e_shnum == 0); in test()
97 check ("e_shnum == 0", ehdr.e_shnum == 0); in test()
137 check ("e_shnum == 2", ehdr.e_shnum == 2); in test()
H A Dupdate2.c79 ehdr->e_shnum, ehdr->e_shstrndx); in main()
139 ehdr->e_shnum, ehdr->e_shstrndx); in main()
H A Dupdate1.c78 ehdr->e_shnum, ehdr->e_shstrndx); in main()
116 ehdr->e_shnum, ehdr->e_shstrndx); in main()
H A Dupdate3.c88 ehdr->e_shnum, ehdr->e_shstrndx); in main()
194 ehdr->e_shnum, ehdr->e_shstrndx); in main()
H A Dupdate4.c92 ehdr->e_shnum, ehdr->e_shstrndx); in main()
346 ehdr->e_shnum, ehdr->e_shstrndx); in main()
H A Dasm-tst2.c49 .e_shnum = 3,
H A Dasm-tst1.c49 .e_shnum = 4,
H A Dasm-tst9.c57 .e_shnum = 3,
H A Dalldts.c106 ehdr->e_shnum = 3; in main()
/third_party/libunwind/libunwind/src/ia64/
H A DGfind_unwind_table.c67 if (soff + ehdr->e_shnum * ehdr->e_shentsize > edi->ei.size) in find_gp()
70 soff + ehdr->e_shnum * ehdr->e_shentsize, in find_gp()
78 for (i = 0; i < ehdr->e_shnum; ++i) in find_gp()
/third_party/elfutils/libdwfl/
H A Delf-from-memory.c142 /* NOTE if the number of sections is > 0xff00 then e_shnum in elf_from_remote_memory()
147 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize; in elf_from_remote_memory()
159 /* See the NOTE above for shdrs_end and ehdr.e32.e_shnum. */ in elf_from_remote_memory()
160 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize; in elf_from_remote_memory()
324 ehdr.e32.e_shnum = 0; in elf_from_remote_memory()
330 ehdr.e64.e_shnum = 0; in elf_from_remote_memory()
H A Ddwfl_segment_report_module.c401 /* NOTE if the number of sections is > 0xff00 then e_shnum in dwfl_segment_report_module()
406 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * sizeof (Elf32_Shdr); in dwfl_segment_report_module()
419 /* See the NOTE above for shdrs_end and ehdr.e32.e_shnum. */ in dwfl_segment_report_module()
420 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * sizeof (Elf64_Shdr); in dwfl_segment_report_module()
/third_party/elfutils/libelf/
H A Delf_begin.c114 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum; in get_shnum()
122 CONVERT (ehdr_mem.e32.e_shnum); in get_shnum()
130 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum; in get_shnum()
138 CONVERT (ehdr_mem.e64.e_shnum); in get_shnum()
147 result = ehdr.e32->e_shnum; in get_shnum()
207 result = ehdr.e64->e_shnum; in get_shnum()
373 CONVERT (elf->state.elf32.ehdr_mem.e_shnum); in file_read_elf()
477 CONVERT (elf->state.elf64.ehdr_mem.e_shnum); in file_read_elf()
[all...]
H A Dgelf_getehdr.c85 COPY (e_shnum); in __gelf_getehdr_rdlock()
H A Dgelf_update_ehdr.c92 COPY (e_shnum); in gelf_update_ehdr()
H A Delf32_updatenull.c102 update_if_changed (ehdr->e_shnum, 0, in ELFW()
106 update_if_changed (ehdr->e_shnum, shnum, in ELFW()
433 e_shnum (or sh_size of the dummy, first section header) in __elfw2()
/third_party/libunwind/libunwind/src/
H A Delfxx.c44 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->size) in Elf_W()
47 (unsigned long) (soff + ehdr->e_shnum * ehdr->e_shentsize), in Elf_W()
108 for (i = 0; i < ehdr->e_shnum; ++i) in lookup_symbol()
358 for (i = 0; i < ehdr->e_shnum; ++i) in Elf_W()
/third_party/vixl/examples/aarch32/
H A Ddisasm-a32.cc105 nsections_ = ehdr->e_shnum; in SectionLocator()
138 if ((sym[snum].st_shndx > 0) && (sym[snum].st_shndx < ehdr->e_shnum) && in LocateSymbols()
/third_party/elfio/elfio/
H A Delfio_header.hpp140 ELFIO_GET_SET_ACCESS( Elf_Half, sections_num, header.e_shnum );
/third_party/elfio/c_wrapper/
H A Delf_types_c_wrapper.hpp727 Elf_Half e_shnum; member
745 Elf_Half e_shnum; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DELF.h76 Elf32_Half e_shnum; // Number of entries in the section header table member
100 Elf64_Half e_shnum; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
H A DELF.h73 Elf32_Half e_shnum; // Number of entries in the section header table member
99 Elf64_Half e_shnum; member
/third_party/mesa3d/src/amd/common/
H A Dac_rgp_elf_object_pack.c472 elf_hdr.e_shnum = 5; in ac_rgp_file_write_elf_object()
/third_party/elfutils/src/
H A Dstrip.c2590 == offsetof (Elf32_Ehdr, e_shnum)); in handle_elf()
2591 assert (offsetof (Elf32_Ehdr, e_shnum) + sizeof (Elf32_Half) in handle_elf()
2610 == offsetof (Elf64_Ehdr, e_shnum)); in handle_elf()
2611 assert (offsetof (Elf64_Ehdr, e_shnum) + sizeof (Elf64_Half) in handle_elf()

Completed in 23 milliseconds

12