Invention Grant
- Patent Title: Method for validating an untrusted native code module
-
Application No.: US15172879Application Date: 2016-06-03
-
Publication No.: US09710654B2Publication Date: 2017-07-18
- Inventor: J. Bradley Chen , Matthew T. Harren , Matthew Papakipos , David C. Sehr , Bennet S. Yee
- Applicant: Google Inc.
- Applicant Address: US CA Mountain View
- Assignee: Google Inc.
- Current Assignee: Google Inc.
- Current Assignee Address: US CA Mountain View
- Agency: Fish & Richardson P.C.
- Main IPC: G06F21/00
- IPC: G06F21/00 ; G06F21/57 ; G06F21/51

Abstract:
A system that validates a native code module. During operation, the system receives a native code module comprised of untrusted native program code. The system validates the native code module by: (1) determining that code in the native code module does not include any restricted instructions and/or does not access restricted features of a computing device; and (2) determining that the instructions in the native code module are aligned along byte boundaries such that a specified set of byte boundaries always contain a valid instruction and control flow instructions have valid targets. The system allows successfully-validated native code modules to execute, and rejects native code modules that fail validation. By validating the native code module, the system facilitates safely executing the native code module in the secure runtime environment on the computing device, thereby achieving native code performance for untrusted program binaries without significant risk of unwanted side effects.
Public/Granted literature
- US20160283720A1 Method for Validating an Untrusted Native Code Module Public/Granted day:2016-09-29
Information query