Home
last modified time | relevance | path

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

/external/pigweed/pw_tokenizer/py/
Delf_reader_test.py22 from pw_tokenizer import elf_reader
82 self._elf = elf_reader.Elf(self._elf_file)
154 self.assertEqual(elf_reader.read_c_string(bytes_io),
156 self.assertEqual(elf_reader.read_c_string(bytes_io), b'No terminator!')
157 self.assertEqual(elf_reader.read_c_string(bytes_io), b'')
160 self.assertTrue(elf_reader.compatible_file(self._elf_file))
161 self.assertTrue(elf_reader.compatible_file(io.BytesIO(b'\x7fELF')))
165 self.assertTrue(elf_reader.compatible_file(self._elf_file))
169 self.assertFalse(elf_reader.compatible_file(io.BytesIO(b'\x7fELVESF')))
192 self._archive_data = elf_reader.ARCHIVE_MAGIC + b''.join(
[all …]
DBUILD.gn30 "pw_tokenizer/elf_reader.py",
Ddetokenize_test.py29 from pw_tokenizer import elf_reader
267 detok = detokenize.Detokenizer(elf_reader.Elf(fd))
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Ddatabase.py35 from pw_tokenizer import elf_reader, tokens
41 from pw_tokenizer import elf_reader, tokens
46 def _elf_reader(elf) -> elf_reader.Elf:
47 return elf if isinstance(elf, elf_reader.Elf) else elf_reader.Elf(elf)
177 if isinstance(db, elf_reader.Elf):
188 if elf_reader.compatible_file(fd):
195 if elf_reader.compatible_file(db):
243 if elf_reader.compatible_file(file):
337 if elf_reader.compatible_file(path) or path.endswith('.csv'):
351 if not elf_reader.compatible_file(file):
/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/
Dcommon.gyp80 'dwarf/elf_reader.cc',
81 'dwarf/elf_reader.h',
/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);
Ddwarf2reader.cc676 void CompilationUnit::ReadDebugSectionsFromDwo(ElfReader* elf_reader, in ReadDebugSectionsFromDwo() argument
689 const char* section_data = elf_reader->GetSectionByName(dwo_name, in ReadDebugSectionsFromDwo()
699 DwpReader::DwpReader(const ByteReader& byte_reader, ElfReader* elf_reader) in DwpReader() argument
700 : elf_reader_(elf_reader), byte_reader_(byte_reader), in DwpReader()
/external/google-breakpad/
DMakefile.in711 src/common/dwarf/dwarf2reader.h src/common/dwarf/elf_reader.cc \
712 src/common/dwarf/elf_reader.h \
762 @DISABLE_TOOLS_FALSE@@LINUX_HOST_TRUE@ src/common/dwarf/src_common_dumper_unittest-elf_reader.$(OBJ…
814 src/common/dwarf/elf_reader.cc \
834 …ALSE@@LINUX_HOST_TRUE@ src/common/dwarf/src_common_mac_macho_reader_unittest-elf_reader.$(OBJEXT) \
1426 src/common/dwarf/elf_reader.cc src/common/linux/crc32.cc \
1448 …FALSE@@LINUX_HOST_TRUE@ src/common/dwarf/src_tools_linux_dump_syms_dump_syms-elf_reader.$(OBJEXT) \
1518 src/common/dwarf/elf_reader.cc \
1541 …LSE@@LINUX_HOST_TRUE@ src/common/dwarf/src_tools_mac_dump_syms_dump_syms_mac-elf_reader.$(OBJEXT) \
2447 @DISABLE_TOOLS_FALSE@@LINUX_HOST_TRUE@ src/common/dwarf/elf_reader.cc \
[all …]
DMakefile.am586 src/common/dwarf/elf_reader.cc \
640 src/common/dwarf/elf_reader.cc \
694 src/common/dwarf/elf_reader.cc \
695 src/common/dwarf/elf_reader.h \
744 src/common/dwarf/elf_reader.cc \