/aosp_15_r20/packages/modules/UprobeStats/src/bpfloader/ |
D | UprobeStatsBpfLoad.cpp | 120 static int readElfHeader(ifstream &elfFile, Elf64_Ehdr *eh) { in readElfHeader() argument 121 elfFile.seekg(0); in readElfHeader() 122 if (elfFile.fail()) in readElfHeader() 125 if (!elfFile.read((char *)eh, sizeof(*eh))) in readElfHeader() 132 static int readSectionHeadersAll(ifstream &elfFile, in readSectionHeadersAll() argument 137 ret = readElfHeader(elfFile, &eh); in readSectionHeadersAll() 141 elfFile.seekg(eh.e_shoff); in readSectionHeadersAll() 142 if (elfFile.fail()) in readSectionHeadersAll() 148 if (!elfFile.read((char *)shTable.data(), (eh.e_shnum * eh.e_shentsize))) in readSectionHeadersAll() 155 static int readSectionByIdx(ifstream &elfFile, int id, vector<char> &sec) { in readSectionByIdx() argument [all …]
|
/aosp_15_r20/system/bpf/loader/ |
H A D | Loader.cpp | 118 static int readElfHeader(ifstream& elfFile, Elf64_Ehdr* eh) { in readElfHeader() argument 119 elfFile.seekg(0); in readElfHeader() 120 if (elfFile.fail()) return -1; in readElfHeader() 122 if (!elfFile.read((char*)eh, sizeof(*eh))) return -1; in readElfHeader() 128 static int readSectionHeadersAll(ifstream& elfFile, vector<Elf64_Shdr>& shTable) { in readSectionHeadersAll() argument 132 ret = readElfHeader(elfFile, &eh); in readSectionHeadersAll() 135 elfFile.seekg(eh.e_shoff); in readSectionHeadersAll() 136 if (elfFile.fail()) return -1; in readSectionHeadersAll() 141 if (!elfFile.read((char*)shTable.data(), (eh.e_shnum * eh.e_shentsize))) return -ENOMEM; in readSectionHeadersAll() 147 static int readSectionByIdx(ifstream& elfFile, int id, vector<char>& sec) { in readSectionByIdx() argument [all …]
|
/aosp_15_r20/packages/modules/Connectivity/bpf/loader/ |
D | NetBpfLoad.cpp | 265 static int readElfHeader(ifstream& elfFile, Elf64_Ehdr* eh) { in readElfHeader() argument 266 elfFile.seekg(0); in readElfHeader() 267 if (elfFile.fail()) return -1; in readElfHeader() 269 if (!elfFile.read((char*)eh, sizeof(*eh))) return -1; in readElfHeader() 275 static int readSectionHeadersAll(ifstream& elfFile, vector<Elf64_Shdr>& shTable) { in readSectionHeadersAll() argument 279 ret = readElfHeader(elfFile, &eh); in readSectionHeadersAll() 282 elfFile.seekg(eh.e_shoff); in readSectionHeadersAll() 283 if (elfFile.fail()) return -1; in readSectionHeadersAll() 288 if (!elfFile.read((char*)shTable.data(), (eh.e_shnum * eh.e_shentsize))) return -ENOMEM; in readSectionHeadersAll() 294 static int readSectionByIdx(ifstream& elfFile, int id, vector<char>& sec) { in readSectionByIdx() argument [all …]
|
/aosp_15_r20/build/soong/symbol_inject/ |
H A D | elf.go | 59 elfFile, err := elf.NewFile(r) 63 return extractElfSymbols(elfFileWrapper{elfFile}) 66 func extractElfSymbols(elfFile mockableElfFile) (*File, error) { 67 symbols, err := elfFile.Symbols() 74 for _, section := range elfFile.Sections() { 99 switch elfFile.Type() { 117 return nil, fmt.Errorf("unsupported elf file type %d", elfFile.Type()) 132 elfFile, err := elf.NewFile(r) 137 symbols, err := elfFile.Symbols() 143 fmt.Printf("\tt: %#v,\n", elfFile.Type) [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/link/internal/ld/ |
D | elf_test.go | 53 elfFile, err := elf.NewFile(fi) 58 section := elfFile.Section(".dynsym") 63 symbols, err := elfFile.DynamicSymbols() 160 elfFile, err := elf.NewFile(fi) 165 section := elfFile.Section(".shstrtab") 182 for idx, p := range elfFile.Progs { 322 elfFile, err := elf.NewFile(fi) 326 defer elfFile.Close() 328 flags, err := elfFile.DynValue(elf.DT_FLAGS) 333 flags1, err := elfFile.DynValue(elf.DT_FLAGS_1) [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/internal/objfile/ |
D | elf.go | 17 type elfFile struct { struct 26 return &elfFile{f}, nil 29 func (f *elfFile) symbols() ([]Sym, error) { argument 67 func (f *elfFile) pcln() (textStart uint64, symtab, pclntab []byte, err error) { argument 103 func (f *elfFile) text() (textStart uint64, text []byte, err error) { argument 113 func (f *elfFile) goarch() string { argument 134 func (f *elfFile) loadAddress() (uint64, error) { argument 148 func (f *elfFile) dwarf() (*dwarf.Data, error) { argument 152 func (f *elfFile) symbolData(start, end string) []byte { argument
|
/aosp_15_r20/build/soong/cmd/symbols_map/ |
H A D | symbols_map.go | 73 elfFile := flags.String("elf", "", "extract identifier from an elf file") 93 if *elfFile == "" && *r8File == "" { 99 if *elfFile != "" && *r8File != "" { 117 if *elfFile != "" { 119 location = *elfFile 120 identifier, err = elf.Identifier(*elfFile, true)
|
/aosp_15_r20/packages/modules/Connectivity/tests/cts/net/native/src/ |
D | BpfCompatTest.cpp | 31 std::ifstream elfFile(elfPath, std::ios::in | std::ios::binary); in doBpfStructSizeTest() local 32 ASSERT_TRUE(elfFile.is_open()); in doBpfStructSizeTest() 34 EXPECT_EQ(mapSz, readSectionUint("size_of_bpf_map_def", elfFile, 0)); in doBpfStructSizeTest() 35 EXPECT_EQ(progSz, readSectionUint("size_of_bpf_prog_def", elfFile, 0)); in doBpfStructSizeTest()
|
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/testdata/script/ |
D | build_trimpath_cgo.txt | 162 elfFile, err := elf.Open(exePath) 166 defer elfFile.Close() 167 return elfFile.DWARF()
|
/aosp_15_r20/system/bpf/loader/include/ |
H A D | libbpf_android.h | 40 unsigned int readSectionUint(const char* name, std::ifstream& elfFile, unsigned int defVal);
|
/aosp_15_r20/external/swiftshader/src/Reactor/ |
H A D | SubzeroReactor.cpp | 220 Ice::ELFFileStreamer *elfFile = nullptr; variable 925 ::elfFile = new Ice::ELFFileStreamer(*out); in Nucleus() 926 ::context = new Ice::GlobalContext(&cout, &cout, &cerr, elfFile); in Nucleus() 961 delete ::elfFile; in ~Nucleus() 962 ::elfFile = nullptr; in ~Nucleus()
|
/aosp_15_r20/prebuilts/jdk/jdk8/darwin-x86/lib/ |
D | sa-jdi.jar | META-INF/
META-INF/MANIFEST.MF
META-INF/services/com. ... |
/aosp_15_r20/prebuilts/jdk/jdk8/linux-x86/lib/ |
D | sa-jdi.jar | META-INF/
META-INF/MANIFEST.MF
META-INF/services/com. ... |