Home
last modified time | relevance | path

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

/development/vndk/tools/definition-tool/tests/
Dtest_elf.py13 from vndk_definition_tool import Elf_Sym, ELF
44 self.assertEqual(ELF.ELFCLASS32, ELF.get_ei_class_from_name('32'))
45 self.assertEqual(ELF.ELFCLASS64, ELF.get_ei_class_from_name('64'))
48 self.assertEqual(ELF.ELFDATA2LSB,
49 ELF.get_ei_data_from_name('Little-Endian'))
50 self.assertEqual(ELF.ELFDATA2MSB,
51 ELF.get_ei_data_from_name('Big-Endian'))
54 self.assertEqual(0, ELF.get_e_machine_from_name('EM_NONE'))
55 self.assertEqual(3, ELF.get_e_machine_from_name('EM_386'))
56 self.assertEqual(8, ELF.get_e_machine_from_name('EM_MIPS'))
[all …]
Dutils.py10 ELF, ELFLinker, PT_SYSTEM, PT_VENDOR, VNDKLibDir)
20 ELF.ELFCLASS32: 'lib',
21 ELF.ELFCLASS64: 'lib64',
39 elf = ELF(klass, ELF.ELFDATA2LSB, dt_needed=dt_needed,
50 return self.add_lib(partition, ELF.ELFCLASS32, name, dt_needed,
56 return self.add_lib(partition, ELF.ELFCLASS64, name, dt_needed,
64 self.add_lib(partition, ELF.ELFCLASS32, name, dt_needed,
66 self.add_lib(partition, ELF.ELFCLASS64, name, dt_needed,
Dtest_vndk.py12 from vndk_definition_tool import (ELF, ELFLinker, PT_SYSTEM, PT_VENDOR)
Dtest_vndk_lib_dir.py11 from vndk_definition_tool import ELF, VNDKLibDir
Dtest_elf_linker.py14 ELF, ELFLinker, GenericRefs, PT_SYSTEM, PT_VENDOR, VNDKLibDir)
167 gb.add_lib(PT_SYSTEM, ELF.ELFCLASS64, 'libfoo', dt_needed=[],
/development/vndk/tools/vtable-dumper/
Delf_handling.cpp21 using llvm::ELF::ELFDATA2MSB;
22 using llvm::ELF::EM_ARM;
23 using llvm::ELF::EM_MIPS;
24 using llvm::ELF::R_AARCH64_ABS64;
25 using llvm::ELF::R_AARCH64_RELATIVE;
26 using llvm::ELF::R_ARM_ABS32;
27 using llvm::ELF::R_ARM_RELATIVE;
28 using llvm::ELF::R_X86_64_64;
29 using llvm::ELF::R_X86_64_RELATIVE;
30 using llvm::ELF::R_MIPS_64;
[all …]
/development/vndk/tools/header-checker/header-abi-util/src/
Dso_file_parser.cpp27 using llvm::ELF::STV_DEFAULT;
28 using llvm::ELF::STV_PROTECTED;
29 using llvm::ELF::STB_WEAK;
30 using llvm::ELF::STB_GLOBAL;
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py332 class ELF(object): class
395 return ELF._dict_find_key_by_value(ELF._ELF_CLASS_NAMES, name)
399 return ELF._dict_find_key_by_value(ELF._ELF_DATA_NAMES, name)
403 return ELF._dict_find_key_by_value(ELF.ELF_MACHINES, name)
454 return self.ei_class == ELF.ELFCLASS32
458 return self.ei_class == ELF.ELFCLASS64
517 if buf[0:4] != ELF.ELF_MAGIC:
520 self.ei_class = buf[ELF.EI_CLASS]
521 if self.ei_class not in (ELF.ELFCLASS32, ELF.ELFCLASS64):
524 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