首页> 外国专利> Apparatus and method for dynamic control-flow analysis for prescribing control-flow with Inputs generated from grammar

Apparatus and method for dynamic control-flow analysis for prescribing control-flow with Inputs generated from grammar

机译:用于动态控制流分析的设备和方法,用于使用从语法生成的输入来规定控制流

摘要

The present invention provides a device and a method for analyzing a dynamic control flow for prescribing a control flow with an input generated by a grammar, which can improve stability and security of a program. The device comprises an input generating device for extending a sentence set which is a set of sentences generated according to a context-free grammar, and converting a specific terminal of the sentences into a meaningful string according to a string generating rule limited by an extended regular grammar; and a control flow analyzing device for receiving the entire string including the converted string as the input, and analyzing and selecting a proper control flow when an indirect branch command occurs while the program runs.
机译:本发明提供了一种用于分析动态控制流的设备和方法,该设备和方法用于使用由语法生成的输入来规定控制流,从而可以提高程序的稳定性和安全性。该设备包括输入生成设备,该输入生成设备用于扩展作为根据上下文无关文法生成的一组句子的句子集,并且根据由扩展的规则所限制的字符串生成规则将句子的特定终端转换为有意义的字符串。语法;控制流分析设备,用于接收包括转换后的字符串作为输入的整个字符串,并在程序运行时发生间接分支命令时分析并选择适当的控制流。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号