Skip to content

Commit

Permalink
Update disassemblers/ofrak_ghidra/ofrak_ghidra/ghidra_scripts/GetInst…
Browse files Browse the repository at this point in the history
…ructions.java

Co-authored-by: Jacob Strieb <99368685+rbs-jacob@users.noreply.github.com>
  • Loading branch information
dannyp303 and rbs-jacob committed Sep 9, 2024
1 parent 3483936 commit 1761415
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ class ResultInstruction {
Register vle_register = instruction.getRegister("vle");
if (vle_register != null) {
BigInteger vle_val = instruction.getValue(vle_register, false);
if (vle_val != null){
this.instruction_mode = vle_val.equals(BigInteger.ONE) ? "VLE" : this.instruction_mode ;
if (vle_val != null && vle_val.equals(BigInteger.ONE)){
this.instruction_mode = "VLE";
}
}

Expand Down

0 comments on commit 1761415

Please sign in to comment.