dsra32 Special Case
Opened this issue · 1 comments
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.
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.
Hey, I think you should make a PR regardless as it will be easier to review the change you're suggesting.