From 665284234d50d3cf4c363c6ba04c5cd283501f5a Mon Sep 17 00:00:00 2001 From: clearbluejar <3752074+clearbluejar@users.noreply.github.com> Date: Mon, 13 Feb 2023 04:07:36 +0000 Subject: [PATCH] add Ghidra dev reference, tested for 10.2.3 --- .devcontainer/post-create.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.devcontainer/post-create.sh b/.devcontainer/post-create.sh index 71e834f..73623bb 100755 --- a/.devcontainer/post-create.sh +++ b/.devcontainer/post-create.sh @@ -17,4 +17,16 @@ pip install pyhidra # If arm64 os, need to build native binaries for Ghidra if uname -a | grep -q 'aarch64'; then $GHIDRA_INSTALL_DIR/support/buildNatives -fi \ No newline at end of file +fi + +# Setup Ghidra Dev for Reference +git clone git@github.com:NationalSecurityAgency/ghidra.git ~/ghidra-master +pushd ~/ghidra-master + +# Follow setup from https://github.com/NationalSecurityAgency/ghidra/blob/master/DevGuide.md +gradle -I gradle/support/fetchDependencies.gradle init +gradle prepdev + +popd + +echo 'To open up a Ghidra latest dev: code ~/ghidra-master' \ No newline at end of file