1. A system for protecting from buffer overflow vulnerability due to placement new constructs, comprising: 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.