Uses of Class
org.sonar.java.se.ProgramState
-
-
Uses of ProgramState in org.sonar.java.bytecode.se
Methods in org.sonar.java.bytecode.se that return ProgramState Modifier and Type Method Description default ProgramStateBytecodeSECheck. checkPostStatement(CheckerDispatcher dispatcher, Instruction inst)ProgramStateBytecodeSECheck.ZeronessCheck. checkPostStatement(CheckerDispatcher dispatcher, Instruction inst)default ProgramStateBytecodeSECheck. checkPreStatement(CheckerDispatcher dispatcher, Instruction inst)ProgramStateBytecodeSECheck.NullnessCheck. checkPreStatement(CheckerDispatcher dispatcher, Instruction inst)ProgramStateCheckerDispatcher. getState()Methods in org.sonar.java.bytecode.se with parameters of type ProgramState Modifier and Type Method Description voidCheckerDispatcher. addExceptionalYield(SymbolicValue target, ProgramState exceptionalState, String exceptionFullyQualifiedName, SECheck check)voidCheckerDispatcher. addTransition(ProgramState state) -
Uses of ProgramState in org.sonar.java.se
Fields in org.sonar.java.se declared as ProgramState Modifier and Type Field Description static ProgramStateProgramState. EMPTY_STATEProgramStateExplodedGraph.Node. programStateProgramStateProgramState.Pop. stateMethods in org.sonar.java.se with parameters of type ProgramState Modifier and Type Method Description voidCheckerContext. addExceptionalYield(SymbolicValue target, ProgramState exceptionalState, String exceptionFullyQualifiedName, SECheck check)voidCheckerDispatcher. addExceptionalYield(SymbolicValue target, ProgramState exceptionalState, String exceptionFullyQualifiedName, SECheck check)voidExplodedGraphWalker. addExceptionalYield(SymbolicValue target, ProgramState exceptionalState, String exceptionFullyQualifiedName, SECheck check)voidCheckerContext. addTransition(ProgramState state)voidCheckerDispatcher. addTransition(ProgramState state)voidExplodedGraphWalker. enqueue(ProgramPoint programPoint, ProgramState programState)voidExplodedGraphWalker. enqueue(ProgramPoint newProgramPoint, ProgramState programState, boolean exitPath)voidExplodedGraphWalker. enqueue(ProgramPoint newProgramPoint, ProgramState programState, boolean exitPath, MethodYield methodYield)voidExplodedGraphWalker. enqueue(ProgramPoint programPoint, ProgramState programState, MethodYield methodYield)ExplodedGraph.NodeExplodedGraph. node(ProgramPoint programPoint, ProgramState programState)Returns node associated with given (programPoint,programState) pair.Constructors in org.sonar.java.se with parameters of type ProgramState Constructor Description Pop(ProgramState programState, List<ProgramState.SymbolicValueSymbol> result) -
Uses of ProgramState in org.sonar.java.se.checks
Fields in org.sonar.java.se.checks declared as ProgramState Modifier and Type Field Description protected ProgramStateCheckerTreeNodeVisitor. programStateMethods in org.sonar.java.se.checks that return ProgramState Modifier and Type Method Description ProgramStateCustomUnclosedResourcesCheck. checkPostStatement(CheckerContext context, Tree syntaxNode)ProgramStateDivisionByZeroCheck. checkPostStatement(CheckerContext context, Tree syntaxNode)ProgramStateLocksNotUnlockedCheck. checkPostStatement(CheckerContext context, Tree syntaxNode)ProgramStateMapComputeIfAbsentOrPresentCheck. checkPostStatement(CheckerContext context, Tree syntaxNode)ProgramStateMinMaxRangeCheck. checkPostStatement(CheckerContext context, Tree syntaxNode)ProgramStateNonNullSetToNullCheck. checkPostStatement(CheckerContext context, Tree syntaxNode)ProgramStateNullDereferenceCheck. checkPostStatement(CheckerContext context, Tree syntaxNode)ProgramStateObjectOutputStreamCheck. checkPostStatement(CheckerContext context, Tree syntaxNode)ProgramStateOptionalGetBeforeIsPresentCheck. checkPostStatement(CheckerContext context, Tree syntaxNode)ProgramStateRedundantAssignmentsCheck. checkPostStatement(CheckerContext context, Tree syntaxNode)ProgramStateSECheck. checkPostStatement(CheckerContext context, Tree syntaxNode)ProgramStateStreamConsumedCheck. checkPostStatement(CheckerContext context, Tree syntaxNode)ProgramStateUnclosedResourcesCheck. checkPostStatement(CheckerContext context, Tree syntaxNode)ProgramStateCustomUnclosedResourcesCheck. checkPreStatement(CheckerContext context, Tree syntaxNode)ProgramStateDivisionByZeroCheck. checkPreStatement(CheckerContext context, Tree syntaxNode)ProgramStateLocksNotUnlockedCheck. checkPreStatement(CheckerContext context, Tree syntaxNode)ProgramStateMapComputeIfAbsentOrPresentCheck. checkPreStatement(CheckerContext context, Tree syntaxNode)ProgramStateMinMaxRangeCheck. checkPreStatement(CheckerContext context, Tree syntaxNode)ProgramStateNonNullSetToNullCheck. checkPreStatement(CheckerContext context, Tree syntaxNode)ProgramStateNoWayOutLoopCheck. checkPreStatement(CheckerContext context, Tree syntaxNode)ProgramStateNullDereferenceCheck. checkPreStatement(CheckerContext context, Tree syntaxNode)ProgramStateObjectOutputStreamCheck. checkPreStatement(CheckerContext context, Tree syntaxNode)ProgramStateOptionalGetBeforeIsPresentCheck. checkPreStatement(CheckerContext context, Tree syntaxNode)ProgramStateParameterNullnessCheck. checkPreStatement(CheckerContext context, Tree syntaxNode)ProgramStateSECheck. checkPreStatement(CheckerContext context, Tree syntaxNode)ProgramStateStreamConsumedCheck. checkPreStatement(CheckerContext context, Tree syntaxNode)ProgramStateUnclosedResourcesCheck. checkPreStatement(CheckerContext context, Tree syntaxNode)Constructors in org.sonar.java.se.checks with parameters of type ProgramState Constructor Description CheckerTreeNodeVisitor(ProgramState programState) -
Uses of ProgramState in org.sonar.java.se.checks.debug
Methods in org.sonar.java.se.checks.debug that return ProgramState Modifier and Type Method Description ProgramStateDebugMethodYieldsOnInvocationsCheck. checkPreStatement(CheckerContext context, Tree syntaxNode) -
Uses of ProgramState in org.sonar.java.se.constraint
Methods in org.sonar.java.se.constraint that return types with arguments of type ProgramState Modifier and Type Method Description Pair<List<ProgramState>,List<ProgramState>>ConstraintManager. assumeDual(ProgramState programState)Pair<List<ProgramState>,List<ProgramState>>ConstraintManager. assumeDual(ProgramState programState)Methods in org.sonar.java.se.constraint with parameters of type ProgramState Modifier and Type Method Description Pair<List<ProgramState>,List<ProgramState>>ConstraintManager. assumeDual(ProgramState programState)booleanConstraintManager. isNull(ProgramState ps, SymbolicValue val) -
Uses of ProgramState in org.sonar.java.se.symbolicvalues
Methods in org.sonar.java.se.symbolicvalues that return ProgramState Modifier and Type Method Description ProgramStateSymbolicValue. setSingleConstraint(ProgramState programState, ObjectConstraint nullConstraint)Methods in org.sonar.java.se.symbolicvalues that return types with arguments of type ProgramState Modifier and Type Method Description List<ProgramState>RelationalSymbolicValue. setConstraint(ProgramState initialProgramState, BooleanConstraint booleanConstraint)protected List<ProgramState>RelationalSymbolicValue. setConstraint(ProgramState initialProgramState, Constraint constraint, Set<RelationalSymbolicValue> knownRelations)List<ProgramState>SymbolicValue.AndSymbolicValue. setConstraint(ProgramState programState, BooleanConstraint booleanConstraint)List<ProgramState>SymbolicValue.InstanceOfSymbolicValue. setConstraint(ProgramState programState, BooleanConstraint booleanConstraint)List<ProgramState>SymbolicValue.NotSymbolicValue. setConstraint(ProgramState programState, BooleanConstraint booleanConstraint)List<ProgramState>SymbolicValue.OrSymbolicValue. setConstraint(ProgramState programState, BooleanConstraint booleanConstraint)List<ProgramState>SymbolicValue. setConstraint(ProgramState programState, BooleanConstraint booleanConstraint)List<ProgramState>SymbolicValue. setConstraint(ProgramState programState, Constraint constraint)protected List<ProgramState>SymbolicValue. setConstraint(ProgramState state, Constraint constraint, Set<RelationalSymbolicValue> knownRelations)List<ProgramState>SymbolicValue. setConstraint(ProgramState programState, ObjectConstraint nullConstraint)List<ProgramState>SymbolicValue.XorSymbolicValue. setConstraint(ProgramState programState, BooleanConstraint booleanConstraint)Methods in org.sonar.java.se.symbolicvalues with parameters of type ProgramState Modifier and Type Method Description List<ProgramState>RelationalSymbolicValue. setConstraint(ProgramState initialProgramState, BooleanConstraint booleanConstraint)protected List<ProgramState>RelationalSymbolicValue. setConstraint(ProgramState initialProgramState, Constraint constraint, Set<RelationalSymbolicValue> knownRelations)List<ProgramState>SymbolicValue.AndSymbolicValue. setConstraint(ProgramState programState, BooleanConstraint booleanConstraint)List<ProgramState>SymbolicValue.InstanceOfSymbolicValue. setConstraint(ProgramState programState, BooleanConstraint booleanConstraint)List<ProgramState>SymbolicValue.NotSymbolicValue. setConstraint(ProgramState programState, BooleanConstraint booleanConstraint)List<ProgramState>SymbolicValue.OrSymbolicValue. setConstraint(ProgramState programState, BooleanConstraint booleanConstraint)List<ProgramState>SymbolicValue. setConstraint(ProgramState programState, BooleanConstraint booleanConstraint)List<ProgramState>SymbolicValue. setConstraint(ProgramState programState, Constraint constraint)protected List<ProgramState>SymbolicValue. setConstraint(ProgramState state, Constraint constraint, Set<RelationalSymbolicValue> knownRelations)List<ProgramState>SymbolicValue. setConstraint(ProgramState programState, ObjectConstraint nullConstraint)List<ProgramState>SymbolicValue.XorSymbolicValue. setConstraint(ProgramState programState, BooleanConstraint booleanConstraint)ProgramStateSymbolicValue. setSingleConstraint(ProgramState programState, ObjectConstraint nullConstraint)Method parameters in org.sonar.java.se.symbolicvalues with type arguments of type ProgramState Modifier and Type Method Description protected static voidSymbolicValue.BooleanExpressionSymbolicValue. addStates(List<ProgramState> states, List<ProgramState> newStates) -
Uses of ProgramState in org.sonar.java.se.xproc
Methods in org.sonar.java.se.xproc that return types with arguments of type ProgramState Modifier and Type Method Description Stream<ProgramState>MethodYield. parametersAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState)Stream<ProgramState>ExceptionalCheckBasedYield. statesAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState, Supplier<SymbolicValue> svSupplier)Stream<ProgramState>ExceptionalYield. statesAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState, Supplier<SymbolicValue> svSupplier)Stream<ProgramState>HappyPathYield. statesAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState, Supplier<SymbolicValue> svSupplier)abstract Stream<ProgramState>MethodYield. statesAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState, Supplier<SymbolicValue> svSupplier)Methods in org.sonar.java.se.xproc with parameters of type ProgramState Modifier and Type Method Description Stream<ProgramState>MethodYield. parametersAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState)Stream<ProgramState>ExceptionalCheckBasedYield. statesAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState, Supplier<SymbolicValue> svSupplier)Stream<ProgramState>ExceptionalYield. statesAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState, Supplier<SymbolicValue> svSupplier)Stream<ProgramState>HappyPathYield. statesAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState, Supplier<SymbolicValue> svSupplier)abstract Stream<ProgramState>MethodYield. statesAfterInvocation(List<SymbolicValue> invocationArguments, List<Type> invocationTypes, ProgramState programState, Supplier<SymbolicValue> svSupplier)
-