From 95a4bdb38196aed60b94b130b2c29a8ca05d8085 Mon Sep 17 00:00:00 2001 From: pudge62 <70063806+pudge62@users.noreply.github.com> Date: Thu, 2 Nov 2023 16:56:15 +0800 Subject: [PATCH] fix shared cache path --- builtin-plugin/SymbolResolver/macho/shared_cache_ctx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin-plugin/SymbolResolver/macho/shared_cache_ctx.cpp b/builtin-plugin/SymbolResolver/macho/shared_cache_ctx.cpp index 2c9db235..06732da0 100644 --- a/builtin-plugin/SymbolResolver/macho/shared_cache_ctx.cpp +++ b/builtin-plugin/SymbolResolver/macho/shared_cache_ctx.cpp @@ -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; @@ -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; -} \ No newline at end of file +}