Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix shared cache path #244

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions builtin-plugin/SymbolResolver/macho/shared_cache_ctx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ int shared_cache_load_symbols(shared_cache_ctx_t *ctx) {
localSymbolsOffset = ctx->mmap_shared_cache->localSymbolsOffset;
} else {
// iphoneos < 15.0, which has no .symbols file
auto mmapSharedCacheMng = new MmapFileManager(shared_cache_symbols_path);
auto mmapSharedCacheMng = new MmapFileManager(shared_cache_path);

auto runtime_shared_cache = ctx->runtime_shared_cache;
uint64_t mmap_length = runtime_shared_cache->localSymbolsSize;
Expand Down Expand Up @@ -180,4 +180,4 @@ int shared_cache_get_symbol_table(shared_cache_ctx_t *ctx, mach_header_t *image_
*out_symtab_count = (uint32_t)localNlistCount;
*out_strtab = (char *)ctx->strtab;
return 0;
}
}