Invention Grant
- Patent Title: System and method for protection from buffer overflow vulnerability due to placement new constructs in C++
-
Application No.: US14686346Application Date: 2015-04-14
-
Publication No.: US09600663B2Publication Date: 2017-03-21
- Inventor: Mihai Christodorescu , Ashish Kundu , Ajay Mohindra
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Ryan, Mason & Lewis, LLP
- Agent Louis J. Percello
- Main IPC: G06F21/52
- IPC: G06F21/52 ; G06F21/57 ; G06F21/54 ; G06F12/02 ; G06F21/12 ; G06F21/56

Abstract:
Systems and methods for protection from buffer overflow vulnerability due to placement new constructs in C++ are provided. A system for protecting from buffer overflow vulnerability due to placement new constructs, comprises a compiler which is capable of receiving a program including a placement new instruction, and runtime which is capable of receiving binary code from the compiler and determining whether the program includes the placement new instruction and whether the placement new instruction would lead to buffer overflow, wherein the runtime is linked to a library including methods for preventing the buffer overflow, and selects a method for preventing the buffer overflow if the runtime determines that the placement new instruction would lead to the buffer overflow.
Public/Granted literature
Information query