You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,38 @@ This fork exists for two reasons:
6
6
1) The NSA doesn't publish the ghidra jar to maven central, but we want to depend on it via regular maven coordinates in our java/scala builds.
7
7
2) We want to be able to make our own decision about patches, e.g. [this one](https://github.com/NationalSecurityAgency/ghidra/pull/5256) which works fine but for some reason hasn't been merged upstream - this fork [has it](https://github.com/joernio/ghidra/pull/3).
8
8
9
+
Note: we want to keep things simple, one of them being the git history. If you look at this repository you'll see that we take upstream ghidra and apply our changes on top. Which brings us to...
10
+
11
+
## Howto: update to the latest ghidra upstream
12
+
As mentioned above we want a simple git history and always have our changes _on top_, i.e. we never want to merge upstream changes into this repository. Instead, we rebase and force-push the changes to our fork's master. Some people might call that sinning, but simplicity is king, this is just a fork, and then there's yolo ¯\_(ツ)_/¯
13
+
14
+
Prerequisite: remote 'upstream' is already set up, like so:
Prerequisite: you need to have joern's sonatype credentials configured in your `~/.m2/settings.xml`, i.e. there should be an entry like this, which you can get from our sonatype central account.
Context: [pom.xml.template](https://github.com/joernio/ghidra/blob/40346937b37889112cd4515e0535bf9e37f69a9a/pom.xml.template#L50) references the sonatype central server as `sonatype-central-joern`
38
+
39
+
Then you should be able to run `./ghidra-publish.sh` which will build ghidra, create a temporary maven project and publish it to sonatype central.
40
+
9
41
10
42
# Ghidra Software Reverse Engineering Framework
11
43
Ghidra is a software reverse engineering (SRE) framework created and maintained by the
0 commit comments