File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 22set -e
33set -x
44
5- git clone --depth=1 -b Ghidra_11.4.1_build https://github.com/NationalSecurityAgency/ghidra.git ghidra_src
5+ TAG=11.4.2
6+ GHIDRA_SRC_DIR=ghidra_src_${TAG}
7+ git clone --depth=1 -b Ghidra_${TAG} _build https://github.com/NationalSecurityAgency/ghidra.git ${GHIDRA_SRC_DIR}
68
79# We just need Makefile and $(LIBSLA_SOURCE) defined inside Makefile. Do it this
810# way to make sure we stay up to date with the list of required files.
911SLEIGH_SRC_DIR=sleigh
10- pushd ghidra_src /Ghidra/Features/Decompiler/src/decompile/cpp/
12+ pushd ${GHIDRA_SRC_DIR} /Ghidra/Features/Decompiler/src/decompile/cpp/
1113
1214# Touch fake dependency files recently removed upstream. Not having these triggers build steps.
1315mkdir -p com_opt com_dbg
@@ -18,5 +20,6 @@ make $SLEIGH_SRC_DIR
1820SLEIGH_SRC_DIR=${PWD} /${SLEIGH_SRC_DIR}
1921popd
2022
21- mv $SLEIGH_SRC_DIR .
22- mv ghidra_src/Ghidra/Processors processors
23+ mkdir ${TAG}
24+ mv $SLEIGH_SRC_DIR ${TAG}
25+ mv ${GHIDRA_SRC_DIR} /Ghidra/Processors ${TAG} /processors
You can’t perform that action at this time.
0 commit comments