From 45078b784876281f4f58f821174de12e4537f3ba Mon Sep 17 00:00:00 2001 From: Carl Reinke Date: Sat, 14 Sep 2019 13:30:44 -0600 Subject: [PATCH] Link to OperandType in documentation getOperandType(int) returns int, so it's not otherwise clear how to interpret the result. --- .../src/main/java/ghidra/program/model/listing/Instruction.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/listing/Instruction.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/listing/Instruction.java index 2301430e11..83ccfba568 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/listing/Instruction.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/listing/Instruction.java @@ -100,6 +100,8 @@ public interface Instruction extends CodeUnit, ProcessorContext { * * @param opIndex the index of the operand. (zero based) * @return the type of the operand. + * + * @see OperandType */ public int getOperandType(int opIndex);