From 27a74a557a802d7efa1dd5b6c2fd7a868d43861f Mon Sep 17 00:00:00 2001 From: blacktop Date: Sun, 8 Aug 2021 14:27:17 -0600 Subject: [PATCH] fix: add ShiftValue to goInstruction --- disassemble/disassemble.go | 1 + 1 file changed, 1 insertion(+) diff --git a/disassemble/disassemble.go b/disassemble/disassemble.go index 4c6ad53..f8663ea 100644 --- a/disassemble/disassemble.go +++ b/disassemble/disassemble.go @@ -617,6 +617,7 @@ func goInstruction(instr *C.Instruction) *Instruction { Immediate: uint64(op.immediate), ShiftType: shiftType(op.shiftType), ShiftValueUsed: bool(op.shiftValueUsed), + ShiftValue: uint32(op.shiftValue), Extend: shiftType(op.extend), SignedImm: bool(op.signedImm), PredQual: byte(op.pred_qual),