retdec.tools package¶
Submodules¶
retdec.tools.decompiler module¶
A tool for decompilation of files. It uses the library.
-
class
retdec.tools.decompiler.
ProgressDisplayer
[source]¶ Bases:
object
Base class of progress displayers.
-
class
retdec.tools.decompiler.
ProgressBarDisplayer
[source]¶ Bases:
retdec.tools.decompiler.ProgressDisplayer
Displays a progress bar during decompilation.
-
BAR_LENGTH
= 40¶ Length of the progress bar (in characters).
-
BAR_FILL_CHAR
= '#'¶ Character to be used as the fill symbol.
-
BAR_EMPTY_CHAR
= ' '¶ Character to be used as the empty symbol.
-
-
class
retdec.tools.decompiler.
ProgressLogDisplayer
[source]¶ Bases:
retdec.tools.decompiler.ProgressDisplayer
Displays a progress log during decompilation.
-
class
retdec.tools.decompiler.
NoProgressDisplayer
[source]¶ Bases:
retdec.tools.decompiler.ProgressDisplayer
Displays nothing.
-
retdec.tools.decompiler.
get_output_dir
(args)[source]¶ Returns an absolute path to a directory where the output files should be saved.
-
retdec.tools.decompiler.
get_progress_displayer
(args)[source]¶ Returns a proper progress displayer based on the arguments provided by the user.
-
retdec.tools.decompiler.
display_download_progress
(displayer, file_path)[source]¶ Displays progress of downloading the given file.
-
retdec.tools.decompiler.
add_decompilation_param_when_given
(args, params, param_name)[source]¶ Adds a parameter with param_name from args to params, provided that the parameter is set.
retdec.tools.fileinfo module¶
A tool for analysis of binary files. It uses the library.
Module contents¶
Tools that use the library to analyze and decompile files.