Home
last modified time | relevance | path

Searched refs:elf (Results 1 – 25 of 271) sorted by relevance

1234567891011

/third_party/mesa3d/src/gallium/frontends/clover/llvm/codegen/
Dnative.cpp49 namespace elf { namespace
61 get_symbol_table(Elf *elf) { in get_symbol_table() argument
63 elf_getshdrstrndx(elf, &section_str_index); in get_symbol_table()
65 for (Elf_Scn *s = elf_nextscn(elf, NULL); s; s = elf_nextscn(elf, s)) { in get_symbol_table()
70 if (!std::strcmp(elf_strptr(elf, section_str_index, header.sh_name), in get_symbol_table()
79 get_symbol_offsets(Elf *elf, Elf_Scn *symtab) { in get_symbol_offsets() argument
90 const char *name = elf_strptr(elf, header.sh_link, s->st_name); in get_symbol_offsets()
100 const auto elf = elf::get(code); in get_symbol_offsets() local
101 const auto symtab = elf::get_symbol_table(elf.get()); in get_symbol_offsets()
105 return elf::get_symbol_offsets(elf.get(), symtab); in get_symbol_offsets()
/third_party/elfio/
DREADME-OH.md21 ├── elfio_dump.hpp # elf dump类,dump出elf文件的各类信息,例如:elf header、section headers、…
23 ├── elfio_header.hpp # elf header类,解析elf header的section
24 ├── elfio.hpp # elfio库的主要类,可以创建、加载、保存elf文件
32 ├── elfio_utils.hpp # elf工具类
34 └── elf_types.hpp # elf类型类,定义了elf文件类型、文件版本等
39 (一)加载elf文件
41 1. 调用elfio类的load\(\)接口加载elf文件。
49 1. 遍历elf文件的sections。
60 1. 遍历elf文件的sections。
73 1. 遍历elf文件的symbol sections。
D.gitignore28 # generated elf files
30 tests/elf_examples/*_copy.elf
31 tests/elf_examples/elf_dummy_header_i386_32.elf
32 tests/elf_examples/elf_dummy_header_i386_64.elf
33 tests/elf_examples/elf_dummy_header_ppc_32.elf
34 tests/elf_examples/elf_dummy_header_ppc_64.elf
39 tests/elf_examples/ppc-32bit-testcopy*.elf
42 tests/elf_examples/test_symbols_order.elf
/third_party/glib/gio/
Dgresource-tool.c147 Elf *elf; in get_elf() local
156 elf = elf_begin (*fd, ELF_C_READ, NULL); in get_elf()
157 if (elf == NULL) in get_elf()
164 if (elf_kind (elf) != ELF_K_ELF) in get_elf()
171 return elf; in get_elf()
179 elf_foreach_resource_section (Elf *elf, in elf_foreach_resource_section() argument
189 elf_getshdrstrndx (elf, &shstrndx); in elf_foreach_resource_section()
192 elf_getshdrnum (elf, &shnum); in elf_foreach_resource_section()
197 scn = elf_getscn (elf, scnidx); in elf_foreach_resource_section()
208 section_name = elf_strptr (elf, shstrndx, shdr->sh_name); in elf_foreach_resource_section()
[all …]
/third_party/skia/buildtools/third_party/eu-strip/
Dfix-elf-size.patch5 @@ -137,7 +137,7 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
13 if (elf->state.ELFW(elf,LIBELFBITS).phdr == NULL)
14 @@ -152,7 +152,7 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
23 @@ -330,7 +330,7 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
25 if (elf->flags & ELF_F_LAYOUT)
32 @@ -352,9 +352,9 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
44 @@ -416,7 +416,7 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
53 @@ -430,7 +430,7 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum)
57 - update_if_changed (ehdr->e_shoff, (GElf_Word) size, elf->flags);
58 + update_if_changed (ehdr->e_shoff, size, elf->flags);
/third_party/openssl/
Dcreate_asm_file.sh110 CC="x86_64-linux-android-clang" perl crypto/aes/asm/aesni-mb-x86_64.pl elf crypto/aes/asm/x86_64/ae…
111 CC="x86_64-linux-android-clang" perl crypto/aes/asm/aesni-sha1-x86_64.pl elf crypto/aes/asm/x86_64/…
112 CC="x86_64-linux-android-clang" perl crypto/aes/asm/aesni-sha256-x86_64.pl elf crypto/aes/asm/x86_6…
113 CC="x86_64-linux-android-clang" perl crypto/aes/asm/aesni-x86_64.pl elf crypto/aes/asm/x86_64/aesni…
114 CC="x86_64-linux-android-clang" perl crypto/aes/asm/vpaes-x86_64.pl elf crypto/aes/asm/x86_64/vpaes…
115 CC="x86_64-linux-android-clang" perl crypto/bn/asm/rsaz-avx2.pl elf crypto/bn/asm/x86_64/rsaz-avx2.s
116 CC="x86_64-linux-android-clang" perl crypto/bn/asm/rsaz-x86_64.pl elf crypto/bn/asm/x86_64/rsaz-x86…
117 CC="x86_64-linux-android-clang" perl crypto/bn/asm/x86_64-gf2m.pl elf crypto/bn/asm/x86_64/x86_64-g…
118 CC="x86_64-linux-android-clang" perl crypto/bn/asm/x86_64-mont.pl elf crypto/bn/asm/x86_64/x86_64-m…
119 CC="x86_64-linux-android-clang" perl crypto/bn/asm/x86_64-mont5.pl elf crypto/bn/asm/x86_64/x86_64-…
[all …]
/third_party/boost/boost/dll/detail/
Delf_info.hpp168 header_t elf; in header() local
171 read_raw(fs, elf); in header()
173 return elf; in header()
177 const header_t elf = header(fs); in sections_names_raw() local
180 checked_seekg(fs, elf.e_shoff + elf.e_shstrndx * sizeof(section_t)); in sections_names_raw()
189 const header_t elf = header(fs); in symbols_text() local
190 checked_seekg(fs, elf.e_shoff); in symbols_text()
192 for (std::size_t i = 0; i < elf.e_shnum; ++i) { in symbols_text()
250 const header_t elf = header(fs); in symbols() local
252 for (; index < elf.e_shnum; ++index) { in symbols()
[all …]
/third_party/boost/libs/poly_collection/example/
Drolegame.hpp68 struct elf:sprite struct
71 elf(const elf&)=delete; // not copyable
72 elf(elf&&)=default; // but moveable
/third_party/openssl/crypto/perlasm/
Dx86gas.pl132 push(@out,".size\t$nmdecor$func,.-".&::LABEL($func)."\n") if ($::elf);
139 if (!defined($com_start) or $::elf)
171 elsif ($::elf) { push (@out,"$tmp,4\n"); }
193 if (($::pic && ($::elf || $::aout)) || $::macosx)
206 elsif ($sym eq "OPENSSL_ia32cap_P" && $::elf>0)
228 elsif ($::elf)
263 *::hidden = sub { push(@out,".hidden\t$nmdecor$_[0]\n"); } if ($::elf);
Dx86_64-xlate.pl74 my $elf=1; $elf=0 if (!$gas);
86 if ($flavour eq "mingw64") { $gas=1; $elf=0; $win64=1;
90 elsif ($flavour eq "macosx") { $gas=1; $elf=0; $prefix="_"; $decor="L\$"; }
91 elsif ($flavour eq "masm") { $gas=0; $elf=0; $masm=$masmref; $win64=1; $decor="\$L\$"; }
92 elsif ($flavour eq "nasm") { $gas=0; $elf=0; $nasm=$nasmref; $win64=1; $decor="\$L\$"; $PTR=""; }
100 $elf=0;
158 } elsif ($self->{op} eq "call" && !$elf && $current_segment eq ".init") {
453 $self->{value} =~ s/\@PLT// if (!$elf);
717 return ($elf ? $self->{value} : undef);
777 } elsif (!$elf && $dir =~ /\.type/) {
[all …]
/third_party/boost/libs/context/build/
DJamfile.v258 local tmp = elf ;
67 : elf
122 <binary-format>elf
133 <binary-format>elf
144 <binary-format>elf
193 <binary-format>elf
204 <binary-format>elf
240 <binary-format>elf
251 <binary-format>elf
263 <binary-format>elf
[all …]
/third_party/jerryscript/targets/esp8266/
DMakefile.travis30 …t https://dl.espressif.com/dl/xtensa-lx106-elf-linux64-1.22.0-88-gde0bdc1-4.8.5.tar.gz -O ../xtens…
31 cd .. && tar xvfz xtensa-lx106-elf-linux64-1.22.0-88-gde0bdc1-4.8.5.tar.gz
46 …PATH=$(CURDIR)/../xtensa-lx106-elf/bin:$$PATH $(MAKE) -f ./targets/esp8266/Makefile.esp8266 BIN_PA…
/third_party/mesa3d/src/amd/common/
Dac_rtld.c80 Elf *elf; member
217 s.name = elf_strptr(part->elf, strtabidx, symbol->st_name); in read_private_lds_symbols()
326 part->elf = elf_memory((char *)i.elf_ptrs[part_idx], i.elf_sizes[part_idx]); in ac_rtld_open()
327 report_elf_if(!part->elf); in ac_rtld_open()
329 const Elf64_Ehdr *ehdr = elf64_getehdr(part->elf); in ac_rtld_open()
335 report_elf_if(elf_getshdrstrndx(part->elf, &section_str_index) < 0); in ac_rtld_open()
336 report_elf_if(elf_getshdrnum(part->elf, &num_shdrs) < 0); in ac_rtld_open()
343 while ((section = elf_nextscn(part->elf, section))) { in ac_rtld_open()
346 s->name = elf_strptr(part->elf, section_str_index, shdr->sh_name); in ac_rtld_open()
427 elf_getshdrnum(part->elf, &num_shdrs); in ac_rtld_open()
[all …]
/third_party/elfio/tests/
DELFIOTest1.cpp454 elfio elf; in BOOST_AUTO_TEST_CASE() local
455 BOOST_REQUIRE_EQUAL( elf.load( in ), true ); in BOOST_AUTO_TEST_CASE()
456 BOOST_REQUIRE_EQUAL( elf.save( out ), true ); in BOOST_AUTO_TEST_CASE()
465 elfio elf; in BOOST_AUTO_TEST_CASE() local
474 BOOST_REQUIRE_EQUAL( elf.load( in ), true ); in BOOST_AUTO_TEST_CASE()
475 section* psymsec = elf.sections[".symtab"]; in BOOST_AUTO_TEST_CASE()
476 const symbol_section_accessor symbols( elf, psymsec ); in BOOST_AUTO_TEST_CASE()
488 elfio elf; in BOOST_AUTO_TEST_CASE() local
497 BOOST_REQUIRE_EQUAL( elf.load( in ), true ); in BOOST_AUTO_TEST_CASE()
498 section* psymsec = elf.sections[".symtab"]; in BOOST_AUTO_TEST_CASE()
[all …]
/third_party/libevdev/build-aux/
Dconfig.sub1107 os=${os:-elf}
1118 os=${os:-elf}
1347 | bosx* | nextstep* | cxux* | aout* | elf* | oabi* \
1499 os=elf
1530 os=elf
1533 os=elf
1548 os=elf
1554 os=elf
1588 os=elf
1591 os=elf
[all …]
/third_party/e2fsprogs/config/
Dconfig.sub1123 basic_os=${basic_os:-elf}
1134 basic_os=${basic_os:-elf}
1494 os=elf
1518 os=elf
1521 os=elf
1537 os=elf
1543 os=elf
1577 os=elf
1580 os=elf
1583 os=elf
[all …]
/third_party/freetype/builds/unix/
Dconfig.sub1114 basic_os=${basic_os:-elf}
1125 basic_os=${basic_os:-elf}
1479 os=elf
1503 os=elf
1506 os=elf
1522 os=elf
1528 os=elf
1562 os=elf
1565 os=elf
1568 os=elf
[all …]
/third_party/wayland_standard/
Dconfig.sub1114 basic_os=${basic_os:-elf}
1125 basic_os=${basic_os:-elf}
1480 os=elf
1504 os=elf
1507 os=elf
1523 os=elf
1529 os=elf
1563 os=elf
1566 os=elf
1569 os=elf
[all …]
/third_party/python/
Dconfig.sub1131 basic_os=${basic_os:-elf}
1142 basic_os=${basic_os:-elf}
1504 os=elf
1528 os=elf
1531 os=elf
1547 os=elf
1553 os=elf
1587 os=elf
1590 os=elf
1593 os=elf
[all …]
/third_party/e2fsprogs/lib/
DMakefile.solaris-lib37 installdirs-elf-lib::
41 installdirs:: installdirs-elf-lib
43 install-shlibs install:: $(ELF_LIB) installdirs-elf-lib
DMakefile.elf-lib37 installdirs-elf-lib::
42 installdirs:: installdirs-elf-lib
44 install-shlibs install:: $(ELF_LIB) installdirs-elf-lib $(DEP_INSTALL_SYMLINK)
/third_party/json/doc/examples/
Dinsert__range_object.output2 {"eleven":"elf","seventeen":"siebzehn"}
3 {"eleven":"elf","one":"eins","seventeen":"siebzehn","two":"zwei"}
/third_party/libpng/
Dconfig.sub1548 os=-elf
1551 os=-elf
1566 os=-elf
1569 os=-elf
1603 os=-elf
1606 os=-elf
1609 os=-elf
1621 os=-elf
/third_party/skia/third_party/externals/libpng/
Dconfig.sub1548 os=-elf
1551 os=-elf
1566 os=-elf
1569 os=-elf
1603 os=-elf
1606 os=-elf
1609 os=-elf
1621 os=-elf
/third_party/skia/third_party/externals/icu/source/data/rbnf/
Dmt.txt73 "1000: elf[>%%and-type-b-masculine>];",
76 "11000/1000: <%spellout-cardinal-masculine< elf[>%%and-type-b-masculine>];",
127 "1000: elf[>%%and-type-b-feminine>];",
130 "11000/1000: <%spellout-cardinal-masculine< elf[>%%and-type-b-feminine>];",
182 "1000: elf[>%%and-type-a-masculine>];",
185 "11000/1000: <%spellout-cardinal-masculine< elf[>%%and-type-a-masculine>];",
237 "1000: elf[>%%and-type-a-feminine>];",
240 "11000/1000: <%spellout-cardinal-masculine< elf[>%%and-type-a-feminine>];",

1234567891011