Invention Grant
- Patent Title: Detecting root causes of use-after-free memory errors
-
Application No.: US15274481Application Date: 2016-09-23
-
Publication No.: US10198335B2Publication Date: 2019-02-05
- Inventor: Justin E Gottschlich , Gilles A Pokam , Cristiano L Pereira , Michael F Spear
- Applicant: Intel Corporation
- Applicant Address: US CA Santa Clara
- Assignee: Intel Corporation
- Current Assignee: Intel Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Schwegman Lundberg & Woessner, P.A.
- Main IPC: G06F11/07
- IPC: G06F11/07 ; G06F11/30

Abstract:
Methods, systems, and computer programs are presented for detecting the root cause in use-after-free (UAF) memory corruption errors. A method includes an operation for tracking access to memory by a program to detect access to memory not allocated by the program. The method further includes operations for tracking allocations and deallocations of memory by the program, and for storing, in response to detecting a deallocation of memory by the program, at least part of a state of a program stack at a time of the deallocation of memory. Further, the method includes an operation for detecting, after the deallocation, access by the program to the memory associated with the deallocation of memory. In response to the detecting, the state of the program stack is saved in permanent storage at the time of the deallocation.
Public/Granted literature
- US20180089007A1 DETECTING ROOT CAUSES OF USE-AFTER-FREE MEMORY ERRORS Public/Granted day:2018-03-29
Information query