Interface IDNewArrayInfo
- All Superinterfaces:
IDElement
,IDExpression
,IDInvokeInfo
,IInstructionOperand
dexdec
IR element holding new
array creation information.
Examples:
int[] ints = new int[3]; ^^^^^^^^^^ char[] chars = new char[]{'h', 'e', 'l', 'l', 'o'}; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
Field Summary
Fields inherited from interface com.pnfsoftware.jeb.core.units.code.android.ir.IDElement
DEFAULT_COMPARE_WITH_FULL_EQUALITY
-
Method Summary
Modifier and TypeMethodDescriptionboolean
A convenience method to quickly determine whether all sub-expressions of this IR areimmediates
.Duplicate this element.int
getInitialValue
(int index) getSize()
void
setInitialValue
(int index, IDExpression val) void
setInitialValues
(List<IDExpression> initvals) void
setSize
(IDExpression size) Methods inherited from interface com.pnfsoftware.jeb.core.units.code.android.ir.IDElement
equalsEx, format, toString, toString
Methods inherited from interface com.pnfsoftware.jeb.core.units.code.android.ir.IDExpression
asArrayElt, asCallInfo, asImm, asInstanceField, asInstruction, asNewArrayInfo, asNewInfo, asOperation, asReferenceType, asStaticField, asVar, canThrow, checkType, collectAllPhysicalMethodIndices, collectAllPhysicalOffsets, collectSubExpressions, collectVarIds, copy, countVariable, evaluate, evaluate, evaluate, find, findByType, findByType, findParent, findParent, generateAST, getCustomCanThrow, getData, getOrigin, getPhysicalMethodIndex, getPhysicalOffset, getSubExpressions, getType, getVarIds, hasSideEffects, isArrayElt, isCallInfo, isCallInfo, isCastOperation, isCastOperation, isConstantImm, isConstantImm, isImm, isInstanceField, isInstruction, isNewArrayInfo, isNewInfo, isOperation, isOperation, isOperation, isOperation, isOperation, isOperation, isOperation, isReferenceType, isStaticField, isStringImm, isVar, isVar, removeData, replaceSubExpression, replaceVariable, setCustomCanThrow, setData, setOrigin, setPhysicalMethodIndex, setPhysicalOffset, setType, setType, setType, spawn, transferMetadataFrom, updateAllPhysicalMethodIndices, updateAllPhysicalOffsets, updateTypes, visitDepthPost, visitDepthPost, visitDepthPost, visitDepthPre, visitDepthPre, visitDepthPre
Methods inherited from interface com.pnfsoftware.jeb.core.units.code.android.ir.IDInvokeInfo
getArguments
Methods inherited from interface com.pnfsoftware.jeb.core.units.code.IInstructionOperand
format
-
Method Details
-
getSize
IDExpression getSize() -
setSize
-
getCountOfInitialValues
int getCountOfInitialValues() -
getInitialValues
List<IDExpression> getInitialValues() -
getInitialValue
-
setInitialValues
-
setInitialValue
-
areSubExpsAllImms
boolean areSubExpsAllImms()A convenience method to quickly determine whether all sub-expressions of this IR areimmediates
.- Returns:
- true if all sub-expressions (as returned by
IDExpression.collectSubExpressions(List)
) are immediates
-
duplicate
IDNewArrayInfo duplicate()Description copied from interface:IDElement
Duplicate this element.- Specified by:
duplicate
in interfaceIDElement
- Specified by:
duplicate
in interfaceIDExpression
- Specified by:
duplicate
in interfaceIDInvokeInfo
- Returns:
- a deep copy of this element; the type of the duplicated element should be the same as this element's type
-