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 TypeMethodDescriptionbooleanA convenience method to quickly determine whether all sub-expressions of this IR areimmediates.Duplicate this element.intgetInitialValue(int index) getSize()voidsetInitialValue(int index, IDExpression val) voidsetInitialValues(List<IDExpression> initvals) voidsetSize(IDExpression size) Methods inherited from interface com.pnfsoftware.jeb.core.units.code.android.ir.IDElement
equalsEx, format, toString, toStringMethods 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, visitDepthPreMethods inherited from interface com.pnfsoftware.jeb.core.units.code.android.ir.IDInvokeInfo
getArgumentsMethods 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
#collectSubExpressions(List)) are immediates
-
duplicate
IDNewArrayInfo duplicate()Description copied from interface:IDElementDuplicate this element.- Specified by:
duplicatein interfaceIDElement- Specified by:
duplicatein interfaceIDExpression- Specified by:
duplicatein interfaceIDInvokeInfo- Returns:
- a deep copy of this element; the type of the duplicated element should be the same as this element's type
-