Oracle Corporation
Buffer overflow detection based on a synthesis of assertions from templates and k-induction

Last updated:

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.

Status:
Grant
Type:

Utility

Filling date:

31 Jul 2018

Issue date:

8 Jun 2021