Home
last modified time | relevance | path

Searched refs:ELF (Results 1 – 7 of 7) sorted by relevance

/development/vndk/tools/definition-tool/tests/
Dtest_elf.py8 from vndk_definition_tool import Elf_Sym, ELF
46 self.assertEqual(ELF.ELFCLASS32, ELF.get_ei_class_from_name('32'))
47 self.assertEqual(ELF.ELFCLASS64, ELF.get_ei_class_from_name('64'))
51 self.assertEqual(ELF.ELFDATA2LSB,
52 ELF.get_ei_data_from_name('Little-Endian'))
53 self.assertEqual(ELF.ELFDATA2MSB,
54 ELF.get_ei_data_from_name('Big-Endian'))
58 self.assertEqual(0, ELF.get_e_machine_from_name('EM_NONE'))
59 self.assertEqual(3, ELF.get_e_machine_from_name('EM_386'))
60 self.assertEqual(8, ELF.get_e_machine_from_name('EM_MIPS'))
[all …]
Dutils.py5 from vndk_definition_tool import (ELF, ELFLinker, PT_SYSTEM, PT_VENDOR)
16 ELF.ELFCLASS32: 'lib',
17 ELF.ELFCLASS64: 'lib64',
37 elf = ELF(klass, ELF.ELFDATA2LSB, dt_needed=dt_needed,
49 return self.add_lib(partition, ELF.ELFCLASS32, name, dt_needed,
56 return self.add_lib(partition, ELF.ELFCLASS64, name, dt_needed,
65 self.add_lib(partition, ELF.ELFCLASS32, name, dt_needed,
67 self.add_lib(partition, ELF.ELFCLASS64, name, dt_needed,
Dtest_elf_linker.py7 ELF, ELFLinker, GenericRefs, PT_SYSTEM, PT_VENDOR, VNDKLibDir)
159 gb.add_lib(PT_SYSTEM, ELF.ELFCLASS64, 'libfoo', dt_needed=[],
467 ELF(ELF.ELFCLASS32, ELF.ELFDATA2LSB))
469 ELF(ELF.ELFCLASS32, ELF.ELFDATA2LSB))
481 ELF(ELF.ELFCLASS32, ELF.ELFDATA2LSB))
483 ELF(ELF.ELFCLASS32, ELF.ELFDATA2LSB,
497 ELF(ELF.ELFCLASS32, ELF.ELFDATA2LSB))
500 ELF(ELF.ELFCLASS32, ELF.ELFDATA2LSB, dt_needed=['libc.so']))
/development/vndk/tools/header-checker/src/repr/symbol/
Dso_file_parser.cpp46 case llvm::ELF::STB_GLOBAL: in LLVMToIRSymbolBinding()
48 case llvm::ELF::STB_WEAK: in LLVMToIRSymbolBinding()
75 return ((binding == llvm::ELF::STB_GLOBAL || in IsSymbolExported()
76 binding == llvm::ELF::STB_WEAK) && in IsSymbolExported()
77 (visibility == llvm::ELF::STV_DEFAULT || in IsSymbolExported()
78 visibility == llvm::ELF::STV_PROTECTED)); in IsSymbolExported()
105 case llvm::ELF::STT_OBJECT: in ELFSoFileParser()
106 case llvm::ELF::STT_COMMON: in ELFSoFileParser()
107 case llvm::ELF::STT_TLS: in ELFSoFileParser()
110 case llvm::ELF::STT_FUNC: in ELFSoFileParser()
[all …]
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py440 class ELF(object): class
505 return ELF._dict_find_key_by_value(ELF._ELF_CLASS_NAMES, name)
510 return ELF._dict_find_key_by_value(ELF._ELF_DATA_NAMES, name)
515 return ELF._dict_find_key_by_value(ELF.ELF_MACHINES, name)
572 return self.ei_class == ELF.ELFCLASS32
577 return self.ei_class == ELF.ELFCLASS64
642 if buf[0:4] != ELF.ELF_MAGIC:
645 self.ei_class = buf[ELF.EI_CLASS]
646 if self.ei_class not in (ELF.ELFCLASS32, ELF.ELFCLASS64):
649 self.ei_data = buf[ELF.EI_DATA]
[all …]
/development/vndk/tools/header-checker/
DREADME.md78 * `16`: ELF incompatible (Some symbols in the `.dynsym` table, not exported by
/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
Dcommit.csv117 …form/external/compiler-rt,fake_ScjdmgXmQvqKMrXjbJM0rg@fakeemail.com,Remove ELF load address hack f…
12380 …orm/build,fake_bQkKo7H9RK-uPK_cQBTEKQ@fakeemail.com,Only generate breakpad symbols for ELF binaries
18219 …b,fake_CJZHYuUfTUaxMRYUXVhzVw@fakeemail.com,util: temporary retain postprocess ability to parse ELF
18283 …xthub,fake_LtIZ6_AqSvCV264tEGjn6g@fakeemail.com,postprocess: Support statically-linked ELF as input
21038 …libunwind_llvm,fake__-SZirVYSAu0u6z5knOWOQ@fakeemail.com,Add ifdefs around ELF specific parts of U…
26082 …07,platform/development,fake_4dZW8zNjRpGYuq5Umf5eBA@fakeemail.com,vndk-def: Implement ELF resolver.
26154 …form/development,fake_4dZW8zNjRpGYuq5Umf5eBA@fakeemail.com,vndk-def: Cleanup ELF linker test cases.
26181 …orm/development,fake_4dZW8zNjRpGYuq5Umf5eBA@fakeemail.com,vndk-def: Ignore ELF files with unknown …
26210 …velopment,fake_qemO-QyFQFqvUcuUmYzTYQ@fakeemail.com,Virtual table dumper which uses llvm's ELF API.
26448 …tform/development,fake_4dZW8zNjRpGYuq5Umf5eBA@fakeemail.com,vndk-def: Add parse from ELF dump file.
[all …]