Skip to main content

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 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.2.tar.gz (7.0 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.2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reshare-0.1.2.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for reshare-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cfe9491f9a5969c06f2d0c4c0c9d5377c87164b83ee2244102fbd775e297809a
MD5 c3ee7dc8ff24ddab49dc272793838731
BLAKE2b-256 2a3309f4b116e22b055686796ca25c515fffe6b76122a0dea104e196a0e7cd36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: reshare-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for reshare-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ec7e7ca503e14687c77cf4fc02554d10c1b447819adddffcea5ebfd1ceaab830
MD5 fc72e5f67f05718645929384dd70c705
BLAKE2b-256 488777f358d23d397476aceb57e62c5e474abf44405d76c005c032a2873a6cc0

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