ghidra_amiga_ldr icon indicating copy to clipboard operation
ghidra_amiga_ldr copied to clipboard

Need default struct alignment to be 2 bytes instead of 4

Open mheyer32 opened this issue 1 year ago • 4 comments

Quite a few OS structs are misaligned due to the default alignment of 4 byte. They need to be aligned to 2 byte.

mheyer32 avatar Sep 03 '23 20:09 mheyer32

Thanks. If you can create a PR, it would be great. If not - I'll try to fix that someday...

lab313ru avatar Sep 03 '23 20:09 lab313ru

I did not look into the code and I am not familiar with it. So I cannot really help with a PR. But I do use this extension to reverse engineer Amiga software :-) Excellent that it exists and is really helpful!

mheyer32 avatar Sep 04 '23 21:09 mheyer32

No PR (from memory I would expect changes to the Ghidra m68k config files), but if you are looking for the OS structures, a more or less complete 3.1 NDK data type archive can be found here: https://ghidra.nicode.net/Ambermoon/ (the clib function prototypes are not really helpful without much more effort, I'm working on it, but my spare time is very limited)

nicodex avatar Sep 05 '23 05:09 nicodex