Package jadx.core.dex.instructions
Class InvokeCustomRawNode
java.lang.Object
jadx.core.dex.attributes.AttrNode
jadx.core.dex.attributes.nodes.LineAttrNode
jadx.core.dex.nodes.InsnNode
jadx.core.dex.instructions.BaseInvokeNode
jadx.core.dex.instructions.InvokeNode
jadx.core.dex.instructions.InvokeCustomRawNode
- All Implemented Interfaces:
IAttributeNode,ILineAttributeNode
Information for raw invoke-custom instruction.
Output will be formatted as polymorphic call with equivalent semantic Contains two parts: - resolve: treated as additional invoke insn (uses only constant args) - invoke: call of resolved method (base for this invoke)
See
Output will be formatted as polymorphic call with equivalent semantic Contains two parts: - resolve: treated as additional invoke insn (uses only constant args) - invoke: call of resolved method (base for this invoke)
See
CustomRawCall class for build details-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInvokeCustomRawNode(InvokeNode resolve, MethodInfo mthInfo, InsnData insn, boolean isRange) InvokeCustomRawNode(InvokeNode resolve, MethodInfo mthInfo, InvokeType invokeType, int argsCount) -
Method Summary
Modifier and TypeMethodDescriptioncopy()Make copy of InsnNode object.intReturn offset to match method args fromBaseInvokeNode.getCallMth()@Nullable InsnArgboolean'Soft' equals, don't compare arguments, only instruction specific parameters.booleanvoidsetCallSiteValues(List<EncodedValue> callSiteValues) toString()Methods inherited from class jadx.core.dex.instructions.InvokeNode
getCallMth, getInvokeType, isPolymorphicCallMethods inherited from class jadx.core.dex.nodes.InsnNode
addArg, addLit, addLit, addReg, addReg, appendArgs, appendAttributes, attachArg, attributesString, baseString, canRemoveResult, canReorder, canThrowException, containsArg, containsVar, containsWrappedInsn, copy, copyAttributesFrom, copyCommonParams, copyWithNewSsaVar, copyWithoutResult, copyWithoutSsa, duplicateArg, equals, getArg, getArgIndex, getArgList, getArgsCount, getArguments, getOffset, getRegisterArgs, getResult, getType, hashCode, inheritMetadata, isConstInsn, isDeepEquals, isExitEdgeInsn, rebindArgs, removeArg, removeArg, replaceArg, setArg, 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
-
resolve
-
callSiteValues
-
-
Constructor Details
-
InvokeCustomRawNode
-
InvokeCustomRawNode
public InvokeCustomRawNode(InvokeNode resolve, MethodInfo mthInfo, InvokeType invokeType, int argsCount)
-
-
Method Details
-
getResolveInvoke
-
setCallSiteValues
-
getCallSiteValues
-
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
- Overrides:
copyin classInvokeNode
-
isStaticCall
public boolean isStaticCall()- Overrides:
isStaticCallin classInvokeNode
-
getFirstArgOffset
public int getFirstArgOffset()Description copied from class:BaseInvokeNodeReturn offset to match method args fromBaseInvokeNode.getCallMth()- Overrides:
getFirstArgOffsetin classInvokeNode
-
getInstanceArg
- Overrides:
getInstanceArgin classInvokeNode
-
isSame
Description copied from class:InsnNode'Soft' equals, don't compare arguments, only instruction specific parameters.- Overrides:
isSamein classInvokeNode
-
toString
- Overrides:
toStringin classInvokeNode
-