Reverse Engineering is also known as backward engineering, is the process of forward engineering in reverse. In this, the information is collected from the given or existing application. It takes less time than forward engineering to develop an application. In reverse engineering, the application is broken to extract knowledge or its architecture.
Steps of Software Reverse Engineering:
- Collection Information:Â This step focuses on collecting all possible information (i.e., source design documents, etc.) about the software.
- Examining the Information: The information collected in step-1 is studied so as to get familiar with the system.
- Extracting the Structure: This step concerns identifying program structure in the form of a structure chart where each node corresponds to some routine.
- Recording the Functionality:Â During this step processing details of each module of the structure, charts are recorded using structured language like decision table, etc.
- Recording Data Flow: From the information extracted in step-3 and step-4, a set of data flow diagrams is derived to show the flow of data among the processes.
- Recording Control Flow:Â The high-level control structure of the software is recorded.
- Review Extracted Design: The design document extracted is reviewed several times to ensure consistency and correctness. It also ensures that the design represents the program.
- Generate Documentation: Finally, in this step, the complete documentation including SRS, design document, history, overview, etc. is recorded for future use.
Reverse Engineering Tools:
Reverse engineering tools accept source code as input and produce a variety of structural, procedural, data, and behavioral design. Reverse engineering if done manually would consume a lot of time and human labor and hence must be supported by automated tools. Some of the tools are given below:
- CIAO and CIA:Â Â A graphical navigator for software and web repositories and a collection of Reverse Engineering tools.
- Rigi:Â A visual software understanding tool.
- Bunch:Â A software clustering/modularization tool.
- GEN++:Â An application generator to support the development of analysis tools for the C++ language.
- PBS:Â Software Bookshelf tools for extracting and visualizing the architecture of programs.
Supriya Birajdar Answered question May 21, 2024
[…] Q6 b) Explain software reverse engineering in detail. […]