Method and system for facilitating replacement of system calls
Abstract
One embodiment of the present invention provides a system for facilitating replacement of a system call in an application with a customized function call. During operation, the system re-links the application's executable file with additional code or dynamically injects the additional code to the application's executable file during run time. The additional code can change a pointer in a table which indicates addresses of imported functions 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: 4.
Claims (1 — 1 Independent, 0 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 by injecting a dynamically-linked library having the additional code into the application; wherein modifying the executable file comprises: determining whether the executable file includes sufficient unused space to accommodate a load command; responsive to the executable file including sufficient unused space, shifting, in the executable file, an existing load command which does not contain dependency information to make space for the load comman
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
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://devforums.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.
- Careers 2.0 by stackoverflow, "Verify/Check to see if a Configuration Profile has been installed on IPhone," http://stackoverflow.com/questions/2195673/verify-check-to-see-if-a-configuration-profile-has-been-installed-on-iphone, Mar. 20, 2013, 2 pages.
- Harvey Tuch, et al., "Configuration Profile Validation on IOS Using SSL and Redirect," U.S. Appl. No. 13/848,347, filed Mar. 21, 2013.