Unlock instant, AI-driven research and patent intelligence for your innovation.

A program comparison method and system

A comparison and program technology, applied in the computer field, to achieve the effect of automatic comparison

Active Publication Date: 2022-07-05
INST OF INFORMATION ENG CHINESE ACAD OF SCI
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The present invention provides a program comparison method and system to solve the defect that binary programs can only be compared through manual analysis in the prior art, and realize automatic binary program comparison

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
  • A program comparison method and system
  • A program comparison method and system
  • A program comparison method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] In order to make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention. , not all examples. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0054] A program comparison method provided by an embodiment of the present invention, such as figure 1 As shown, the method includes:

[0055] 110, respectively establishing a target function call graph corresponding to the target program and a function call graph to be compared corresponding to the program to be compared;

[0056] In the embodiment of the present invention, a target function call graph correspo...

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 invention provides a program comparison method and system. The method includes: respectively establishing a target function call graph corresponding to a target program and a to-be-compared function call graph corresponding to a program to be compared; and acquiring a target anchor point in the target function call graph and the to-be-compared anchor point in the function call graph to be compared; obtain the target edge corresponding to the target anchor point and the to-be-compared edge corresponding to the to-be-compared anchor point, and re-use the function node at the other end of the target edge as the target anchor point, Reuse the function node at the other end of the side to be compared as the anchor point to be compared, and repeat the above process until all the alignment anchor points are obtained; according to the target function call graph and all alignment anchor points in the function call graph to be compared, judge Whether the target program and the program to be compared have the same execution logic. The invention realizes the automatic comparison of the program by using the function call graph of the program and the neural network technology to carry out embedded representation for the edge in the subgraph.

Description

technical field [0001] The invention relates to the field of computer technology, and in particular, to a program comparison method and system. Background technique [0002] Binary program analysis, also known as binary program reverse engineering (Reverse Engineering), is a technique aimed at extracting high-level semantic information from the original executable program. Software reverse engineering plays a very important role in many fields: in threat intelligence systems, reverse engineering is required to analyze adversary tools; in black-box testing, reverse engineering is required to uncover software vulnerabilities; in software copyright protection, reverse engineering is required Perform software composition analysis, etc. [0003] The core of reverse engineering is to condense the program executed by the machine as high as possible into the computer behavior and function that can be described by human words. Since an executable program is a strong logic execution...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/75G06F8/74G06K9/62G06N3/04G06N3/08
CPCG06F8/75G06F8/74G06N3/08G06N3/045G06F18/22
Inventor 杨灿刘剑刘媛罗梦霞龚晓锐刘宝旭
Owner INST OF INFORMATION ENG CHINESE ACAD OF SCI