-
公开(公告)号:US20230393824A1
公开(公告)日:2023-12-07
申请号:US18167001
申请日:2023-02-09
Applicant: Apple Inc.
Inventor: Louis G. Gerbarg , Joseph J. Bonasera , Davide Italiano , Nick Kledzik , Peter Cooper , Mohamadou A. Abdoulaye
IPC: G06F8/54
CPC classification number: G06F8/54
Abstract: A dynamic linking system can be designed to dynamically resolve symbol references of pages associated with executable code as the pages are paged into virtual memory. The operating system can include a dynamic linker that uses metadata in the pages to determine symbol references that reference other code or values. Other code can include code in shared libraries. The dynamic linker can generate a data structure containing the symbol references in a small and dense format. The dynamic linker can send the data structure and other relevant data to the kernel once the symbol references have been identified. The kernel can perform the functions related to resolving the symbol references. For example, the kernel can resolve the symbol by determining a pointer value for the symbol, wherein the pointer value can be used to point to code or values. The kernel can resolve the symbol references and store the data structure, which contains the resolved symbol references.
-
公开(公告)号:US20230393980A1
公开(公告)日:2023-12-07
申请号:US18085475
申请日:2022-12-20
Applicant: APPLE INC.
Inventor: Mohamadou A. Abdoulaye , Peter Cooper , Michael J. Ash , Davide Italiano , Nick Kledzik
IPC: G06F12/0802 , G06F16/22
CPC classification number: G06F12/0802 , G06F16/2272 , G06F2212/603
Abstract: Techniques may include receiving a first request for a conformance check for a conformance pair, the conformance pair include a variable type and a particular protocol. The first request can identifying a first pointer. The technique can include determining a conformance check result is not cached for the conformance pair using the first pointer. In response to determining that the conformance check result is not cached for a variable, the electronic device may include performing the conformance check for the conformance pair and storing a result of the conformance check in an index table in persistent memory in association with at least a portion of bits in the first pointer. The technique can include referencing the index table on subsequent requests for a conformance check.
-
公开(公告)号:US20240403014A1
公开(公告)日:2024-12-05
申请号:US18205369
申请日:2023-06-02
Applicant: Apple Inc.
Inventor: Davide Italiano , Damian Malarczyk , Frederic Riss , Michael H. Rawdon , Mohamadou A. Abdoulaye , Nick Kledzik , Peter Cooper
Abstract: Methods, systems, and apparatus, including computer programs encoded on computer storage media, for using mergeable libraries. One of the methods includes during a build of an executable target, generating the executable target by merging the executable target with data for a library that was previously linked with the executable target.
-
-