Invention Grant
- Patent Title: Method and system for facilitating replacement of system calls
-
Application No.: US14826588Application Date: 2015-08-14
-
Publication No.: US09665355B2Publication Date: 2017-05-30
- Inventor: Manish Jawa , Haim Tebeka , Craig F. Newell
- Applicant: VMware, Inc.
- Applicant Address: US CA Palo Alto
- Assignee: VMware, Inc.
- Current Assignee: VMware, Inc.
- Current Assignee Address: US CA Palo Alto
- Agency: Thomas Horstemeyer, LLP
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/445 ; G06F21/54 ; G06F9/54 ; G06F21/31 ; G06F21/60 ; G06F21/53 ; H04W12/02 ; H04L29/08 ; H04L29/06 ; H04W12/00

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.
Public/Granted literature
- US20150347109A1 METHOD AND SYSTEM FOR FACILITATING REPLACEMENT OF SYSTEM CALLS Public/Granted day:2015-12-03
Information query