Searched refs:elf (Results 1 – 4 of 4) sorted by relevance
79 ReadElf elf = null; in checkElfFilesInDirectory() local81 elf = ReadElf.read(f); in checkElfFilesInDirectory()93 if (elf != null) { in checkElfFilesInDirectory()94 elf.close(); in checkElfFilesInDirectory()
81 ReadElf elf = ReadElf.read(getFile()); in parse() local82 mOatInfoBuilder.setBits(elf.getBits()); in parse()83 mOatInfoBuilder.setArchitecture(elf.getArchitecture()); in parse()84 mRoData = elf.getRoData(); in parse()
234 private List<String> getDynamicLoadingDependencies(ReadElf elf) throws IOException { in getDynamicLoadingDependencies() argument237 if (elf.getDynamicSymbol("dlopen") != null) { in getDynamicLoadingDependencies()238 List<String> roStrings = elf.getRoStrings(); in getDynamicLoadingDependencies()
864 shdr_t *find_rela_plt(void *elf) { in find_rela_plt() argument865 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() local880 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 …]