/build/soong/symbol_inject/ |
D | elf_symboldata_test.go | 31 t: elf.ET_EXEC, 32 sections: []elf.SectionHeader{ 33 …elf.SectionHeader{Name: "", Type: elf.SHT_NULL, Flags: 0x0, Addr: 0x0, Offset: 0x0, Size: 0x0, Lin… 34 …elf.SectionHeader{Name: ".interp", Type: elf.SHT_PROGBITS, Flags: elf.SHF_ALLOC, Addr: 0x400238, O… 35 …elf.SectionHeader{Name: ".note.ABI-tag", Type: elf.SHT_NOTE, Flags: elf.SHF_ALLOC, Addr: 0x400254,… 36 …elf.SectionHeader{Name: ".hash", Type: elf.SHT_HASH, Flags: elf.SHF_ALLOC, Addr: 0x400278, Offset:… 37 …elf.SectionHeader{Name: ".dynsym", Type: elf.SHT_DYNSYM, Flags: elf.SHF_ALLOC, Addr: 0x4002a0, Off… 38 …elf.SectionHeader{Name: ".dynstr", Type: elf.SHT_STRTAB, Flags: elf.SHF_ALLOC, Addr: 0x400300, Off… 39 …elf.SectionHeader{Name: ".gnu.version", Type: elf.SHT_GNU_VERSYM, Flags: elf.SHF_ALLOC, Addr: 0x40… 40 …elf.SectionHeader{Name: ".gnu.version_r", Type: elf.SHT_GNU_VERNEED, Flags: elf.SHF_ALLOC, Addr: 0… [all …]
|
D | elf.go | 24 Symbols() ([]elf.Symbol, error) 25 Sections() []elf.SectionHeader 26 Type() elf.Type 32 *elf.File 35 func (f elfFileWrapper) Sections() []elf.SectionHeader { 36 ret := make([]elf.SectionHeader, len(f.File.Sections)) 44 func (f elfFileWrapper) Type() elf.Type { 49 symbols []elf.Symbol 50 sections []elf.SectionHeader 51 t elf.Type [all …]
|
D | Android.bp | 24 "elf.go",
|
/build/soong/cmd/host_bionic_verify/ |
D | host_bionic_verify_test.go | 24 func prog(flags elf.ProgFlag, offset, addr, filesz, memsz uint64) *elf.Prog { 25 return &elf.Prog{ 26 ProgHeader: elf.ProgHeader{ 27 Type: elf.PT_LOAD, 40 func linkerGold() *elf.File { 41 return &elf.File{ 42 Progs: []*elf.Prog{ 43 prog(elf.PF_R|elf.PF_X, 0, 0, 0xd0fac, 0xd0fac), 44 prog(elf.PF_R|elf.PF_W, 0xd1050, 0xd2050, 0x6890, 0xd88c), 51 func fileGold() *elf.File { [all …]
|
D | host_bionic_verify.go | 45 linker, err := elf.Open(linkerFile) 59 func checkElf(r io.ReaderAt, linker *elf.File) error { 60 file, err := elf.NewFile(r) 71 if prog.Type == elf.PT_INTERP { 93 func findSymbol(symbols []elf.Symbol, name string) (elf.Symbol, error) { 99 return elf.Symbol{}, fmt.Errorf("Failed to find symbol %q", name) 103 func checkLinker(file, linker *elf.File, fileSyms []elf.Symbol) error { 110 if lprog.Type != elf.PT_LOAD { 118 if prog.Type != elf.PT_LOAD {
|
/build/soong/elf/ |
D | elf_test.go | 15 package elf package 88 ident := [elf.EI_NIDENT]byte{} 89 identBuf := bytes.NewBuffer(ident[0:0:elf.EI_NIDENT]) 91 binary.Write(identBuf, binary.LittleEndian, elf.ELFCLASS64) 92 binary.Write(identBuf, binary.LittleEndian, elf.ELFDATA2LSB) 93 binary.Write(identBuf, binary.LittleEndian, elf.EV_CURRENT) 94 binary.Write(identBuf, binary.LittleEndian, elf.ELFOSABI_LINUX) 97 header := elf.Header64{ 99 Type: uint16(elf.ET_EXEC), 100 Machine: uint16(elf.EM_X86_64), [all …]
|
D | Android.bp | 20 name: "soong-elf", 21 pkgPath: "android/soong/elf", 23 "elf.go",
|
D | elf.go | 15 package elf package 44 f, err := elf.NewFile(r) 50 if _, ok := err.(*elf.FormatError); ok {
|
/build/bazel/scripts/ |
D | elf_input_files.sh | 33 declare -r elf="$1"; shift 40 zgrep -e "bin/clang\+\+.* -o [^ ]*$elf " $outdir/verbose.log.gz 52 [[ -s $cmdfile ]] || die "no ELF file ending with $elf was built in $outdir" 54 { printf >&2 "Multiple elf files ending with $elf were built in $outdir:\n";
|
/build/soong/cmd/extract_linker/ |
D | main.go | 46 ef, err := elf.NewFile(f) 65 if prog.Type != elf.PT_LOAD { 74 if prog.Flags&elf.PF_W != 0 { 77 if prog.Flags&elf.PF_X != 0 { 152 func progNameFromFlags(flags elf.ProgFlag, progsWithFlagsCount map[string]int) string { 154 if flags&elf.PF_R != 0 { 157 if flags&elf.PF_W != 0 { 160 if flags&elf.PF_X != 0 {
|
/build/make/core/ |
D | check_elf_file.mk | 52 --skip-bad-elf-magic \ 53 --skip-unknown-elf-machine \ 68 check-elf-files: $(check_elf_files_stamp)
|
D | dynamic_binary.mk | 58 $(eval $(call copy-unstripped-elf-file-with-mapping,$(symbolic_input),$(symbolic_output)))
|
D | main.mk | 717 define add-elf-file-check-shared-lib 722 define resolve-shared-libs-for-elf-file-check 741 $(eval $(call add-elf-file-check-shared-lib,$(stamp),$(deps))))\ 745 $(call resolve-shared-libs-for-elf-file-check,TARGET_) 747 $(call resolve-shared-libs-for-elf-file-check,TARGET_,true) 1255 checkbuild: $(modules_to_check) droid_targets check-elf-files 1721 .PHONY: check-elf-files 1722 check-elf-files:
|
D | soong_cc_rust_prebuilt.mk | 197 …$(eval $(call copy-unstripped-elf-file-with-mapping,$(LOCAL_SOONG_UNSTRIPPED_BINARY),$(symbolic_ou…
|
D | definitions.mk | 3180 define copy-non-elf-file-checked 3182 $(call intermediates-dir-for,FAKE,check-non-elf-file-timestamps)/$(2).timestamp) 3199 check-elf-prebuilt-product-copy-files: $(check_non_elf_file_timestamp) 3339 define copy-unstripped-elf-file-with-mapping 3341 …elf,$(patsubst $(TARGET_OUT_UNSTRIPPED)/%,$(call intermediates-dir-for,PACKAGING,elf_symbol_mappin…
|
D | Makefile | 144 .PHONY: check-elf-prebuilt-product-copy-files 145 check-elf-prebuilt-product-copy-files: 176 …$(eval $(call copy-non-elf-file-checked,$(_src),$(_fulldest),$(check_elf_prebuilt_product_copy_fil…
|
/build/bazel/mkcompare/elfdiff/ |
D | elfdiff.go | 19 *elf.File 21 sectionsByName map[string]*elf.Section 117 res.File, err = elf.NewFile(reader) 121 res.sectionsByName = make(map[string]*elf.Section) 127 if s.Flags&elf.SHF_ALLOC != 0 && s.Type != elf.SHT_NOBITS {
|
/build/soong/cmd/symbols_map/symbols_map_proto/ |
D | symbols_map.proto | 22 // elf file it is the elf build ID, for an R8 dictionary it is the hash from the comments in the 32 // ELF denotes a mapping from an elf build ID to an unstripped elf file.
|
/build/soong/scripts/ |
D | toc.sh | 76 elf) elf=1 ;;
|
/build/soong/cmd/symbols_map/ |
D | Android.bp | 17 "soong-elf",
|
D | symbols_map.go | 120 identifier, err = elf.Identifier(*elfFile, true)
|
/build/bazel/rules/cc/ |
D | generate_toc.bzl | 41 "--elf",
|
/build/bazel/rules/abi/ |
D | abi_dump.bzl | 270 args.add_all(["-allow-unreferenced-changes", "-allow-unreferenced-elf-symbol-changes"])
|
D | abi_dump_test.bzl | 530 _test_arg_exists(env, argv, "-allow-unreferenced-elf-symbol-changes")
|