Home
last modified time | relevance | path

Searched refs:elf (Results 1 – 11 of 11) sorted by relevance

/test/vts-testcase/vndk/dependency/
Dvts_vndk_dependency_test.py135 def _IsElfObjectForAp(self, elf, target_path, abi_list): argument
146 if not any(elf.MatchCpuAbi(x) for x in abi_list):
152 if not elf.IsExecutable():
156 interp = elf.GetProgramInterpreter()
166 def _IsElfObjectBuiltForAndroid(self, elf, target_path): argument
184 if elf.HasAndroidIdent():
190 elf.IsSharedObject()):
196 interp = elf.GetProgramInterpreter()
198 if elf.IsExecutable() or self._dut.IsExecutable(target_path):
238 elf = elf_parser.ElfParser(full_path)
[all …]
DVtsVndkDependencyTest.py138 def _IsElfObjectForAp(self, elf, target_path, abi_list): argument
149 if not any(elf.MatchCpuAbi(x) for x in abi_list):
155 if not elf.IsExecutable():
159 interp = elf.GetProgramInterpreter()
171 def _IsElfObjectBuiltForAndroid(self, elf, target_path): argument
189 if elf.HasAndroidIdent():
195 elf.IsSharedObject()):
201 interp = elf.GetProgramInterpreter()
205 if (elf.IsExecutable() or
233 elf = elf_parser.ElfParser(full_path)
[all …]
/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DReadElfTest.java111 ReadElf elf = ReadElf.read(targetFile); in checkReadElf() local
112 assertEquals("getBits() ", bits, elf.getBits()); in checkReadElf()
113 assertEquals("getArchitecture() ", arch, elf.getArchitecture()); in checkReadElf()
114 assertEquals("isDynamic() ", true, elf.isDynamic()); in checkReadElf()
115 assertEquals("getType() ", type, elf.getType()); in checkReadElf()
120 final ReadElf.Symbol[] dynSymbolArr = elf.getDynSymArr(); in checkReadElf()
126 elf.getDynamicDependencies()); in checkReadElf()
131 elf.getRoStrings()); in checkReadElf()
/test/vts/utils/python/
DAndroid.bp23 "library/elf/__init__.py",
24 "library/elf/consts.py",
25 "library/elf/utils.py",
26 "library/elf/structs.py",
/test/vts/utils/python/library/
DREADME.md4 * elf/consts.py: Contains ELF constants.
5 * elf/structs.py: Contains ELF C structs and data types.
11 https://refspecs.linuxfoundation.org/elf/gabi4+/contents.html
Delf_parser_test.py22 from vts.utils.python.library import elf_parser as elf unknown
62 self.elf_file = elf.ElfParser(self.elf_file_path)
Delf_parser.py29 from vts.utils.python.library.elf import consts
30 from vts.utils.python.library.elf import structs
31 from vts.utils.python.library.elf import utils
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DReadElf.java578 ReadElf elf = ReadElf.read(new File(arg)); in main() local
579 elf.getDynamicSymbol("x"); in main()
580 elf.getSymbol("x"); in main()
584 symArr = elf.getSymArr(); in main()
589 symArr = elf.getDynSymArr(); in main()
591 if (elf.mVerNeedEntryCnt > 0) { in main()
612 for (String DynDepEntry : elf.getDynamicDependencies()) { in main()
617 for (String roStr : elf.getRoStrings()) { in main()
621 elf.close(); in main()
/test/vts/utils/python/library/elf/
Dutils_test.py21 from vts.utils.python.library.elf import utils as elf_utils
Dstructs.py20 from vts.utils.python.library.elf import consts
/test/vts/utils/python/library/vtable/
Dvtable_dumper.py27 from vts.utils.python.library.elf import consts