This repository has been archived by the owner on Jul 3, 2022. It is now read-only.
Releases: s3rvac/retdec-python
Releases · s3rvac/retdec-python
0.5.2
0.5.1
- Emit a warning instead of an error when a call graph, control-flow graph, or
archive fails to be generated. This makes thedecompiler
tool continue
downloading all the requested outputs instead of giving up on the first
failure. - Fixed the use of environment variable
RETDEC_API_URL
to override the
default API URL. Previously, the URL was not overridden, even when given.
0.5
- Added support for decompilation of files in archives (
ar
format). Archives
are statically linked libraries, commonly ending with.a
or.lib
. To
decompile a file from an archive, use thebin
mode and pass either the
index of the file in the archive (ar_index
) or its name (ar_name
). New
since RetDec 2.2. - Added a new optional parameter
output_format
to thefileinfo
service.
You can use it to obtain the output in the JSON format. New since RetDec 2.2. - Added support for decompilation of files in the Intel HEX format. To
decompile such files, use thebin
mode and pass the architecture and
endianness of the machine code inside the file. New since RetDec 2.2. - The
raw_entry_point
andraw_section_vma
parameters inraw
decompilations no longer accept thedefault
value. In both cases, you
have to explicitly pass an address. New since RetDec 2.2. - The
raw_endian
parameter was renamed toendian
. Use of the original
name is still supported, but it is deprecated. New since RetDec 2.2. - It is no longer possible to force an architecture when decompiling a file in
thebin
mode. The architecture is now detected automatically from the
input file. New since RetDec 2.2. - It is no longer required to set
file_format
in raw decompilations. When
given, it will be ignored. New since RetDec 2.2. - Compiler-optimization levels can now be also specified without the leading
dash (e.g. you can passO1
instead of-O1
). New since RetDec 2.2. - Dropped support for Python 3.2 (the
requests
module, which is used for
HTTPS communication, no longer supports it).
0.4
- Added support for decompilation of raw machine code (the
raw
mode). - Added support for generating and downloading of control-flow graphs.
- Added support for generating and downloading of a call graph.
- Added support for selecting the format of the generated call and control-flow graphs.
- Added support for selecting a different style for naming of variables.
- Added support for selecting the type of optimizations to be performed by the decompiler.
- Added support for decompilation of unreachable functions.
- Added support for disabling the emission of addresses in the generated code.
- Added support for selecting functions to be decompiled.
- Added support for selecting address ranges to be decompiled.
- Added support for choosing what should be decoded in selective decompilation.
- Improved error messages in exceptions.
0.3
- Added access to warnings in decompilation phases and their emission in the
decompiler
tool. - Added obtaining of the compiled version of the input C file (provided that the input was a C file).
- Added support for selecting the compiler to be used when compiling C source files.
- Added support for selecting the optimizations to be used when compiling C source files.
- Added support for selecting whether C files should be compiled with debugging information.
- Added support for selecting whether compiled C files should be stripped.
- Added support for printing script versions via the
-V
/--version
parameter.
0.2
- Added support for passing a PDB file to decompilations.
- Added support for selecting the target high-level language.
- Added support for selecting the architecture.
- Added support for selecting the file format.
- Added a new method to the
Test
service:echo()
. It echoes back the parameters passed via the test/echo service. - Added a summary of the supported parts of the retdec.com API into the documentation.
Decompiler.start_decompilation()
andFileinfo.start_analysis()
raiseMissingParameterError
when the input file is not given.- Re-formatted the progress-log output from the
decompiler
tool to ensure that the[OK]
parts are aligned properly.