Home
last modified time | relevance | path

Searched refs:e_shnum (Results 1 – 25 of 59) sorted by relevance

123

/third_party/elfutils/tests/
Dnewfile.c48 ehdr->e_shnum, in print_ehdr()
127 ZERO_TEST (e_shnum); in main()
159 ZERO_TEST (e_shnum); in main()
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()
Dupdate1.c78 ehdr->e_shnum, ehdr->e_shstrndx); in main()
116 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dupdate2.c79 ehdr->e_shnum, ehdr->e_shstrndx); in main()
139 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dupdate3.c88 ehdr->e_shnum, ehdr->e_shstrndx); in main()
194 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dupdate4.c92 ehdr->e_shnum, ehdr->e_shstrndx); in main()
346 ehdr->e_shnum, ehdr->e_shstrndx); in main()
Dasm-tst1.c49 .e_shnum = 4,
Dasm-tst2.c49 .e_shnum = 3,
Dasm-tst9.c57 .e_shnum = 3,
Dalldts.c106 ehdr->e_shnum = 3; in main()
/third_party/libunwind/src/ia64/
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/
Delf-from-memory.c147 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize; 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()
/third_party/libunwind/src/
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 elf_w()
186 for (i = 0; i < ehdr->e_shnum; ++i) in elf_w()
426 for (i = 0; i < ehdr->e_shnum; ++i) in Elf_W()
603 return (ehdr->e_shoff + (ehdr->e_shentsize * ehdr->e_shnum)); in calc_elf_file_size()
/third_party/elfutils/libelf/
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()
Dgelf_update_ehdr.c92 COPY (e_shnum); in gelf_update_ehdr()
Dgelf_getehdr.c85 COPY (e_shnum); in __gelf_getehdr_rdlock()
Delf32_updatenull.c102 update_if_changed (ehdr->e_shnum, 0, in ELFW()
106 update_if_changed (ehdr->e_shnum, shnum, in ELFW()
/third_party/libunwind/include/win/
Dfreebsd-elf32.h68 Elf32_Half e_shnum; /* Number of section header entries. */ member
Dfreebsd-elf64.h81 Elf64_Half e_shnum; /* Number of section header entries. */ member
/third_party/libunwind/include/mingw/
Dfreebsd-elf32.h68 Elf32_Half e_shnum; /* Number of section header entries. */ member
Dfreebsd-elf64.h81 Elf64_Half e_shnum; /* Number of section header entries. */ member
/third_party/skia/buildtools/third_party/eu-strip/
Dfix-elf-size.patch46 e_shnum (or sh_size of the dummy, first section header)
/third_party/elfio/c_wrapper/
Delf_types_c_wrapper.hpp727 Elf_Half e_shnum; member
745 Elf_Half e_shnum; member
/third_party/elfio/elfio/
Delfio_header.hpp140 ELFIO_GET_SET_ACCESS( Elf_Half, sections_num, header.e_shnum );
/third_party/rust/crates/rustix/src/backend/linux_raw/
Delf.rs103 pub(super) e_shnum: u16, field

123