Skip to main content

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 ReshTypeSpec for now)

Metadata

Release files for reshare 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reshare 0.1.3
File Size Uploaded
reshare-0.1.3.tar.gz 7.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for reshare 0.1.3
File Interpreter ABI Platform
reshare-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 13.5 kB

Release files / reshare-0.1.3.tar.gz

Download URL reshare-0.1.3.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b5cadaf3173558ae2fa570291ac5149fef390e35a760ca6b2a3790ec3afdb2d6
BLAKE2b-256 checksum
How to use checksums
e45f08af19d893a12f33256b59d1fef32470adfe6e69e3d4244bb60409add0e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / reshare-0.1.3-py3-none-any.whl

Download URL reshare-0.1.3-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a91cd2a4ca09b79cc9f69bd82a592add50875fb279cac456c25761f5dd1f7956
BLAKE2b-256 checksum
How to use checksums
9f6161308b6612fc763fa8ac5b27702096a9083d6b276d18cbbec377a4484adf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page