mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
Merge remote-tracking branch 'origin/dragonmacher-npe-scalar-hover' into Ghidra_9.1
This commit is contained in:
commit
81db4a3e8e
1 changed files with 3 additions and 0 deletions
|
@ -100,6 +100,9 @@ public class ScalarOperandListingHover extends AbstractScalarOperandHover
|
|||
InstructionPrototype prototype = instruction.getPrototype();
|
||||
List<Object> list =
|
||||
prototype.getOpRepresentationList(opIndex, instruction.getInstructionContext());
|
||||
if (list == null) {
|
||||
return null;
|
||||
}
|
||||
return list.get(loc.getSubOperandIndex());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue