Skip to content

Instantly share code, notes, and snippets.

@sprout42
sprout42 / ghidra_processor_docs_downloader.py
Last active December 9, 2022 19:22 — forked from apfelchips/ghidra_processor_docs_downloader.py
Ghidra Processor Documentation Downloader
#!/usr/bin/env python3
# vim: tabstop=4:softtabstop=4:shiftwidth=4:expandtab:
import os
import sys
import requests
docs = {
'68000': {
'M68000PRM.pdf': 'https://www.nxp.com/files-static/archives/doc/ref_manual/M68000PRM.pdf',
@sprout42
sprout42 / micocorruption_binary.py
Last active April 19, 2022 20:23 — forked from joshwatson/micocorruption_binary.py
Generate a Microcorruption Memory Dump (py3 compatible)
import os
import sys
import struct
import tempfile
import subprocess
from argparse import ArgumentParser
def decode_binary(input_file):
next_addr = 0