Home
last modified time | relevance | path

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

/cts/tests/tests/os/src/android/os/cts/
DAbiTest.java79 ReadElf elf = null; in checkElfFilesInDirectory() local
81 elf = ReadElf.read(f); in checkElfFilesInDirectory()
93 if (elf != null) { in checkElfFilesInDirectory()
94 elf.close(); in checkElfFilesInDirectory()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DOatParser.java81 ReadElf elf = ReadElf.read(getFile()); in parse() local
82 mOatInfoBuilder.setBits(elf.getBits()); in parse()
83 mOatInfoBuilder.setArchitecture(elf.getArchitecture()); in parse()
84 mRoData = elf.getRoData(); in parse()
DSoParser.java234 private List<String> getDynamicLoadingDependencies(ReadElf elf) throws IOException { in getDynamicLoadingDependencies() argument
237 if (elf.getDynamicSymbol("dlopen") != null) { in getDynamicLoadingDependencies()
238 List<String> roStrings = elf.getRoStrings(); in getDynamicLoadingDependencies()
/cts/tests/tests/security/jni/
Dandroid_security_cts_cve_2019_2213_Test.c864 shdr_t *find_rela_plt(void *elf) { in find_rela_plt() argument
865 ehdr_t *ehdr = (ehdr_t *)elf; in find_rela_plt()
866 shdr_t *shdr = ((shdr_t *)elf) + ehdr->e_shoff; in find_rela_plt()
867 char *shstr = ((char *)elf) + shdr[ehdr->e_shstrndx].sh_offset; in find_rela_plt()
879 void *elf = map_path(path, &mapsz); in find_elf_clone_got() local
880 ehdr_t *ehdr = (ehdr_t *)elf; in find_elf_clone_got()
881 shdr_t *shdr = ((shdr_t *)elf) + ehdr->e_shoff; in find_elf_clone_got()
882 shdr_t *rphdr = find_rela_plt(elf); in find_elf_clone_got()
888 sym_t *sym = ((sym_t *)elf) + symhdr->sh_offset; in find_elf_clone_got()
889 char *str = ((char *)elf) + strhdr->sh_offset; in find_elf_clone_got()
[all …]