Skip to content

Commit

Permalink
GP-3909: When loading "System Libraries From Disk" on macOS, the
Browse files Browse the repository at this point in the history
dyld_shared_cache will be searched for in even more default locations
(#4162)
  • Loading branch information
ryanmkurtz committed Oct 5, 2023
1 parent 2eb023b commit 5455dc3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ public List<String> getAdditionalLibraryPaths() {
}
else if (operatingSystem == OperatingSystem.MAC_OS_X) {
paths.add("/System/Library/dyld/dyld_shared_cache_arm64e");
paths.add("/System/Library/dyld/dyld_shared_cache_x86_64");
paths.add("/System/Library/dyld/dyld_shared_cache_x86_64h");
paths.add("/System/Cryptexes/OS/System/Library/dyld/dyld_shared_cache_arm64e");
paths.add("/System/Cryptexes/OS/System/Library/dyld/dyld_shared_cache_x86_64");
paths.add("/System/Cryptexes/OS/System/Library/dyld/dyld_shared_cache_x86_64h");
Expand Down

0 comments on commit 5455dc3

Please sign in to comment.