Skip to content

Instantly share code, notes, and snippets.

@maxton
maxton / ExportXeniaMap.java
Last active July 17, 2021 05:20
Ghidra script to export .map files for the Xenia debugger. Load maps by launching Xenia with the --load_module_map="C:\path\to\ghidra.map" argument.
//Saves function names and addresses for Xenia
//@author Maxton
//@category Functions
//@keybinding
//@menupath File.Export Xenia Map File...
//@toolbar
import java.io.File;
import java.io.FileOutputStream;
import java.io.PrintWriter;