Method and system for facilitating replacement of system calls
Abstract
An example method includes modifying, prior to run time, an executable file of an application to cause an operating system loader to load additional code using a dynamically-linked library. Modifying the executable file includes determining whether the executable file includes sufficient unused space to accommodate a load command, and adding the load command to the executable file when the executable file includes sufficient unused space by: shifting, in the executable file, an existing load command that does not contain dependency information to make space for the load command; or identifying unused space outside of a data portion of the executable file that can be removed to accommodate the load command. The additional code, when executed by a processor, causes the processor to change a pointer in a table that indicates an address of an imported function implementing a system call so the pointer indicates an address of a customized function.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method, comprising: modifying, prior to run time, an executable file of an application to cause an operating system loader to load additional code using a dynamically-linked library, wherein modifying the executable file comprises: determining that the executable file includes insufficient unused space to accommodate a load command; and adding the load command to the executable file by: identifying unused space outside of a data portion of the executable file that can be used to accommodate the load command; wherein the additional code, when executed by a processor, causes the processor to c
- Claim 2Depends on #1
The method of claim 1 , wherein the customized function pr
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
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 pgs.
- "Developer Forums: Retrieving Certificate from Keychain," p. 2, https://devforums.apple.com/thread/3336?start=25&start=0; Mar. 20, 2013, 5 pgs.
- "Over-theAir Profile Delivery Concepts," http://developer.apple.com/library/ios/#documentation/networkinginternet/conceptual/iphoneotaconfiguration/OTASecurity/OTASecurity.html; Feb. 12, 2013, 6 pgs.
- "Verify/Check to see if a Configuration Profile has been installed on iPhone," Careers 2.0 by stackoverflow, http://stackoverflow.com/questions/2195673/verify-check-to-see-if-a-configuration-profile-has-been-installed-on-iphone; Mar. 20, 2013, 2 pgs.
- Apple Inc., "OS X ABI Mach-O File Format Reference", 2009, 42 Pages.