Invention Grant
- Patent Title: Safer mechanism for using pointers to code
- Patent Title (中): 更安全的使用指针代码的机制
-
Application No.: US13419997Application Date: 2012-03-14
-
Publication No.: US09026859B1Publication Date: 2015-05-05
- Inventor: Geoffrey Roeder Pike
- Applicant: Geoffrey Roeder Pike
- Applicant Address: US CA Mountain View
- Assignee: Google Inc.
- Current Assignee: Google Inc.
- Current Assignee Address: US CA Mountain View
- Agency: Fox Rothschild LLP
- Main IPC: G06F11/00
- IPC: G06F11/00 ; G06F11/07 ; G06F11/30

Abstract:
Systems, methods, and computer storage mediums are provided for mitigating damage to data caused by a computer process having a corrupted pointer. An exemplary method includes receiving a pointer to a memory address. The pointer is received in conjunction with a command of the computer process to access data stored at the memory address, where the data is intended to be stored in a memory segment that allows for read-only access. The memory segment that includes the memory address is analyzed to determine a modification state for the memory segment, where the modification state indicates the type of access that the memory segment allows. The computer process is halted when the modification state indicates that the memory segment allows for other than read-only access.
Information query