- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
静态代码分析
* * * * * * * * * * * * * * * * * * Example Forwards vs. backwards A forwards analysis is one that for each program point computes information about the past behavior. Examples of this are available expressions and reaching definitions. Calculation: predecessors of CFG nodes. A backwards analysis is one that for each program point computes information about the future behavior. Examples of this are liveness and very busy expressions. Calculation: successors of CFG nodes. May vs. Must A may analysis is one that describes information that may possibly be true and, thus, computes an upper approximation. Examples of this are liveness and reaching definitions. Calculation: union operator. A must analysis is one that describes information that must definitely be true and, thus, computes a lower approximation. Examples of this are available expressions and very busy expressions. Calculation: intersection operator. 静态代码分析 – 概念 Basic Blocks Control Flow Graph Dataflow Analysis Live Variable Analysis Reaching Definition Analysis Lattice Theory Basic Idea Information about program represented using values from algebraic structure called lattice Analysis produces lattice value for each program point Two flavors of analysis Forward dataflow analysis Backward dataflow analysis Partial Orders Set P Partial order ? such that ?x,y,z?P x ? x (reflexive) x ? y and y ? x implies x ? y (asymmetric) x ? y and y ? z implies x ? z (transitive) Can use partial order to define Upper and lower bounds Least upper bound Greatest lower bound Upper Bounds If S ? P then x?P is an upper bound of S if ?y?S. y ? x x?P is the least upper bound of S if x is an upper bound of S, and x ? y for all upper bounds y of S ? - join, least upper bound (lub), supremum, sup ? S is the least upper bound of S x ? y is the least upper bound of {x,y} Lower Bounds If S ? P then x?P is a lower bound of S if ?y?S. x ? y x?P is the greatest lower bound of S if x is a lower bound of S, and y ? x for all lowe
您可能关注的文档
- 如何写出漂亮的代码.ppt
- 课件精编版(供复习使用,课时顺序排列).ppt
- 古诗鉴赏题训练精编.ppt
- 优质护理院长查房记录.doc
- 宗承包合同的签订、履行.ppt
- 程序代码详解.ppt
- 动物行为学精编.ppt
- 7、拉萨的天空课件精编.ppt
- 肝破裂查房定稿.doc
- 22人物描写一组精编版.ppt
- 《大气污染联防联控机制下区域协同治理的环保产业政策创新与实施》教学研究课题报告.docx
- 7 基于工业机器人视觉系统的精密装配过程智能监控与误差控制研究教学研究课题报告.docx
- 科技创新活动在高中化学教学中的应用与实践研究教学研究课题报告.docx
- 3 物联网技术在智能化水产养殖产业集聚区构建中的影响机制分析教学研究课题报告.docx
- 7 《农村土地整治对农业生态环境影响的生态补偿机制与政策优化研究》教学研究课题报告.docx
- 高中生物:生物3D打印支架材料在人体器官移植中的应用前景与挑战教学研究课题报告.docx
- 《基于生物酶解的设施蔬菜连作障碍土壤改良技术研究》教学研究课题报告.docx
- 《航空航天3D打印技术在航空发动机涡轮叶片制造中的应用与发展》教学研究课题报告.docx
- 《互联网金融风险监管体系中的金融科技伦理与法律风险控制研究展望》教学研究课题报告.docx
- 初中生交通拥堵体验对城市交通管理策略优化建议的探讨教学研究课题报告.docx
最近下载
- 干式变压器烧毁原因分析与配电系统技术改造-油气储运.PDF VIP
- 远红外止咳贴对小儿支气管肺炎疗效观察.doc VIP
- 长输天然气管道施工组织方案(技术标).doc
- 海尼曼 Fountas & Pinnell 有声绘本-英语入门005 Down The River.pdf VIP
- 教师助手:巧用AI高效教学_笔记.docx VIP
- 生成式AI在高中数学课堂中的应用与教学效果评估教学研究课题报告.docx
- 基于单片机的微型打印机设计.docx VIP
- 学校食堂劳务外包管理服务方案.docx VIP
- 《公路养护安全作业规程》(JTG H30-2015)解读和培训学习.pptx
- 14J938抗爆泄爆图集规范-watermark.pdf VIP
文档评论(0)