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.booleanbooleanvoidReverse this predicate.voidsetExpression(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 innerICExpressionis 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: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
-