Invention Grant
- Patent Title: Buffer overflow detection based on a synthesis of assertions from templates and k-induction
-
Application No.: US16050828Application Date: 2018-07-31
-
Publication No.: US11030304B2Publication Date: 2021-06-08
- Inventor: Francois Gauthier , Nathan Keynes , Padmanabhan Krishnan , Cristina Cifuentes , Trung Quang Ta
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Ferguson Braswell Fraser Kubasta PC
- Main IPC: G06F21/52
- IPC: G06F21/52 ; G06F8/41 ; G06F11/36 ; G06F9/50

Abstract:
A method for buffer overflow detection involves obtaining a program code configured to access memory locations in a loop using a buffer index variable, obtaining an assertion template configured to capture a dependency between the buffer index variable and a loop index variable of the loop in the program code, generating an assertion using the assertion template, verifying that the assertion holds using a k-induction; and determining whether a buffer overflow exists using the assertion.
Public/Granted literature
- US20200042697A1 BUFFER OVERFLOW DETECTION BASED ON A SYNTHESIS OF ASSERTIONS FROM TEMPLATES AND K-INDUCTION Public/Granted day:2020-02-06
Information query