Ghidra Xtensa ISA

Analyzing an esp32 flash dump with ghidra
Enter /home/dragon with Ghidra
github.com/Ebiroll/ghidra-xtensa, Tensilica Xtensa processor module for Ghidra

Implementing a New CPU Architecture for Ghidra (PDF)
Quick Guide to Creating a Processor in Ghidra

C:\Users\andreas\Downloads\ghidra_9.2.2_PUBLIC>support\sleigh.bat -a Ghidra\Processors\Xtensa
INFO  Using log config file: jar:file:/C:/Users/andreas/Downloads/ghidra_9.2.2_PUBLIC/Ghidra/Framework/Generic/lib/Generic.jar!/generic.log4j.xml (LoggingInitialization)
INFO  Using log file: C:\Users\andreas\.ghidra\.ghidra_9.2.2_PUBLIC\application.log (LoggingInitialization)
Compiling Ghidra\Processors\Xtensa\data\languages\xtensa.slaspec:
WARN  2 NOP constructors found (SleighCompile)
WARN  Use -n switch to list each individually (SleighCompile)

1 languages successfully compiled

github.com/pfalcon/ida-xtensa2/, IDAPython plugin for Tensilica Xtensa (as seen in ESP8266), version 2
ithub.com/pfalcon/ida-xtensa2/blob/master/xtensa.py

General Ghidra

What’re you telling me, Ghidra? An introduction to Ghidra’s primary components

General ESP

ESP32 Programmers’ Memory Model

Leave a Reply

Your email address will not be published. Required fields are marked *