期刊文献+

汇编语言程序相似性检测混合算法 被引量:2

Hybrid algorithm of similarity detection for assembly language programs
下载PDF
导出
摘要 根据汇编语言自身的特点,提出了结合属性计数和结构度量技术的相似性检测混合算法。在该方法中,将程序段的数目、子程序定义和调用的次数、循环指令loop出现的次数、转移指令出现的次数作为结构信息,73个使用频率较高的关键字作为属性信息。在从汇编语言程序中提取这些信息后,利用卡方检验来判断2个程序的相似性。实验结果表明,从混合算法得到的结果与人工检测的结果相一致,优于从属性计数和结构度量技术得到的结果。 Plagiarism often occurs in programming assignments submitted by students.Similarity detection techniques can help teachers find the suspicious plagiarism.Most similarity detection techniques use identical algorithm for different programming languages,which leads to the redundant checking algorithms and degrades the checking accuracy.In this paper,a hybrid algorithm of similarity detection adapting to the characteristic of assembly language was presented,which combined attribute counting with structure metrics technique.In the algorithm,the number of paragraphs,the number of definition and calling of subroutines,the number of loop and branch occurrences in assembly programs were extracted as the structure information.And 73 high frequent keywords were taken as the attribute information.The similarity of two programs was judged with the chi-square test after getting the attribute and structure information.Experiments demonstrated that results from the proposed algorithm were consistent to those from the manual check.The hybrid algorithm was superior to the methods based on attribute counting and structure metrics.
出处 《河北科技大学学报》 CAS 北大核心 2011年第2期138-142,共5页 Journal of Hebei University of Science and Technology
基金 天津市应用基础及前沿技术研究计划(10JCZDJC16000)
关键词 汇编语言 相似性检测 抄袭 属性计数 结构度量 assembly language similarity detection plagiarism attribute counting structure metrics
  • 相关文献

参考文献13

  • 1OTTENSTEIN K J. An algorithmic approach to the detection and prevention of plagiarism[J]. Sigcse Bulletin, 1976(8):30-41. 被引量:1
  • 2HALSTEAD M H. Elements of Software Science[M]. Amsterdam: Elsevier Press, 1977. 被引量:1
  • 3PRECHELT L,MALPOHL G,PHILIPPSEN M. Finding plagiarisms among a set of programs with JPlag[J]. Journal of Universal Com- puter Science,2002,8(11):1 016-1 038. 被引量:1
  • 4WISE M J. YAP3: Improved detection of similarities in computer program and other texts[A]. Proceedings of the Twenty-Seventh SIGCSE Technical Symposium on Computer Science Education[C]. New York: Association for Computing Machinery, 1996. 被引量:1
  • 5熊浩,晏海华,赫建营,赵长海.一种基于静态词法树的程序相似性检测方法[J].计算机应用研究,2009,26(4):1316-1319. 被引量:4
  • 6赵长海,晏海华,金茂忠.基于编译优化和反汇编的程序相似性检测方法[J].北京航空航天大学学报,2008,34(6):711-715. 被引量:28
  • 7CLOUGH P. Plagiarism in Natural and Programming Languages: An Overview of Current Tools and Technologies[R]. Sheffielel: The University of Sheffield, 2000. 被引量:1
  • 8GOEL S,RAO D. Plagiarism and Its Detection in Programming Languages[R]. [S. l. ] :JIITU,2008. 被引量:1
  • 9PARKER A, HAMBLEN J. Computer algorithms for plagiarism detection[J]. IEEE Transactions on Education, 1989,32 (2) :94-99. 被引量:1
  • 10WHALE G. Identification of program similarity in large populations[J]. The Computer Journal, 1990,33(2) : 140-146. 被引量:1

二级参考文献27

  • 1易会战,陈娟,杨学军,刘喆.基于语法树的实时动态电压调节低功耗算法[J].软件学报,2005,16(10):1726-1734. 被引量:12
  • 2VAMPLEW P, DERMOUDY J. An anti-plagiarism editor for software development courses [ C ]//Proc of the 7th Australasian Conference on Computing Education. Australasian: Australasian Computer Society Press, 2005:383- 387. 被引量:1
  • 3MCCABE D. Levels of cheating and plagiarism remain high[C/OL]. (2005). http ://acadeicintegrity. org/. 被引量:1
  • 4WHALE G. Plague: plagiarism detection using program structure,8805 [ R]. Sydney: Dept of Computer Science, University of NSW, 1988. 被引量:1
  • 5WISE M J. YAP3 : Improved detection of similarities in computer program and other texts [ J ]. ACM SlGCSE Bulletin, 1996,28 ( 1 ) : 130- 134. 被引量:1
  • 6PRECHELT L, MALPOHL G, PHILIPPSEN M. Finding plagiarisms among a set of programs with JPlag[J]. Journal of Universal Computer Science, 2002, 8(11):1016-1038. 被引量:1
  • 7MOSS : measure of software similarity [ EB/OL ] . http ://theory. stanford, edu/- aiken/moss/. 被引量:1
  • 8OTTENSTEIN K J. An algorithmic approach to the detection and prevention of plagiarism [ J ]. ACM SIGSCE Bulletin, 1976, 8 (4) : 30- 41. 被引量:1
  • 9FAIDHI J A W, ROBINSON S K. An empirical approach for detection program similarity and plagiarism within a university programming environment [ J]. Computers and Education, 1987,11 ( 1 ) : 11- 19. 被引量:1
  • 10VERCO K L, WISE M J. Software for detecting suspected plagiarism: comparing structure and attribute-counting systems [ C ] //Proc of the 1st Australian Conference on Computer Science Education. 1996:3-5. 被引量:1

共引文献34

同被引文献16

  • 1GEORGINA C, MIKE J. Source-code plagiarism: a UK academic perspective, RR-422 [R]. Coventry, England: Department of ComputerScience, University of Warwick, 2006. 被引量:1
  • 2SHEARD J, DICK M, MARKHAM S, et al. Cheating and plagia- rism:perceptions and practices of first year IT students[C]. Proc of the 7th annual SIGCSE conference on innovation and technology in computer science education. New York: Association for Computing Machinery, 2002: 183-187. 被引量:1
  • 3K J OTTENSTEIN. An algorithmic approach to the detection and prevention of plagiarism [J]. ACM SIGCSE Bulletin, 1976, 8(4) : 30-41. 被引量:1
  • 4HALSTEAD M H. Elements of software science[M]. New York North Holland, 1977. 被引量:1
  • 5SUSAN HORWITZ. Identifying the semantic and textual differ- ences between two versions of a program[C]. The ACM SIGP- LAN 90 conference on programing language design and implemen- tation,South Carolina, 1990, 25(6) : 234-245. 被引量:1
  • 6VERCO K L, WISE M J. Software for detecting suspected plagi- arism comparing structure and attribute-counting systems[C]. Proceedings of the 1st Australian conference on computer science education, 1996:3-5. 被引量:1
  • 7HIRSCHBERG D S. Algorithms for the longest common subse- quence problem[J]. Journal of the ACM 1977, 24(4): 664-675,. 被引量:1
  • 8R E BELLMAN. Dynamic programming[M]. Princeton:Prince- ton University Press, 1957. 被引量:1
  • 9EDWARD L JONES. Metric based plagiarism monitoring[C]. The Consortium for Computing in Small Colleges, Vermont, 2001: 253-261. 被引量:1
  • 10J H JOHNSON. Substring matching for clone detection and change tracking[C]. In: Proceedings of the International Confer- ence on Software Maintenance, 1994(10); 120-126. 被引量:1

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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