Skip to content

Crash when opening specific secondary shared cache file #7724

@emesare

Description

@emesare
  1. Open file light ace detects greatly
  2. Observe crash

This seems to be because the file contains valid image information with regions, we should first fix the crash:

diff --git a/view/sharedcache/core/MachO.cpp b/view/sharedcache/core/MachO.cpp
--- a/view/sharedcache/core/MachO.cpp
+++ b/view/sharedcache/core/MachO.cpp
@@ -703,5 +703,5 @@
 		}
 	}
-	catch (ReadException&)
+	catch (std::exception&)
 	{
 		LogError("Export trie is malformed. Could not load Exported symbol names.");

Then possibly have a fast-fail for when regions are missing for images.

Metadata

Metadata

Assignees

Labels

Effort: TrivialIssues require < 1 day of workFile Format: SharedCacheIssue with the dyld_shared_cache pluginImpact: MediumIssue is impactful with a bad, or no, workaround

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions