Help needed setting up git/github GhidraDev Processor project based on fork of an existing Ghidra Processor #7119
Unanswered
hippietrail
asked this question in
Q&A
Replies: 1 comment 4 replies
-
You can't do this. I'd just manually drop whatever processor files you want into your repo, and call it a day. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been working on #487 to add A-Line trap support to Motorola 680x0 processor support. I've made a badly-set-up Ghidra repo: https://github.com/hippietrail/Motorola68000ALine
Since there's no way in Ghidra to derive a new processor in an extension from an existing built-in processor, it seems the "proper" way to tackle this, at least in the experimental stages is like this:
data
directory level abovelanguages/68000.ldefs
etc.This way the forked 68k processor will have the back-history and will also be able to pull in new changes to avoid getting out of sync.
I tried to set up my project listed above but struggle enough with more basic things in git and this seems doable but advanced. I've obviously done it wrong.
When I've made further changes to the Sleigh files I'm unable to push them and the outer (GhidraDev) and inner (68000) repos seem to be out of sync with each other re previous changes that I thought were working fine.
If anyone can guide me on the correct way to set this up, or who can confirm that this is not actually possible with Git after all, it would be very much appreciated. Maybe the proper way is totally different? If it can't be done in a way where the inner 68000 repo is working, then I'll just cut and paste it in, but that would be a shame.
Beta Was this translation helpful? Give feedback.
All reactions