REshare reverse-engineering exchange format Python package
Project description
REshare Python
This is the Python wrapper for the REshare reverse-engineering exchange format.
Installation
The package is available on PyPI:
pip install reshare==0.1.1
Usage
from reshare import *
from reshare.helpers import *
resh_export = ResharePy("my_project") # Convenience wrapper
# ... add RE knownledge to the export object ...
with open("reshare.json", "w") as out:
out.write(json.dumps(resh_export.to_json_data(), indent=2))
# Time flies...
with open("reshare.json","r") as inp:
data = json.load(inp)
resh_import = Reshare.from_json_data(data)
# ... parse RE data for your tool ...
Helpers
While Python is a common denominator among reversing tools, the generated REshare classes aren't comfortable to work with:
- Reasonable defaults are not available
- Variant metadata is exposed
Wrapper classes with ...Py suffix are provided that:
- Implement constructors with reasonable default values
- Hide variant internals
- Handle dynamically typed attribute assignment (in case of
ReshTypeSpecfor now)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
reshare-0.1.2.tar.gz
(7.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters