Invention Grant
- Patent Title: Static redirection for objective C
- Patent Title (中): 客观C的静态重定向
-
Application No.: US13874451Application Date: 2013-04-30
-
Publication No.: US09189622B2Publication Date: 2015-11-17
- Inventor: Manish Jawa
- Applicant: VMware, Inc.
- Applicant Address: US CA Palo Alto
- Assignee: VMware, Inc.
- Current Assignee: VMware, Inc.
- Current Assignee Address: US CA Palo Alto
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45 ; G06F21/54 ; G06F9/445 ; G06F11/34

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.
Public/Granted literature
- US20140325499A1 STATIC REDIRECTION FOR OBJECTIVE C Public/Granted day:2014-10-30
Information query