Method and system for identifying and replacing system calls
Abstract
One embodiment of the system disclosed herein facilitates identifying a system call in an application and replacing the identified system call with a customized function call. During operation, the system executes an executable file of the application, wherein the executable file has been modified to execute a hooking and injection manager at run time. Prior to executing the system call, the system executes the hooking and injection manager. While executing the hooking and injection manager, the system determines, from a symbol table, a symbol table index value corresponding to a symbol associated with the system call. The system further determines an import table entry storing a pointer to the system call based on the symbol table index value, and changes the pointer in the import table entry so that the pointer indicates an address of the customized function call.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for facilitating identifying a system call in an application and replacing the identified system call with a customized function call, comprising: upon a launch of the application, loading a hooking and injection manager into a process of the application prior to loading any modules in the application that make system calls; executing an executable file of the application, wherein the executable file has been modified to execute the hooking and injection manager at run time of the application, the hooking and injection manager including an interposition library configured to replace r
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2023367869 A1 | Providing system services | — | 0 |
| US 2025117806 A1 | Embedding coding secrets | — | 0 |
| US 12,254,079 B2 | Providing system services | 2025 | 0 |
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "Developer Forums: Retrieving Certificate from Keychain," p. 1, https://devforums.apple.com/message/11142#11142, Mar. 20, 2013, 13 pages.
- "Developer Forums: Retrieving Certificate from Keychain," p. 2, https://devforunns.apple.com/thread/336?start=25&tstart=0, Mar. 20, 2013, 5 pages.
- "Over-the-Air Profile Delivery Concepts," http://developer.apple.com/library/ios/#documentation/networkinginternet/conceptual/iphoneotaconfiguration/OTASecurity/OTSecurity.html, Feb. 12, 2013, 6 pages.
- Apple Inc., OS X ABI Mach-O File Format Reference, 2009, 42 pages.
- Apriorit, Redirection of Imported Functions in Mach-O, Apriorit, Apr. 2011, 5 pages.