Replies: 1 comment 1 reply
-
Sorry to jump in, but check if these PRs help in anyway: |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an array of 10 fully defined
GlobalWaveDetails
objects instantiated in the data segment. When Ghidra's decompiler produces C that references the first member of the structure, although not perfect, the output is okay-ish (see line 2 below). However when referencing other structure members the array index becomes externlised and consequently is multiplied by the structures size and then added, making things less legible (see lines 3, 4 & 6 below):Can anyone advise as to where this transformation is occurring (either/both of Ghidra's C and/or Java) so a fix could be found?
Beta Was this translation helpful? Give feedback.
All reactions