IDAPython scripts to use the REshare reverse-engineering exchange format in IDA.
Install the project dependencies in the virtual environment of your choice:
reshare-ida/ $ python3 -m venv venv
reshare-dia/ $ source venv/bin/activate
(venv) reshare-ida/ $ pip install .
(uv and other project managers should also work)
- Edit the configuration constants at the top of
reshare-ida-{import,export}.pyaccording to your needs. - Start IDA from the shell with the activated virtual environment where dependencies are installed.
- Execute the script (
File->Script file...or Alt+F7)
LOG_FILE- Path to the log file (Nonedisables file logging)LOG_LEVEL- Log level constant for theloggingmodule
EXPORT_PATH- Path to the export JSON
IMPORT_PATH- Path to the REshare JSON file to importFUNC_SYM_IMPORT_ALLOW_RE- Only import function signatures that match this regular expression (Noneto disable).FUNC_SYM_IMPORT_DENY_RE- Don't import function signatures that match this regular expression (Noneto disable).TYPE_IMPORT_ALLOW_RE- Only import types that match this regular expression (Noneto disable).TYPE_IMPORT_DENY_RE- Don't import types that match this regular expression (Noneto disable).