TODO. These are rough notes for now.
Rebasing patches
In Ghidra repo directory with updated repo
Also see https://github.com/lifting-bits/sleigh/pull/167 for some explanation, particularly this comment https://github.com/lifting-bits/sleigh/pull/167#issuecomment-1479765517
Showing decompiler commits between bumps
where old is the older commit and new is the newer commit. We also skip merge commits (--no-merges) because they can be noisy. We also limit git to only look at the paths that affect the decompiler (paths after --). We also ignore commits that only touch Java files.
Running the updater script manually
Sometimes cron updates pile up while fixing issues. To run the updater script manually, clone the Ghidra repo somewhere (we'll use src/ghidra in this example), and checkout the new Ghidra commit you would like to compare the current CMake Ghidra HEAD commit and run the script:
You will be able to see all the modified files, and the script will update the CMake files as necessary, like it does in CI. You will need to create the PR yourself though.