×

Method and apparatus for automated native code isolation

  • US 6,834,391 B2
  • Filed: 04/24/2001
  • Issued: 12/21/2004
  • Est. Priority Date: 11/28/2000
  • Status: Active Grant
First Claim
Patent Images

1. A computerized method to automate isolation of native code within a computer program that has been compiled to a platform-independent code, the method comprising:

  • receiving a library containing a native code sub-routine from a first process, wherein the native code sub-routine provides a service to the computer program;

    analyzing the library in a second process to determine a defined symbol name for the native code sub-routine;

    creating a proxy sub-routine for the native code sub-routine, wherein the proxy sub-routine forms a link to the native code sub-routine;

    placing the proxy sub-routine into a memory of a new library in the second process using the defined symbol name of the native code sub-routine as a symbol name for the proxy sub-routine;

    running the native code sub-routine in the first process;

    executing the platform-independent code in the second process; and

    invoking the native code sub-routine in the first process by using an interprocess call from in the first process to call the proxy sub-routine in the platform-independent code in the second process;

    wherein operations in the first process are isolated from memory and other system resources belonging to the second process by ensuring that interactions between the first process and the second process take place through the interprocess call, so that an error in the first process does not, one of, corrupt memory belonging to the second process or interfere with the second process in any other way.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×