Package jadx.core.dex.instructions
Class PhiInsn
java.lang.Object
jadx.core.dex.attributes.AttrNode
jadx.core.dex.attributes.nodes.LineAttrNode
jadx.core.dex.nodes.InsnNode
jadx.core.dex.instructions.PhiInsn
- All Implemented Interfaces:
IAttributeNode,ILineAttributeNode
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbindArg(RegisterArg arg, BlockNode pred) copy()Make copy of InsnNode object.@NotNull RegisterArggetArg(int n) @Nullable RegisterArggetArgByBlock(BlockNode block) @Nullable RegisterArggetArgByBlock(IBlock block) @Nullable RegisterArggetArgBySsaVar(SSAVar ssaVar) @Nullable BlockNodegetBlockByArg(RegisterArg arg) getBlockByArgIndex(int argIndex) removeArg(int index) booleanbooleanreplaceArg(InsnArg from, InsnArg to) Replace instruction arg with another using recursive search.voidtoString()Methods inherited from class jadx.core.dex.nodes.InsnNode
addLit, addLit, addReg, addReg, appendArgs, appendAttributes, attachArg, attributesString, baseString, canRemoveResult, canReorder, canThrowException, containsArg, containsVar, containsWrappedInsn, copy, copyAttributesFrom, copyCommonParams, copyWithNewSsaVar, copyWithoutResult, copyWithoutSsa, duplicateArg, equals, getArgIndex, getArgList, getArgsCount, getArguments, getOffset, getRegisterArgs, getResult, getType, hashCode, inheritMetadata, isConstInsn, isDeepEquals, isExitEdgeInsn, isSame, rebindArgs, setOffset, setResult, visitArgs, visitArgs, visitInsns, visitInsns, wrapArgMethods inherited from class jadx.core.dex.attributes.nodes.LineAttrNode
addSourceLineFrom, copyLines, getDefPosition, getSourceLine, setDefPosition, setSourceLineMethods inherited from class jadx.core.dex.attributes.AttrNode
add, addAttr, addAttr, addAttr, addAttrs, clearAttributes, contains, contains, copyAttributeFrom, copyAttributesFrom, get, getAll, getAnnotation, getAttributesString, getAttributesStringsList, isAttrStorageEmpty, remove, remove, removeAttr, rewriteAttributeFrom, unloadAttributes
-
Field Details
-
blockBinds
-
-
Constructor Details
-
PhiInsn
public PhiInsn(int regNum, int predecessors) -
PhiInsn
private PhiInsn(int argsCount)
-
-
Method Details
-
bindArg
-
bindArg
-
getBlockByArg
-
getBlockByArgIndex
-
getArg
-
getArgByBlock
-
removeArg
-
removeArg
-
getArgBySsaVar
-
getArgByBlock
-
replaceArg
Description copied from class:InsnNodeReplace instruction arg with another using recursive search.- Overrides:
replaceArgin classInsnNode
-
addArg
-
setArg
-
copy
Description copied from class:InsnNodeMake copy of InsnNode object.
NOTE: can't copy instruction with result argument (SSA variable can't be used in two different assigns).
Prefer use next methods:InsnNode.copyWithoutResult()to explicitly state that result not neededInsnNode.copy(RegisterArg)to provide new result argInsnNode.copyWithNewSsaVar(MethodNode)to make new SSA variable for result arg
-
toString
-