Home
last modified time | relevance | path

Searched refs:elf_reader (Results 1 – 25 of 35) sorted by relevance

12

/external/pigweed/pw_tokenizer/py/
Delf_reader_test.py22 from pw_tokenizer import elf_reader
84 self._elf = elf_reader.Elf(self._elf_file)
90 def _section(self, name) -> elf_reader.Elf.Section:
171 elf_reader.read_c_string(bytes_io),
174 self.assertEqual(elf_reader.read_c_string(bytes_io), b'No terminator!')
175 self.assertEqual(elf_reader.read_c_string(bytes_io), b'')
178 self.assertTrue(elf_reader.compatible_file(self._elf_file))
179 self.assertTrue(elf_reader.compatible_file(io.BytesIO(b'\x7fELF')))
183 self.assertTrue(elf_reader.compatible_file(self._elf_file))
187 self.assertFalse(elf_reader.compatible_file(io.BytesIO(b'\x7fELVESF')))
[all …]
DBUILD.gn41 "pw_tokenizer/elf_reader.py",
DBUILD.bazel26 "pw_tokenizer/elf_reader.py",
/external/libabigail/tests/
Dtest-symtab.cc37 elf_reader::status
61 elf_reader::status status = elf_reader::STATUS_UNKNOWN; in read_corpus()
64 REQUIRE(status != elf_reader::STATUS_UNKNOWN); in read_corpus()
72 const elf_reader::status status = read_corpus(binary, corpus_ptr);
75 REQUIRE((status & elf_reader::STATUS_NO_SYMBOLS_FOUND));
82 const elf_reader::status status = read_corpus(binary, corpus_ptr);
86 == (elf_reader::STATUS_OK
87 | elf_reader::STATUS_DEBUG_INFO_NOT_FOUND));
105 const elf_reader::status status = in assert_symbol_count()
109 REQUIRE((status & elf_reader::STATUS_OK)); in assert_symbol_count()
[all …]
Dprint-diff-tree.cc104 elf_reader::status c1_status, c2_status; in main()
112 if (c1_status != elf_reader::STATUS_OK) in main()
121 if (c2_status != elf_reader::STATUS_OK) in main()
Dtest-ir-walker.cc160 abigail::elf_reader::status status = abigail::elf_reader::STATUS_OK; in main()
Dtest-diff-dwarf.cc383 abigail::elf_reader::status status = in main()
384 abigail::elf_reader::STATUS_UNKNOWN; in main()
Dtest-read-ctf.cc348 abigail::elf_reader::status status = in perform()
349 abigail::elf_reader::STATUS_UNKNOWN; in perform()
Dtest-read-dwarf.cc587 abigail::elf_reader::status status = in perform()
588 abigail::elf_reader::STATUS_UNKNOWN; in perform()
/external/libabigail/include/
Dabg-dwarf-reader.h79 read_corpus_from_elf(read_context& ctxt, elf_reader::status& stat);
86 elf_reader::status&);
89 read_and_add_corpus_to_group_from_elf(read_context&, corpus_group&, elf_reader::status&);
108 elf_reader::status
113 elf_reader::status
Dabg-ctf-reader.h37 read_corpus(read_context *ctxt, elf_reader::status& status);
40 read_corpus(const read_context_sptr &ctxt, elf_reader::status &status);
43 read_and_add_corpus_to_group_from_elf(read_context*, corpus_group&, elf_reader::status&);
Dabg-elf-reader-common.h27 namespace elf_reader
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Ddatabase.py48 from pw_tokenizer import elf_reader, tokens
53 from pw_tokenizer import elf_reader, tokens
58 def _elf_reader(elf) -> elf_reader.Elf:
59 return elf if isinstance(elf, elf_reader.Elf) else elf_reader.Elf(elf)
188 if isinstance(db, elf_reader.Elf):
201 if elf_reader.compatible_file(fd):
213 if elf_reader.compatible_file(db):
270 if elf_reader.compatible_file(file):
413 if elf_reader.compatible_file(path) or path.endswith(
431 if not elf_reader.compatible_file(file):
/external/libabigail/tools/
Dabicompat.cc277 using abigail::elf_reader::status;
278 using abigail::elf_reader::STATUS_ALT_DEBUG_INFO_NOT_FOUND;
279 using abigail::elf_reader::STATUS_DEBUG_INFO_NOT_FOUND;
791 status status = abigail::elf_reader::STATUS_UNKNOWN; in main()
811 if (status & abigail::elf_reader::STATUS_NO_SYMBOLS_FOUND) in main()
817 if (!(status & abigail::elf_reader::STATUS_OK)) in main()
863 if (status & abigail::elf_reader::STATUS_NO_SYMBOLS_FOUND) in main()
869 if (!(status & abigail::elf_reader::STATUS_OK)) in main()
901 if (status & abigail::elf_reader::STATUS_NO_SYMBOLS_FOUND) in main()
907 if (!(status & abigail::elf_reader::STATUS_OK)) in main()
Dabipkgdiff.cc1261 abigail::elf_reader::status *detailed_error_status = 0) in compare()
1278 abigail::elf_reader::status c1_status = abigail::elf_reader::STATUS_OK, in compare()
1279 c2_status = abigail::elf_reader::STATUS_OK; in compare()
1347 if (!(c1_status & abigail::elf_reader::STATUS_OK)) in compare()
1364 if (c1_status & abigail::elf_reader::STATUS_DEBUG_INFO_NOT_FOUND) in compare()
1381 if (c1_status & abigail::elf_reader::STATUS_ALT_DEBUG_INFO_NOT_FOUND) in compare()
1452 if (!(c2_status & abigail::elf_reader::STATUS_OK)) in compare()
1469 if (c2_status & abigail::elf_reader::STATUS_DEBUG_INFO_NOT_FOUND) in compare()
1486 if (c2_status & abigail::elf_reader::STATUS_ALT_DEBUG_INFO_NOT_FOUND) in compare()
1576 abigail::elf_reader::status *detailed_error_status = 0) in compare_to_self()
[all …]
Dabidiff.cc48 using namespace abigail::elf_reader;
958 handle_error(abigail::elf_reader::status status_code, in handle_error()
963 if (!(status_code & abigail::elf_reader::STATUS_OK)) in handle_error()
968 if (status_code & abigail::elf_reader::STATUS_DEBUG_INFO_NOT_FOUND) in handle_error()
1021 if (status_code & abigail::elf_reader::STATUS_ALT_DEBUG_INFO_NOT_FOUND) in handle_error()
1036 if (status_code & abigail::elf_reader::STATUS_NO_SYMBOLS_FOUND) in handle_error()
1138 abigail::elf_reader::status c1_status = in main()
1139 abigail::elf_reader::STATUS_OK, in main()
1140 c2_status = abigail::elf_reader::STATUS_OK; in main()
Dabidw.cc538 elf_reader::status s = elf_reader::STATUS_UNKNOWN; in load_corpus_and_write_abixml()
573 abigail::elf_reader::status status = in load_corpus_and_write_abixml()
577 if (status & abigail::elf_reader::STATUS_OK) in load_corpus_and_write_abixml()
621 if (s == elf_reader::STATUS_DEBUG_INFO_NOT_FOUND) in load_corpus_and_write_abixml()
651 else if (s == elf_reader::STATUS_NO_SYMBOLS_FOUND) in load_corpus_and_write_abixml()
Dabilint.cc755 abigail::elf_reader::status s = abigail::elf_reader::STATUS_OK; in main()
841 if (!(s & abigail::elf_reader::STATUS_OK)) in main()
843 if (s & abigail::elf_reader::STATUS_DEBUG_INFO_NOT_FOUND) in main()
857 if (s & abigail::elf_reader::STATUS_NO_SYMBOLS_FOUND) in main()
/external/libabigail/src/
Dabg-ctf-reader.cc1456 elf_reader::status& status) in slurp_elf_info()
1475 status |= elf_reader::STATUS_OK; in slurp_elf_info()
1488 status |= elf_reader::STATUS_DEBUG_INFO_NOT_FOUND; in slurp_elf_info()
1507 status |= elf_reader::STATUS_NO_SYMBOLS_FOUND; in slurp_elf_info()
1515 status |= elf_reader::STATUS_OK; in slurp_elf_info()
1546 read_corpus(read_context *ctxt, elf_reader::status &status) in read_corpus()
1551 status = elf_reader::STATUS_UNKNOWN; in read_corpus()
1569 && ((status & elf_reader::STATUS_DEBUG_INFO_NOT_FOUND) | in read_corpus()
1570 (status & elf_reader::STATUS_NO_SYMBOLS_FOUND))) in read_corpus()
1598 status |= elf_reader::STATUS_DEBUG_INFO_NOT_FOUND; in read_corpus()
[all …]
Dabg-elf-reader-common.cc31 namespace elf_reader namespace
/external/google-breakpad/src/tools/mac/dump_syms/dump_syms.xcodeproj/
Dproject.pbxproj42 …BCAAA4C1CE3A7980046090B /* elf_reader.cc in Sources */ = {isa = PBXBuildFile; fileRef = 8BCAAA4A1C…
43 …BCAAA4D1CE3B1260046090B /* elf_reader.cc in Sources */ = {isa = PBXBuildFile; fileRef = 8BCAAA4A1C…
291elf_reader.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.c…
292elf_reader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; n…
632 8BCAAA4A1CE3A7980046090B /* elf_reader.cc */,
633 8BCAAA4B1CE3A7980046090B /* elf_reader.h */,
977 8BCAAA4D1CE3B1260046090B /* elf_reader.cc in Sources */,
1097 8BCAAA4C1CE3A7980046090B /* elf_reader.cc in Sources */,
/external/google-breakpad/src/tools/mac/crash_report/crash_report.xcodeproj/
Dproject.pbxproj69 …47180561D745DEF0032F208 /* elf_reader.cc in Sources */ = {isa = PBXBuildFile; fileRef = F47180541D…
192elf_reader.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.c…
193elf_reader.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; n…
427 F47180541D745DEF0032F208 /* elf_reader.cc */,
428 F47180551D745DEF0032F208 /* elf_reader.h */,
496 F47180561D745DEF0032F208 /* elf_reader.cc in Sources */,
/external/google-breakpad/src/common/dwarf/
Delf_reader.cc1244 ElfReaderImpl<ElfArch> elf_reader(path, fd); in IsNonStrippedELFBinaryImpl() local
1246 elf_reader.HasDebugSections() in IsNonStrippedELFBinaryImpl()
1247 : (elf_reader.GetSectionByType(SHT_SYMTAB) != NULL); in IsNonStrippedELFBinaryImpl()
Ddwarf2reader.h508 void ReadDebugSectionsFromDwo(ElfReader* elf_reader,
608 DwpReader(const ByteReader& byte_reader, ElfReader* elf_reader);
/external/google-breakpad/src/common/
Dcommon.gyp80 'dwarf/elf_reader.cc',
81 'dwarf/elf_reader.h',

12