首页> 外国专利> System and method for protection from buffer overflow vulnerability due to placement new constructs in C++

System and method for protection from buffer overflow vulnerability due to placement new constructs in C++

机译:用于防止由于C ++中的新结构而导致的缓冲区溢出漏洞的系统和方法

摘要

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.
机译:提供了防止由于在C ++中放置新结构而导致的缓冲区溢出漏洞的系统和方法。一种用于防止由于放置新结构而导致的缓冲区溢出漏洞的系统,包括:编译器,其能够接收包括放置新指令的程序;以及运行时,其能够从编译器接收二进制代码,并确定该程序是否包括布局。新指令以及放置新指令是否会导致缓冲区溢出,其中运行时链接到包含防止缓冲区溢出的方法的库,并在运行时确定放置新指令将导致执行时选择防止缓冲区溢出的方法到缓冲区溢出。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号