RARE 002: Debugging #Wine Apps with #Ghidra
Channel: Wyatt Neal
Date: 2022-01-30

This is the story of how I wanted do what I thought was something simple, debugging a Wine app with Ghidra's build in debugger and how that's not as easy as I thought.

#Ghidra #ReverseEngineering #WineApps

0:00 Why we're doing this
3:15 Down the stackoverflow rabbit hole
5:10 Steps to Debug Wine Apps With Ghidra & Walk Through

0) Import & label your binaries as you normally would for Ghidra
1) Install the tools https://stackoverflow.com/a/68268087/6886
2) Open in the debugger
3) Connect to the GDB server manually
4) Fix up your traces
5) Add initial break points
6) Run once
7) Re-run the executable stopping at the first instruction
8) Fix up your traces
9) Debug some stuff!

Quick shoutout to Ax_Grinder for the free use of their riffs at the end because I was too lazy to dig out my own :) (https://freesound.org/people/Ax_Grinder/)