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.int
boolean
Determine if the call is a bad call, i.e.boolean
Determine if the call does not return, e.g.boolean
isStatic()
boolean
Methods 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, visitDepthPre
Methods 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:ICElement
Deep duplication of the element. Sub-elements are duplicated.Note:
ICClass
,ICMethod
,ICField
,ICIdentifier
,ICConstant
,ICType
andICLabel
are not duplicated.- Specified by:
duplicate
in interfaceICElement
- Specified by:
duplicate
in interfaceICExpression
- Specified by:
duplicate
in interfaceICStatement
-