首页> 外国专利> Method and a system for constructing control flows graphs of binary executable programs at post-link time

Method and a system for constructing control flows graphs of binary executable programs at post-link time

机译:在链接后构建二进制可执行程序的控制流程图的方法和系统

摘要

A method and a system for constructing a control flow graph (CFG, 106) from an executable computer program (104). The solution detects data intermixed with instructions and instruction set changes. The method includes the steps of defining block leader types specifying basic block boundaries in the program (104), building a CFG structure (106) according to the basic blocks found in the program, and adding control flow and addressing information to the CFG (106) by propagating through the basic blocks and internals thereof. The CFG (106) may be then optimised (108) and a compacted executable (112) created as a result.
机译:一种用于从可执行计算机程序( 104 )构建控制流程图(CFG, 106 )的方法和系统。该解决方案可检测与指令和指令集更改混合在一起的数据。该方法包括以下步骤:定义程序中指定基本块边界的块首标类型( 104 ),根据在程序中找到的基本块构建CFG结构( 106 )。程序,并通过在其基本块及其内部进行传播,将控制流和寻址信息添加到CFG( 106 )。然后可以优化CFG( 106 )( 108 ),并创建压缩的可执行文件( 112 )。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号