Static redirection for objective C
Abstract
Particular embodiments establish static redirection of a function that is a member of a class to an alternate implementation of the function. A software tool executing on a computer server receives an executable file for an application and a location for an alternate implementation of the function. The function may be written in Objective C. The software tool can be used to locate a structure for the function by traversing serialized metadata in the executable file. The software tool can then be used to modify the metadata in the executable file by updating the value of a selector indicating the location of a current implementation of the function to indicate a location of the alternate implementation. The selector may be included in a element of the structure for the class method. Finally, the application may provide the modified executable file for installation on client devices.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 45 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method to establish static redirection of a function that is a member of a class to an alternate implementation of the function, the method comprising using a processor to perform operations including: locating, in an executable file, metadata indicating a first location of the function, the first location being in compiled code within the executable file, wherein a software tool traverses serialized metadata to locate the metadata indicating the first location; modifying the metadata in the executable file to change a selector to point to a second location for the alternate implementation o
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 (45)
Non-Patent Literature (5)
- "Objective-C Runtime Reference" https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ObjCRuntimeRef/ObjCRuntimeRef.pdf: 79 pp. (see p. 32).
- Chai et al., "Static Detection of Execution After Redirect Vulnerabilities in PHP Applications", IEEE, Aug. 2017, pp. 489-492; <https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=7883115>.
- David Chisnall, "A Modern Objctive-C Runtime", Jan.-Feb. 2009, vol. 8, No. 1, Journal of Object Technology, pp. 221-240: <http://www.jot.fm>.
- Eagan et al., "Cracking the Cocoa Nut-User Interface Programming at Runtime", 2011 ACM, UIST'11 Oct. 16-19, 2011, pp. 225-234: <http://dl.acm.org/results.cfm?h=1&cfid=691732164&cftoken=57979420>.
- Eagan et al., “Cracking the Cocoa Nut—User Interface Programming at Runtime”, 2011 ACM, UIST'11 Oct. 16-19, 2011, pp. 225-234: <http://dl.acm.org/results.cfm?h=1&cfid=691732164&cftoken=57979420>.