#Another word for reverse engineering code#
mdl that you exported to Rose in the previous section.Īll source code and/or binaries attached to this document are referred to here as "the Program". This is the directory from which you will open the. Where the model is placed is determined by the $DESIGN pathmap. Note: Be sure to pay attention to where the Analyzer is placing the design you wish to export to Rose. From here, select the base project that you created ( base.pjt). This brings up the Base Projects of dialog box. propel.h and move.h are the files you created in Visual C++.
Make sure that $DATA is pointing to the directory where propel.h and move.h are saved. From the menu bar select Edit > Path Map.Once you have propel.h and move.h in the "Files In List (Unfiltered)" box, click OK.
If the files you are trying to reverse engineer are not showing up in "Files Not In List (Filtered)" box, BE SURE THAT THE DIRECTORY STRUCTURE is pointing to where those files are on the hard drive. Select the files to be reverse engineered from the "Files Not In List (Filtered)" box and click Add Selected.Here you need to specify the source files for reverse engineering. This example saves it as base.pjt, as this will be the base project. Select File > Save As to save the project.Notice the name is displayed in the resulting caption dialog box. Select the button a second time and enter a different name for the caption again.From the menu bar select File > New a second time.In this example, it is being saved as re.pjt. From the menu bar select File > Save As to save the project.(Notice the name is displayed in the resulting caption dialog box.) Select the button to enter the name of the caption.The analyzer should display a project window named project 1. Select Tools > C++ > Reverse Engineering.Select File > New from the menu bar to open up a new model. Now enter the following piece of code into the file move.h as it appears.Select the Files tab, and click once to highlight the C/C++ Header file menu choice and enter the name of a file for a second time.Next from the menu bar select File > New.Int throttle(int setting) //control speed You can copy and paste the code from this example. Now enter the following piece of code as it appears into the file propel.h.Select the Files tab, and click once to highlight the C/C++ Header file menu choice and enter the name of your file (for this example use propel.h ).Click the empty project radio button and click Finish.Select the Projects tab and click once to highlight the Win 32 console Application menu choice and enter the name of your project in the appropriate text field on the right side of the dialog box.In the menu bar, select File > New again.Enter the name of your workspace (for example, Wkspace) and click OK.In Microsoft® Visual Studio®, open Microsoft® C++.(You can use the sample files already created and attached to this document and start from section B)
#Another word for reverse engineering how to#
Here is a simple example showing how to reverse engineer two header files, propel.h and move.h.