Skip to main content

REshare reverse-engineering interchange format Python package

Project description

REshare Python

This is the Python wrapper for the REshare reverse-engineering interchange format.

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)

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.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reshare-0.1.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file reshare-0.1.0.tar.gz.

File metadata

  • Download URL: reshare-0.1.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.2

File hashes

Hashes for reshare-0.1.0.tar.gz
Algorithm Hash digest
SHA256 837457b10561c3ac8171b97c1369c5a1108b0e5f9576e8bd5e66ce7f8f64154e
MD5 aa84741f567c5490537d53c8f9ce6c4c
BLAKE2b-256 51f8d923fc1b8de5a3f40635a093cd11f894c0c7cb17d7661d20121a6c55a82e

See more details on using hashes here.

File details

Details for the file reshare-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: reshare-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.2

File hashes

Hashes for reshare-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b79a21acd9896465809c30f1403d72c9e2fcbceb52539bd19a7fcd53c4236b5
MD5 1beccb039beade7ed9af57d9f0d97297
BLAKE2b-256 dec821e7fb81b69cd9a74fa4e0d8cbb3845aeb6f7acb8aa62fe68e3c0f4a64bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page