Skip to content

Coder-256/IntcodeGhidra

Repository files navigation

IntcodeGhidra

Implements a Ghidra processor extension for the imaginary Intcode CPU/abstract machine from Advent of Code 2019. Compatible with Ghidra 10.0.1 and later. Just for fun, unpolished, and not fully functional. Use/enjoy at your own risk!

I finished this a while ago and forgot about it until now, then decided I may as well tidy it up and publish it 🤷‍♂️.

This also comes with a simple loader for comma-separated numbers formatted like the original Advent of Code examples. However, I quickly realized that it doesn't work very well with many of the examples, since they make heavy use of some wacky Intcode features that Ghidra doesn't support (memory address reuse/repurposing, infinite memory space, etc., and especially self-modifying code).

The hardest challenge of this project: it was a REAL pain in the rear to get the opcodes and addresses correct since they're base-10 instead of binary (see gen_sla.py), but it sure was rewarding once it finally "worked". 😄

About

Ghidra decompiler support for the virtual Intcode CPU

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy