Searched refs:ELF (Results 1 – 6 of 6) sorted by relevance
/development/vndk/tools/definition-tool/tests/ |
D | test_elf.py | 8 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 …]
|
D | utils.py | 5 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,
|
D | test_elf_linker.py | 7 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/ |
D | so_file_parser.cpp | 46 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()
|
/development/vndk/tools/definition-tool/ |
D | vndk_definition_tool.py | 440 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/ |
D | README.md | 78 * `16`: ELF incompatible (Some symbols in the `.dynsym` table, not exported by
|