Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Ghidra/Features/Decompiler/src/decompile/cpp/ruleaction.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4951,8 +4951,7 @@ int4 RuleShiftAnd::applyOp(PcodeOp *op,Funcdata &data)
mask &= fullmask;
}
if ((mask & nzm) != nzm) return 0;
data.opSetOpcode(andop,CPUI_COPY); // AND effectively does nothing, so we change it to a copy
data.opRemoveInput(andop,1);
data.opSetInput(op, invn, 0); // Bypass the INT_AND
return 1;
}

Expand Down