Replies: 4 comments
-
I'll mention this to a few people who have built some language modules to bring some more input. As for myself, I don't think I'd be much help because I don't use Eclipse at all. I use vscode and basically dump all of the Ghidra modules into the classpath. As long as the data folder is included as an entry in the language server classpath it works fine (assuming I remember correctly, I haven't done it in a while now). As for 3, I will always just run sleigh directly and restart Ghidra. I do it this way because I don't want to have everything disassembled again if it isn't necessary. |
Beta Was this translation helpful? Give feedback.
-
If you choose to update the way sla files are generated, would you please consider adding hooks to support:
This last one is a bit of a stretch goal:
|
Beta Was this translation helpful? Give feedback.
-
I want to preface my answers by saying that I am very new to writing language modules and modifying Ghidra in general, and that the tooling that is provided (Eclipse integration, GhidraDev, etc.) is absolutely invaluable to me. If the tooling was not available and I had to do it manually, I likely would never have gotten very far and given up a long time ago. I am not very familiar with Java and its build tools, and the tooling takes some of the agony out of that learning process.
|
Beta Was this translation helpful? Give feedback.
-
For initial development with slaspec/sinc I have always developed within an unzipped release making the minimal directory structure manually. Easy access to processors for reference and My biggest deciding factor is when is src/ included. Once I get far enough along for ELF or needing an analyzer is when I move from the zip to eclipse (full tree). I wouldn't consider data/ ever being a reason for me to really choose one or the other except just generally saving my work in github to avoid any data loss and not wanting to make a new repo.
I have not used GhidraDev for a processor only feature plugins like loaders/filesystems/analyzers. For initial dev there is just too much work to get the SLEIGH correct/functional enough to worry about launching ghidra where GhidraDev is useful. I think I have always started with
If I'm fixing compilation errors, I'll just run If bugfixing, I still
I have not. I'm typically do not develop in Eclipse and I'm not a power user. Java development sure, but I'd rather just use my editor of choice for SLEIGH (day to day coding is C/python/asm in text editor, not really any IDE). |
Beta Was this translation helpful? Give feedback.
-
We are in the process of reviewing when and how processor language specification files get compiled from a slaspec to a sla file. In doing so, we would like to understand how users go about the following tasks and what steps/methods they rely on to compile a language specification.
Ghidra/Processors
directory or use EclipseGhidraDev
in some fashion? What steps do you follow?GhidraSleighEditor
when modifying a sleigh language file?Thank you for you input.
Beta Was this translation helpful? Give feedback.
All reactions