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.

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.1.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.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reshare-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 59365bfc62085a34dee43086da4945874fbee331d714346dd8c75477c3813e21
MD5 67bfcf5a4e82e3b661e8bf6aac494d40
BLAKE2b-256 99ea27ae3f205845ca6170fc6e2c4ac6ad2d5a8e85e0f15d8db3bd9461721449

See more details on using hashes here.

File details

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

File metadata

  • Download URL: reshare-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8572b646ebaf69236a20ead0c51463f7925dcbb862c05859f02e812d3a5d1c16
MD5 d881d80765bfa3ebeeed5faf8254d3de
BLAKE2b-256 8010b59338d5b8be2cbd422f2f368053087ba83106310961799e756dec5a8946

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