I ran across a problem (?) with the special case for dsra32. When the function in data/languages/mips.sinc (line 251) is left with empty brackets API functions such as getOperandRefType(x) will return None when it should return an appropriate value. I copied the implementation above it (the non-special case for dsra32) and functionality worked as expected, for me anyway. Also, right-clicking and selecting "Instruction Info..." shows missing Input Objects and Results Objects.
From this instruction:
Before populating the function:
After populating the function:
This is the only change I made to achieve that result:
I didn't want to make this a pull request because I don't know enough about Ghidra internals to know if this change will break something else.
I ran across a problem (?) with the special case for dsra32. When the function in data/languages/mips.sinc (line 251) is left with empty brackets API functions such as
getOperandRefType(x)
will return None when it should return an appropriate value. I copied the implementation above it (the non-special case for dsra32) and functionality worked as expected, for me anyway. Also, right-clicking and selecting "Instruction Info..." shows missing Input Objects and Results Objects.From this instruction:
Before populating the function:
After populating the function:
This is the only change I made to achieve that result:
I didn't want to make this a pull request because I don't know enough about Ghidra internals to know if this change will break something else.