Interface ICCall
- All Superinterfaces:
ICElement,ICExpression,ICStatement
C AST interface to represent a routine call.
Example:
foo(0, 1, "bar")
-
Method Summary
Modifier and TypeMethodDescriptionDeep duplication of the element.intbooleanDetermine if the call is a bad call, i.e.booleanDetermine if the call does not return, e.g.booleanisStatic()booleanMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICElement
addPhysicalOffset, addPhysicalOffsets, evaluate, format, generate, getData, getElementType, getPhysicalOffset, getPhysicalOffsets, getSubElements, replaceSubElement, setData, setPhysicalOffsets, toString, visitDepthPost, visitDepthPost, visitDepthPost, visitDepthPre, visitDepthPre, visitDepthPreMethods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICStatement
getIntermediateOffset, setIntermediateOffset
-
Method Details
-
getMethodAddress
String getMethodAddress() -
getMethod
ICMethod getMethod() -
getCallsite
ICExpression getCallsite() -
getCandidateMethodAddresses
-
getCandidateMethods
-
isStatic
boolean isStatic() -
isSuperCall
boolean isSuperCall() -
isNonReturningCall
boolean isNonReturningCall()Determine if the call does not return, e.g. a call that eventually leads to program exit.- Returns:
-
isBadCall
boolean isBadCall()Determine if the call is a bad call, i.e. it is not returning where it should (that is, to the instruction that follows the call), although it does theoretically return somewhere.- Returns:
-
getArgumentCount
int getArgumentCount() -
getArguments
List<ICExpression> getArguments() -
duplicate
ICCall duplicate()Description copied from interface:ICElementDeep duplication of the element. Sub-elements are duplicated.Note:
ICClass,ICMethod,ICField,ICIdentifier,ICConstant,ICTypeandICLabelare not duplicated.- Specified by:
duplicatein interfaceICElement- Specified by:
duplicatein interfaceICExpression- Specified by:
duplicatein interfaceICStatement
-