[llvm-bugs] [Bug 49713] New: Figure out how to do library lookup on Big Sur
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Mar 24 08:44:40 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=49713
Bug ID: 49713
Summary: Figure out how to do library lookup on Big Sur
Product: lld
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: MachO
Assignee: unassignedbugs at nondot.org
Reporter: jezreel at gmail.com
CC: gkm at fb.com, jezreel at gmail.com,
llvm-bugs at lists.llvm.org, smeenai at fb.com
As per
https://developer.apple.com/documentation/macos-release-notes/macos-big-sur-11_0_1-release-notes:
> New in macOS Big Sur 11.0.1, the system ships with a built-in dynamic linker cache of all system-provided libraries. As part of this change, copies of dynamic libraries are no longer present on the filesystem. Code that attempts to check for dynamic library presence by looking for a file at a path or enumerating a directory will fail. Instead, check for library presence by attempting to dlopen() the path, which will correctly check for the library in the cache. (62986286)
There's some prior work in
https://mjtsai.com/blog/2020/06/26/reverse-engineering-macos-11-0/ which may be
helpful (c.f. dyld_shared_cache_util)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210324/da15fc06/attachment.html>
More information about the llvm-bugs
mailing list