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

一个公司网站设计需求武汉seo百度

一个公司网站设计需求,武汉seo百度,房地产网站制作教程,做企业网站建设挣钱吗参考:南京大学《软件分析》课程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.yidumall.com/news/51077.html

相关文章:

  • 如何高效率的建设网站本地免费发布信息网站
  • 毕设做桌面端还是网站搜索关键词推荐
  • 松滋网站定制网络推广是什么意思
  • 网站seo是什么意关键词密度
  • 做得好的网站四种营销模式
  • 美食网站开发wordpress免费网站
  • 怎么做班级网站南宁seo排名外包
  • 城市建设杂志社网站百度搜索指数1000是什么
  • 最新中国b2b网站排名百度搜索广告收费标准
  • it企业网站模板在哪里可以免费自学seo课程
  • 企业型网站建设长沙网站seo推广
  • 设计师网站知乎推广引流吸引人的文案
  • 玉林做网站优化推广网站app开发公司
  • 做百度移动网站点击软易搜搜索引擎
  • 跨境电商运营主要做什么win7优化大师免安装版
  • 做网站 就上凡科网收录提交入口网址
  • 最好的网站建设机构磁力搜索引擎不死鸟
  • 审计网站建设毕业设计小学生简短小新闻
  • 合肥门户网站有哪些百度首页精简版
  • 做网站开发用笔记本要什么配置免费seo软件推荐
  • 离婚协议书正规模板青岛seo整站优化
  • 外贸网站平台有几个网站seo的方法
  • 网站流量怎么做乡1万seo网站运营
  • 网站 术语江苏seo推广
  • 医药网站源代码懂得网站推广
  • 国外做btc的网站线下课程seo
  • 嘉陵 建设 摩托车官方网站百度免费收录提交入口
  • 电子商务网站怎么做推广沧州网络推广公司
  • 潍坊网站建设优化排名无货源网店怎么开
  • 如何建立网站销售平台黑马培训