当前位置: 首页 > news >正文

做外贸通常用哪些网站新乡网站优化公司

做外贸通常用哪些网站,新乡网站优化公司,湖北阳新县建设局网站,wordpress 链接说明参考:南京大学《软件分析》课程2 1、控制流分析 控制流分析实际上指的是构建控制流图(Control Flow Graph,CFG)CFG是静态分析的基础数据结构CFG的节点可以是单个指令、基本块(Basic Block,BB)…

参考:南京大学《软件分析》课程2

1、控制流分析

  • 控制流分析实际上指的是构建控制流图(Control Flow Graph,CFG)
  • CFG是静态分析的基础数据结构
  • CFG的节点可以是单个指令、基本块(Basic Block,BB)

2、构建基本块(Basic Block,BB)

(1)基本块的概念

Basic blocks (BB) are maximal sequences of consecutive three-address instructions with the properties that

  • It can be entered only at the beginning, i.e., the first instruction in the block
  • It can be exited only at the end, i.e., the last instruction in the block

解释:

基本块是具有以下属性的连续3AC指令的最大序列:

  • 只有一个入口,仅在开头进入,即块的第一条指令。
  • 只有一个出口,仅在结尾退出,即块的最后一条指令。
(2)构建基本块

INPUT: A sequence of three-address instructions of P
OUTPUT: A list of basic blocks of P
METHOD:
(1) Determine the leaders in P
• The first instruction in P is a leader
• Any target instruction of a conditional or
unconditional jump is a leader
• Any instruction that immediately follows a
conditional or unconditional jump is a leader
(2) Build BBs for P
• A BB consists of a leader and all its subsequent
instructions until the next leader

解释:

输入:程序的3AC指令序列
输出:程序的基本块序列
方法:
(1)确定每个基本块的第一条指令leader
• 程序的第一条指令作为leader;
• 有条件或无条件跳转的目标指令作为leader;
• 紧接着有条件或无条件跳转指令的下一条指令作为leader
(2)构建基本块
• BB由一个leader及其所有后续指令组成,直到下一个leader

例子:
在这里插入图片描述

3、构建控制流图(Control Flow Graph ,CFG)

• The nodes of CFG are basic blocks goto (i) Control Flow Graph (CFG)
• There is an edge from block A to block B if and only if

  • There is a conditional or unconditional jump from the end of A to the beginning of B
  • B immediately follows A in the original order of instructions and A does not end in an unconditional jump

• It is normal to replace the jumps to instruction labels by jumps to basic blocks
• Usually we add two nodes, Entry and Exit.

  • They do not correspond to executable IR
  • An edge from Entry to the BB containing the first instruction of IR
  • An edge to Exit from any BB containing an instruction that could be the last instruction of IR

解释:

• 控制流图的节点是基本块
• 基本块之间的边

  • 有条件或无条件跳转的基本块之间存在一条跳转边
  • 按照指令的原始顺序,基本块之间存在一条顺序边,但无条件跳转的基本块不存在顺序边

• 将跳转到指令替换成跳转到基本块
• 添加entry和exit

  • CFG和IR通常不对应
  • Entry到BB的边,包括IR的第一条指令
  • BB到Exit的边(可能是多条),包括IR的最后一条指令

在这里插入图片描述

http://www.zhongyajixie.com/news/17051.html

相关文章:

  • 哪个网站有手机网络推广的方法和技巧
  • 编程 给别人做网站网站备案查询官网
  • 徐老师在那个网站做发视频下载海外seo推广公司
  • 重庆綦江网站制作公司哪家专业win7优化设置
  • 淮北矿业 集团 工程建设有限责任公司网站简述seo和sem的区别
  • 汽车品牌推广策划方案seo综合查询怎么关闭
  • 淘宝联盟怎么自己做网站推广域名查询网址
  • 谷歌 网站做推广优化seo深圳
  • 精品网站建设费用网站的seo 如何优化
  • 单位网站制作费用报价单大数据培训课程
  • 网站建设 广西杭州网站优化效果
  • 什么网站可以申请做汉语老师网站目录提交
  • 最后的目的是什么sem优化
  • 郑州网站设计培训html简单网页代码
  • 手机兼职赚钱日结一单一结上海seo公司排名
  • 用dreamweaver做网站渠道网络
  • 批量做网站佛山竞价账户托管
  • 宠物电子商务网站建设方案中国十大经典广告
  • 怎么在网站挂黑链接汽车宣传软文
  • 上海大规模网站建设平台电池优化大师下载
  • 做网页用什么软件写代码seo诊断工具
  • 转化率的网站设计搜索关键词然后排名怎样提升
  • 酒店自建网站的功能网站模板购买
  • 旅游网站建设色彩搭配表西安百度推广外包
  • 做同城购物网站有什么优势吗网站优化排名资源
  • 建设购物网站多少钱网站制作费用
  • 小程序转换成网页企业网站的搜索引擎推广与优化
  • wordpress修改头图长春seo排名
  • 网络规划设计师下午题2023估分河南关键词优化搜索
  • 创建一个自己的公司英语徐州seo招聘