s3rvac / retdec-python Goto Github PK
View Code? Open in Web Editor NEWA Python library and tools providing easy access to the retdec.com decompilation service through their REST API.
License: MIT License
A Python library and tools providing easy access to the retdec.com decompilation service through their REST API.
License: MIT License
The retdec.com decompilation service is to be disabled (see the official announcement). This will render the library and tools in the present repository non-functional. I will keep the repository online in case it is helpful to anyone.
Thanks for leaving out this out-standing tools.
Traceback (most recent call last):
File "dec.py", line 6, in <module>
decompilation = decompiler.start_decompilation(input_file=sys.argv[1])
File "/usr/local/lib/python3.5/dist-packages/retdec/decompiler.py", line 112, in start_decompilation
id = self._start_decompilation(conn, kwargs)
File "/usr/local/lib/python3.5/dist-packages/retdec/decompiler.py", line 154, in _start_decompilation
response = conn.send_post_request(files=files, params=params)
File "/usr/local/lib/python3.5/dist-packages/retdec/conn.py", line 65, in send_post_request
response = self._send_request('post', path, params=params, files=files)
File "/usr/local/lib/python3.5/dist-packages/retdec/conn.py", line 124, in _send_request
self._ensure_request_succeeded(response)
File "/usr/local/lib/python3.5/dist-packages/retdec/conn.py", line 143, in _ensure_request_succeeded
json['description']
retdec.exceptions.UnknownAPIError: Parameter 'ar_index' is missing.
root@vpnserver:~# pip install git+https://github.com/s3rvac/retdec-python
Collecting git+https://github.com/s3rvac/retdec-python
Cloning https://github.com/s3rvac/retdec-python to /tmp/pip-smQOvT-build
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-smQOvT-build/setup.py", line 37, in
version=get_project_version(),
File "/tmp/pip-smQOvT-build/setup.py", line 30, in get_project_version
read_file(os.path.join('retdec', 'init.py'))
File "/tmp/pip-smQOvT-build/setup.py", line 17, in read_file
with open(file_path, encoding='utf-8') as f:
TypeError: 'encoding' is an invalid keyword argument for this function
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-smQOvT-build/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.