Method and device based on reverse engineering for automatically generating software documents
An automatic generation and reverse engineering technology, applied in special data processing applications, instruments, electronic digital data processing, etc., can solve the problem of difficult to understand document comprehension, and achieve the effect of easy to understand results, wide application and low error rate
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2013-10-02
- Estimated Expiration
- Not applicable · inactive patent
Smart Images
Figure 1 Figure 2
Abstract
Description
technical field
[0001] The invention relates to the technical field of reverse engineering, in particular to a method and device for automatically generating software documents based on reverse engineering. Background technique
[0002] Reverse engineering comes from the field of hardware. It refers to the process of developing complex hardware systems by checking samples. It mainly refers to studying other people's systems and discovering their working principles to achieve the purpose of replicating hardware systems. With the development of the software industry, the term reverse engineering was introduced into the field of software engineering. Reverse engineering is used to transform from the low-level abstraction level of the source program code to a higher abstraction level representation, such as control flow diagram, data flow diagram, class relationship diagram etc. Reverse engineering is a design recovery process in which reverse engineering tools extract data, ar...
Examples
Embodiment Construction
[0036] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.
[0037] Such as figure 1 As shown, this embodiment provides a method for automatically generating software documentation based on reverse engineering, including:
[0038] Step 1, scan and analyze the source program to obtain function comments, function details, mutual calling relationship between functions and mutual inclusion relationship between functions;
[0039] Step 2, perform natural language recognition on function comments and function details, and extract function information;
[0040] Step 3, based on the detailed information of the functions, combined with the mutual call relationship between functions and the mutual inclusion relationship between functions, generate a global function call relationship d...