Package crypto.analysis.errors
Class IncompleteOperationError
- java.lang.Object
-
- crypto.analysis.errors.AbstractError
-
- crypto.analysis.errors.ErrorWithObjectAllocation
-
- crypto.analysis.errors.IncompleteOperationError
-
- All Implemented Interfaces:
IError
public class IncompleteOperationError extends ErrorWithObjectAllocation
This class defines-IncompleteOperationError: Found when the usage of an object may be incomplete For example a Cipher object may be initialized but never been used for encryption or decryption, this may render the code dead. This error heavily depends on the computed call graph (CHA by default)
-
-
Constructor Summary
Constructors Constructor Description IncompleteOperationError(boomerang.jimple.Statement errorLocation, boomerang.jimple.Val errorVariable, CrySLRule rule, IAnalysisSeed objectLocation, Collection<soot.SootMethod> expectedMethodsToBeCalled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ErrorVisitor visitor)booleanequals(Object obj)boomerang.jimple.ValgetErrorVariable()Collection<soot.SootMethod>getExpectedMethodCalls()inthashCode()StringtoErrorMarkerString()-
Methods inherited from class crypto.analysis.errors.ErrorWithObjectAllocation
getDataFlowPath, getObjectLocation, getObjectType
-
Methods inherited from class crypto.analysis.errors.AbstractError
addCausingError, addCausingError, addSubsequentError, getErrorLocation, getRootErrors, getRule, getSubsequentErrors, toString
-
-
-
-
Constructor Detail
-
IncompleteOperationError
public IncompleteOperationError(boomerang.jimple.Statement errorLocation, boomerang.jimple.Val errorVariable, CrySLRule rule, IAnalysisSeed objectLocation, Collection<soot.SootMethod> expectedMethodsToBeCalled)
-
-
Method Detail
-
getErrorVariable
public boomerang.jimple.Val getErrorVariable()
-
getExpectedMethodCalls
public Collection<soot.SootMethod> getExpectedMethodCalls()
-
accept
public void accept(ErrorVisitor visitor)
-
toErrorMarkerString
public String toErrorMarkerString()
- Specified by:
toErrorMarkerStringin classAbstractError
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractError
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classAbstractError
-
-