期刊文献+

基于参数类型和访问序的数据冲突静态分析方法 被引量:5

Static Data Conflict Analysis Based on Parameter Type and Access Sequence
下载PDF
导出
摘要 中断数据冲突问题是航天嵌入式软件常见典型问题之一,问题的发生具有较大的偶然性和不确定性,目前缺少较为成熟的技术和有效分析方法,冲突问题仍是时有发生,增大了软件研制周期和维护成本.本文从参数的类型及访问序角度,重点针对数组变量,多于处理器字长变量和关联变量的一次访问操作从源码和反汇编码级别搭建冲突场景并分析造成数据不同步的机理.针对同一个参数的多次访问序,构建高低优先级子程序所有可能存在访问冲突的操作序场景并给出分析结论,并以实例说明固定操作序被打断造成的访问冲突场景.这种通过静态方式下构建冲突场景的分析方法相比较动态方法更容易实施,分析更为充分,对今后数据冲突自动化检测工具的研究具有一定的参考作用. Interrupt data confliction is a common problem in aerospace embedded software.Because of the occurrence contingency and uncertainty,absence of mature technology research and analysis methods,results in increasing research cycle and maintenance cost,and problems resurface sometimes.From the perspective of parameter types and access parameters,this report focuses on array variables,more than one processor word length variables and associated variable access operation from the source code or disassembler code to build conflict scenarios.The mechanism is analyzed that causes data to be out of sync.For the multiple access sequence of the same parameter,all the high and low priority subroutines are constructed and there may be an operation sequence of the access conflict and the analysis conclusion is given.The examples show the access conflict scenarios caused by the fixed operation sequence being interrupted.This static interrupt confliction analysis method compared to dynamical method is easier to be implemented,much more fully analyzing,and has much more help to future automation research.
作者 董燕 黄晨 王小丽 虞砺琨 于倩 DONG Yan;HUANG Chen;WANG Xiaoli;YU Likun;YU Qian(Beijing Institute of Control Engineering,Beijing 100190,China)
出处 《空间控制技术与应用》 CSCD 北大核心 2018年第6期62-68,共7页 Aerospace Control and Application
基金 国家自然科学基金资助项目(91118007)~~
关键词 参数类型 参数访问序 静态方式 数据冲突 parameter type parameter access sequence static testing data conflict
  • 相关文献

参考文献5

二级参考文献47

  • 1吴萍,陈意云,张健.多线程程序数据竞争的静态检测[J].计算机研究与发展,2006,43(2):329-335. 被引量:21
  • 2Cooprider N. Data-flow analysis for interrupt-driven microeontroller software [D]. Salt Lake City: the University of Utah, 2008.
  • 3Flanagan C, Freund S N. Type-based race detection for Java [c] //Proc of the ACM SIGPLAN 2000 Conf on Programming Language Design and Iimplernentation. New York: ACM, 2000, 219-232.
  • 4Naik M, Aiken A, Whaley J. Effective static race detection for Java [C]//Proc of the ACM SIGPLAN 2006 Conf on Programming Language Design and Implementation. New York: ACM, 2006:308-319.
  • 5Engler D, Ashcraft K. RaceX: Effective static detection of race conditions and deadlocks [C] //Proc of the 19th ACM Symp on Operating System Principles. New York: ACM, 2003:237-252.
  • 6Voung J W, Jhala R, Lerner S. RELAY: Static race detection on millions of lines of code [C]//Proc of the the 6th Joint Meeting of the European Software Engineering Conf and the ACM SIGSOFT Syrup on the Foundations of Software Engineering. New York: ACM, 2007:205-214.
  • 7Pratikakis P, Foster J S, Hicks M. LOCKSMITH: Context- sensitive correlation analysis for race detection [C] //Proc of the ACM SIGPLAN 2006 Conf on Programming Language Design and Implementation. New York: ACM, 2006: 320- 331.
  • 8Henzinger T A, Jhala R, Majumdar R. Race checking by context inference [C] //Proe of the ACM SIGPLAN 2004 Conf on Programming Language Design and Implementation. New York: ACM, 2004:1-13.
  • 9Dinning A, Schonberg E. An empirical comparison of monitoring algorithms for access anomaly detection [J]. ACM SIGPLAN Notices, 1990, 25(3): 1-10.
  • 10Savage S, Burrows M, Nelson C G, et al. Eraser: A dynamic data race detector for multithreaded programs [J]. ACM Trans on Computer Systems, 1997, 15(4) : 391-411.

共引文献35

同被引文献51

引证文献5

二级引证文献6

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部