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

A software-defined key function location and extraction method for C++ system

A key function, software-defined technology, applied in software engineering design, hardware monitoring, electrical digital data processing, etc., can solve problems such as different operating environments, different methods of positioning and analyzing key functions, etc.

Active Publication Date: 2021-04-30
PEKING UNIV
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the development of software systems today, there are many platforms. The operating environments of software on different platforms are different, and their programming languages ​​and programming frameworks are also very different. As a result, the methods for locating and analyzing key functions are also different.

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 software-defined key function location and extraction method for C++ system
  • A software-defined key function location and extraction method for C++ system
  • A software-defined key function location and extraction method for C++ system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0065] For the technical problem proposed by the present invention, the present invention proposes a kind of business logic layer of the Windows client software system developed from C++, i.e. its own code, finds the function in the assembly code, and includes the generation of business data therein. The method of quickly locating and extracting the key functions displayed can help developers analyze and understand the software.

[0066] refer to figure 1 , which shows a schematic diagram of the overall idea of ​​a method for locating and extracting software-defined key functions of a C++ system according to an embodiment of the present invention. The key function in the embodiment of the present invention refers to the function ...

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 method for locating and extracting software-defined key functions of a C++ system, and relates to the field of software analysis. The invention inserts stubs in the executable file of a user system developed based on C++, so as to identify functions in assembly language Record the operation information, obtain the function operation log, and then provide the function operation log to the user, so that the user can search and locate the key function including the generation and display of business data in the function operation log, and then perform the operation of the key function Determine the calling convention and parameter type of the key function to generate the calling code of the key function, and inject the calling code into the user system to extract the key function, thereby facilitating software analysis.

Description

technical field [0001] The invention relates to the field of software analysis, in particular to a method for locating and extracting software-defined key functions of a C++ system. Background technique [0002] The key function refers to the core functional function of the application software that plays a key role in a certain operation stage. Quickly locating and extracting the key functions in the software is helpful for analyzing and understanding the software. However, with the development of software systems today, there are many platforms. The operating environments of software on different platforms are different, and their programming languages ​​and frameworks are also very different, resulting in different methods for locating and analyzing key functions. Among them, the Windows client software system developed by C++ occupies a large proportion, which is very common in fields such as industrial control. Therefore, how to assist developers to solve the key func...

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/30G06F11/34
CPCG06F8/31G06F8/315G06F11/3476
Inventor 黄罡张颖史默臻蔡华谦
Owner PEKING UNIV