Skip to main content

deity-informant

An NMOS 6510 toolkit. It has a 6510 to P-Code lifter with every documented illegal opcode, a P-Code VM, and a SLEIGH module for Ghidra. It also lifts whole programs to native code, and translates C64 machine code (SID players) to structured C99, checked against a reference interpreter.

Install

pip install deity-informant                  # from PyPI
pip install -e ".[dev]" && maturin develop --profile dev-release   # from a checkout, with the native extension

Use

deity-informant disasm IMAGE --org 0x1000    # illegal-aware disassembly; see docs/lifter.md
python -m deity_informant.cgen tune.bin --org 0x1000 --entry 0x1003:play --volatile 0xD400-0xD41D -o tune.c
from deity_informant import cgen

c, h, info = cgen.translate(image, [(0x1003, "play")], volatile=[(0xD400, 0xD41D)])

Components

Component What it is Doc
lifter, vm, cli, sleigh/ instruction lifter, P-Code VM, console script, SLEIGH module lifter
crates/, _native Rust P-Code IR and reference interpreter native
wholeprog, trace, c64 whole-program lifting to native code wholeprog
cgen/ machine code as structured C99 cgen
cgen.facts, tools/startfacts.py run facts the C generator is given, and their producer certified
layout memory layout recovery and Ghidra export layout
tools/pcode2c.py and others a lift as C, MLIR and structured C structured
smc/ self-modifying code scenarios and oracles smc-scenarios
tools/wpcorpus.py, tools/sidcmp.py HVSC corpus runs and SID comparison corpus
tools/vtools.py and others layout-validation references validation

Tests

pytest tests/ -n auto --cov=deity_informant --cov-fail-under=85

Lint, the native build and the test guards are in testing.

References

Illegal-opcode semantics and cycles: "No More Secrets — NMOS 6510 Unintended Opcodes" (csdb.dk/release/?id=258111).

Metadata

Release files for deity-informant 0.46.0

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

Source distribution (sdist)

Source distribution for deity-informant 0.46.0
File Size Uploaded Provenance Actions
deity_informant-0.46.0.tar.gz 452.6 kB With provenance Details for deity_informant-0.46.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for deity-informant 0.46.0
File Interpreter ABI Platform Actions
deity_informant-0.46.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64 Details for deity_informant-0.46.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
deity_informant-0.46.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 abi3 Linux glibc 2.17+ ARM64 Details for deity_informant-0.46.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Total release size: 7.6 MB

Release files / deity_informant-0.46.0.tar.gz

Download URL deity_informant-0.46.0.tar.gz
Size 452.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d40414a2d0314f5c9904f51d07f7febea5c5275aae88702719c5f08156582db8
BLAKE2b-256 checksum
How to use checksums
df2e563406744b2629698ebdabe1e6a5389286127fbd73c4e18f31e714a78e2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / deity_informant-0.46.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL deity_informant-0.46.0-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 4.0 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
3b2cbc87d6c533e9496bbf128b19c3e5ce6484bb711efffb8aec528bfa975a0d
BLAKE2b-256 checksum
How to use checksums
dfd6a3277683b5d314d797909e6d2ed809a3898f86a6190b8d0f8a0c07eb25d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Release files / deity_informant-0.46.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL deity_informant-0.46.0-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 3.1 MB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
506789d479fa2deccffab24cadbf34b05fdd7b6c40bfdab567a3596df53d2a28
BLAKE2b-256 checksum
How to use checksums
adc6831101a0f7b3f7746c0d36b0c7923ee4478fe66d38911bc3691ffec7bb7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for deity-informant 0.46.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for deity_informant-0.46.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.46.0 This release

3 release files Full provenance

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