-
Notifications
You must be signed in to change notification settings - Fork 937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to work with graphiz along retdec? #553
Comments
Hi. First of all, you have to install Graphviz. Then, run decompilations with parameters
The former parameter enables the generation of control-flow graphs while the latter enables the generation of a call graph. After the decompilation finishes, you should see PNG images in the same directory where the input file is located, which are the control-flow and call graphs. If you do not see any images, it either means there was an error (probably Graphviz has not been installed properly) or there are no functions in the file you are trying to decompile. BTW, if you want something else than a PNG image, you can use the |
@s3rvac thank you so much i knew you would reply, Its says please install graphviz to generate graphics where as it is already installed but is in Program files folder do i need to put it in retdec folder if yes than in retdec which folder. |
RetDec runs the `dot` (or `dot.exe` on Windows) program from Graphivz to convert the graphs from `.dot` files to PNG files. This program has to be reachable from PATH. We should mention this as it may not be obvious (see #553).
@s3rvac thank you so much this helped me alot, sorry for late reply. I will contact you if i found any more issue again thank you :) |
I have installed retdec, what i want the graphical representation of code that is decompiled in C, how can i do this using graphiz as i am new to this work, can someone kindly explain.
The text was updated successfully, but these errors were encountered: