Interface ICPredicate
- All Superinterfaces:
ICElement
,ICExpression
C AST predicate, wrapper for a C expression that can be evaluated to true or false.
-
Method Summary
Modifier and TypeMethodDescriptionDeep duplication of the element.Create a deep copy of this predicate (usingduplicate()
) and reverse it.boolean
boolean
void
Reverse this predicate.void
setExpression
(ICExpression expression) 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
-
Method Details
-
getExpression
ICExpression getExpression() -
setExpression
-
isLitteralTrue
boolean isLitteralTrue() -
isLitteralFalse
boolean isLitteralFalse() -
reverse
Reverse this predicate. This object is modified. If this object innerICExpression
is aICOperation
, the inner COperation is modified.- Parameters:
of
- mandatory C operator factory
-
duplicateAndReverse
Create a deep copy of this predicate (usingduplicate()
) and reverse it. This object is not modified.- Parameters:
of
- mandatory C operator factory
-
duplicate
ICPredicate 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
-