Package jadx.core.utils
Class InsnRemover
java.lang.Object
jadx.core.utils.InsnRemover
Helper class for correct instructions removing,
can be used while iterating over instructions list
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAndUnbind(InsnNode insn) voidaddWithoutUnbind(InsnNode insn) static voiddelistPhi(MethodNode mth, PhiInsn phiInsn) voidperform()voidperformForBlock(BlockNode block) static voidremove(MethodNode mth, @Nullable InsnNode insn) static voidremove(MethodNode mth, BlockNode block, int index) static voidremove(MethodNode mth, BlockNode block, InsnNode insn) private static voidstatic voidremoveAllAndUnbind(MethodNode mth, BlockNode block, List<InsnNode> insns) static voidremoveAllAndUnbind(MethodNode mth, IContainer container, List<InsnNode> insns) static voidremoveAllAndUnbind(MethodNode mth, List<InsnNode> insns) static voidstatic voidremoveAllWithoutUnbind(BlockNode block, List<InsnNode> insns) private static voidremoveSsaVar(MethodNode mth, SSAVar ssaVar) static booleanremoveWithoutUnbind(MethodNode mth, BlockNode block, InsnNode insn) voidstatic voidunbindAllArgs(@Nullable MethodNode mth, InsnNode insn) static voidunbindArgUsage(@Nullable MethodNode mth, InsnArg arg) static voidunbindInsn(@Nullable MethodNode mth, InsnNode insn) static voidunbindInsns(@Nullable MethodNode mth, List<InsnNode> insns) static voidunbindResult(@Nullable MethodNode mth, InsnNode insn)
-
Field Details
-
mth
-
toRemove
-
instrList
-
-
Constructor Details
-
InsnRemover
-
InsnRemover
-
-
Method Details
-
setBlock
-
addAndUnbind
-
addWithoutUnbind
-
perform
public void perform() -
performForBlock
-
unbindInsn
-
unbindInsns
-
unbindAllArgs
-
unbindResult
-
removeSsaVar
-
unbindArgUsage
-
removeAll
-
remove
-
remove
-
removeWithoutUnbind
-
removeAllAndUnbind
-
removeAllAndUnbind
-
removeAllAndUnbind
-
removeAllWithoutUnbind
-
removeAllMarked
-
remove
-
delistPhi
-