Software local plagiarism detection method based on dynamic instruction dependency graph birthmark

A technology of dynamic instructions and detection methods, applied in the direction of program/content distribution protection, etc., to reduce mismatch and mismatch, improve efficiency, and improve pairing efficiency

Active Publication Date: 2018-08-14
XIAN UNIV OF POSTS & TELECOMM
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the existing birthmark technology mainly models the overall behavior and semantics of the program, and only gives the overall similarity or plagiarism judgment of the plaintiff and defenda...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software local plagiarism detection method based on dynamic instruction dependency graph birthmark
  • Software local plagiarism detection method based on dynamic instruction dependency graph birthmark
  • Software local plagiarism detection method based on dynamic instruction dependency graph birthmark

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The implementation of the method for detecting software local plagiarism based on the dynamic instruction dependency graph birthmark of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0040] figure 1 It is the processing flow of the software partial plagiarism detection method based on the dynamic instruction dependency graph birthmark, wherein the plaintiff program refers to the original program developed by the program owner, and the defendant program refers to the suspicious program that is considered to have copied the original program.

[0041] A kind of software partial plagiarism detection method based on dynamic instruction dependency graph birthmark of the present invention comprises the following steps:

[0042] Step S101: using dynamic instrumentation frameworks such as Pin, Valgrind, etc., to implant analysis codes before the execution of each instruction of the binary target program to be monitored, o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention provides a software local plagiarism detection method based on the dynamic instruction dependency graph birthmark. The method comprises: 1) using dynamic instrumentation to perform instruction level monitoring on a to-be-analyzed program, and capturing an instruction trajectory of each function; 2) for a dynamic instruction trajectory recording each function, carrying out data dependency and control dependency analysis, and constructing a dynamic instruction dependency graph birthmark; 3) calculating the similarity between instruction dependency graph birthmarks, and implementing the measure of similarity between functions; 4) based on the given threshold, constructing a list of suspicious functions for each function in the plaintiff program; 5) extracting the staticfunction call graph of the program, and performing precise pairing of the suspicious functions under the guidance of the calling dependency; and 6) based on the calling dependency, assembling matchedfunction pairs to generate a plagiarism evidence map, and measuring the proportion of suspected plagiarism part. According to the method provided by the present invention, local plagiarism detection is implemented by constructing a function-level birthmark; and the concept of a plagiarism evidence map is proposed for the first time, and the effectiveness of the evidence can be greatly enhanced.

Description

technical field [0001] The invention relates to the fields of software dynamic behavior analysis and software plagiarism detection, in particular to a software local plagiarism detection method based on the birthmark of a dynamic instruction dependency graph. Background technique [0002] The time and labor cost of developing a software from scratch is very expensive, so it is very common to reuse existing code during the project development process. The vigorous development of open source software communities such as GitHub, SourceForge, and social programming sites such as CodeShare has brought prosperity to the software industry. However, the accompanying problem of software plagiarism is also becoming more and more serious, and it is not uncommon to abuse other people's codes, resulting in frequent software infringement cases. For example, the "Green Dam" software was exposed to have plagiarized a large number of codes from CyberSitter, and its bad image filter files cx...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F21/16
CPCG06F21/16
Inventor 田振洲王忠民陈彦萍张恒山夏虹刘烃郑庆华
Owner XIAN UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products