Uses of Class
edu.umd.cs.findbugs.ba.Edge
-
Packages that use Edge Package Description edu.umd.cs.findbugs Main package for the FindBugs application - contains the engine class (FindBugs), the object model classes for bug instances (BugInstance,BugAnnotation), and other miscellany.edu.umd.cs.findbugs.ba A bytecode analysis framework for BCEL, providing CFG construction, generic dataflow analysis, and a variety of specific dataflow analyses.edu.umd.cs.findbugs.ba.bcp edu.umd.cs.findbugs.ba.ca edu.umd.cs.findbugs.ba.constant edu.umd.cs.findbugs.ba.deref edu.umd.cs.findbugs.ba.heap edu.umd.cs.findbugs.ba.jsr305 Support for analyzing code containing JSR-305 type qualifier annotations.edu.umd.cs.findbugs.ba.npe edu.umd.cs.findbugs.ba.obl Implementation of dataflow analysis for checking whether obligations to close streams and other resources (e.g., database objects) are satisfied.edu.umd.cs.findbugs.ba.type edu.umd.cs.findbugs.ba.vna edu.umd.cs.findbugs.classfile.engine.bcel Support for analyses based on the BCEL bytecode framework.edu.umd.cs.findbugs.detect -
-
Uses of Edge in edu.umd.cs.findbugs
Fields in edu.umd.cs.findbugs with type parameters of type Edge Modifier and Type Field Description private java.util.Iterator<Edge>InstructionScannerDriver. edgeIterMethods in edu.umd.cs.findbugs with parameters of type Edge Modifier and Type Method Description voidInstructionScanner. traverseEdge(Edge edge)Traverse an edge.Constructor parameters in edu.umd.cs.findbugs with type arguments of type Edge Constructor Description InstructionScannerDriver(java.util.Iterator<Edge> edgeIter)Constructor. -
Uses of Edge in edu.umd.cs.findbugs.ba
Fields in edu.umd.cs.findbugs.ba declared as Edge Modifier and Type Field Description private EdgePruneInfeasibleExceptionEdges.MarkedEdge. edgeFields in edu.umd.cs.findbugs.ba with type parameters of type Edge Modifier and Type Field Description private java.util.List<java.util.List<Edge>>SimplePathEnumerator. pathListprivate java.util.List<Edge>CFG. removedEdgeListMethods in edu.umd.cs.findbugs.ba that return Edge Modifier and Type Method Description protected EdgeCFG. allocateEdge(BasicBlock source, BasicBlock target)EdgeCFG. createEdge(BasicBlock source, BasicBlock dest, int type)Add a unique edge to the graph.private EdgeCFG. getEdgeWithType(java.util.Iterator<Edge> iter, int edgeType)EdgeCFG. getIncomingEdgeWithType(BasicBlock basicBlock, int edgeType)Get the first incoming edge in basic block with given type.EdgeCFG. getOutgoingEdgeWithType(BasicBlock basicBlock, int edgeType)Get the first outgoing edge in basic block with given type.EdgeCFG. lookupEdgeById(int id)Look up an Edge by its id.Methods in edu.umd.cs.findbugs.ba that return types with arguments of type Edge Modifier and Type Method Description java.util.Iterator<java.util.List<Edge>>SimplePathEnumerator. iterator()Iterate over simple paths.private java.util.Iterator<Edge>Dataflow. logicalPredecessorEdgeIterator(BasicBlock block)Return an Iterator over edges that connect given block to its logical predecessors.java.util.Iterator<Edge>CFG. removedEdgeIterator()Get an Iterator over Edges removed from this CFG.Methods in edu.umd.cs.findbugs.ba with parameters of type Edge Modifier and Type Method Description booleanEdgeChooser. choose(Edge edge)Return whether or not given Edge should be chosen.intEdge. compareTo(Edge other)Compare with other edge.private static voidDataflow. debug(BasicBlock bb, BasicBlock pred, Edge edge, java.lang.String msg)java.lang.StringCFGPrinter. edgeAnnotate(Edge edge)java.lang.StringDataflowCFGPrinter. edgeAnnotate(Edge edge)java.lang.StringDFSCFGPrinter. edgeAnnotate(Edge edge)voidBasicAbstractDataflowAnalysis. edgeTransfer(Edge edge, Fact fact)voidDataflowAnalysis. edgeTransfer(Edge edge, Fact fact)Edge transfer function.LocationCFG. getExceptionThrowerLocation(Edge exceptionEdge)Get the Location where exception(s) thrown on given exception edge are thrown.FactAbstractDataflow. getFactOnEdge(Edge edge)Get the fact that is true on the given control edge.FactBasicAbstractDataflowAnalysis. getFactOnEdge(Edge edge)Get the fact that is true on the given control edge, after applying the edge transfer function (if any).FactDataflow. getFactOnEdge(Edge edge)Get the fact that is true on the given control edge.FactDataflowAnalysis. getFactOnEdge(Edge edge)Get the fact that is true on the given control edge.booleanResourceTracker. ignoreExceptionEdge(Edge edge, Resource resource, org.apache.bcel.generic.ConstantPoolGen cpg)Determine whether the analysis should ignore given exception edge.voidAbstractDominatorsAnalysis. meetInto(java.util.BitSet fact, Edge edge, java.util.BitSet result)voidBlockTypeAnalysis. meetInto(BlockType fact, Edge edge, BlockType result)voidDataflowAnalysis. meetInto(Fact fact, Edge edge, Fact result)Meet a dataflow fact associated with an incoming edge into another fact.voidLiveLocalStoreAnalysis. meetInto(java.util.BitSet fact, Edge edge, java.util.BitSet result)voidLockAnalysis. meetInto(LockSet fact, Edge edge, LockSet result)voidResourceValueAnalysis. meetInto(ResourceValueFrame fact, Edge edge, ResourceValueFrame result)voidReturnPathAnalysis. meetInto(ReturnPath fact, Edge edge, ReturnPath result)voidStackDepthAnalysis. meetInto(StackDepth fact, Edge edge, StackDepth result)voidCFG. removeEdge(Edge edge)voidPathVisitor. visitEdge(Edge edge)Visit an Edge connecting two BasicBlocks in the Path being visited.Method parameters in edu.umd.cs.findbugs.ba with type arguments of type Edge Modifier and Type Method Description private EdgeCFG. getEdgeWithType(java.util.Iterator<Edge> iter, int edgeType)private voidSimplePathEnumerator. work(java.util.LinkedList<Edge> partialPath)Constructors in edu.umd.cs.findbugs.ba with parameters of type Edge Constructor Description MarkedEdge(Edge edge, int flag) -
Uses of Edge in edu.umd.cs.findbugs.ba.bcp
Methods in edu.umd.cs.findbugs.ba.bcp with parameters of type Edge Modifier and Type Method Description booleanIfNull. acceptBranch(Edge edge, org.apache.bcel.generic.InstructionHandle source)booleanInvoke. acceptBranch(Edge edge, org.apache.bcel.generic.InstructionHandle source)booleanMatchAny. acceptBranch(Edge edge, org.apache.bcel.generic.InstructionHandle source)booleanOpcode. acceptBranch(Edge edge, org.apache.bcel.generic.InstructionHandle source)abstract booleanPatternElement. acceptBranch(Edge edge, org.apache.bcel.generic.InstructionHandle source)Return whether or not it is acceptable to take the given branch.booleanSingleInstruction. acceptBranch(Edge edge, org.apache.bcel.generic.InstructionHandle source)booleanWild. acceptBranch(Edge edge, org.apache.bcel.generic.InstructionHandle source)PatternMatcher.StatePatternMatcher.State. advanceToSuccessor(Edge edge, MatchResult matchResult)Return a new State for continuing the overall pattern match in a successor basic block. -
Uses of Edge in edu.umd.cs.findbugs.ba.ca
Methods in edu.umd.cs.findbugs.ba.ca with parameters of type Edge Modifier and Type Method Description voidCallListAnalysis. meetInto(CallList start, Edge edge, CallList result) -
Uses of Edge in edu.umd.cs.findbugs.ba.constant
Methods in edu.umd.cs.findbugs.ba.constant with parameters of type Edge Modifier and Type Method Description voidConstantAnalysis. meetInto(ConstantFrame fact, Edge edge, ConstantFrame result) -
Uses of Edge in edu.umd.cs.findbugs.ba.deref
Methods in edu.umd.cs.findbugs.ba.deref with parameters of type Edge Modifier and Type Method Description private ValueNumberUnconditionalValueDerefAnalysis. findValueKnownNonnullOnBranch(UnconditionalValueDerefSet fact, Edge edge)Clear deref sets of values if this edge is the non-null branch of an if comparison.private booleanUnconditionalValueDerefAnalysis. isExceptionEdge(Edge edge)Determine whether dataflow should be propagated on given edge.voidUnconditionalValueDerefAnalysis. meetInto(UnconditionalValueDerefSet fact, Edge edge, UnconditionalValueDerefSet result)voidUnconditionalValueDerefAnalysis. meetInto(UnconditionalValueDerefSet fact, Edge edge, UnconditionalValueDerefSet result, boolean onlyEdge)private UnconditionalValueDerefSetUnconditionalValueDerefAnalysis. propagateDerefSetsToMergeInputValues(UnconditionalValueDerefSet fact, Edge edge)Find out if any VNs in the source block contribute to unconditionally dereferenced VNs in the target block. -
Uses of Edge in edu.umd.cs.findbugs.ba.heap
Methods in edu.umd.cs.findbugs.ba.heap with parameters of type Edge Modifier and Type Method Description voidFieldSetAnalysis. meetInto(FieldSet fact, Edge edge, FieldSet result) -
Uses of Edge in edu.umd.cs.findbugs.ba.jsr305
Methods in edu.umd.cs.findbugs.ba.jsr305 with parameters of type Edge Modifier and Type Method Description voidBackwardTypeQualifierDataflowAnalysis. edgeTransfer(Edge edge, TypeQualifierValueSet fact)voidTypeQualifierDataflowAnalysis. edgeTransfer(Edge edge, TypeQualifierValueSet fact)voidTypeQualifierDataflowAnalysis. meetInto(TypeQualifierValueSet fact, Edge edge, TypeQualifierValueSet result) -
Uses of Edge in edu.umd.cs.findbugs.ba.npe
Fields in edu.umd.cs.findbugs.ba.npe declared as Edge Modifier and Type Field Description EdgeRedundantBranch. infeasibleEdgeMethods in edu.umd.cs.findbugs.ba.npe with parameters of type Edge Modifier and Type Method Description voidReturnPathTypeAnalysis. edgeTransfer(Edge edge, ReturnPathType fact)IsNullValueFrameIsNullValueAnalysis. getFactAtMidEdge(Edge edge)IsNullValueFrameIsNullValueDataflow. getFactAtMidEdge(Edge edge)voidIsNullValueAnalysis. meetInto(IsNullValueFrame fact, Edge edge, IsNullValueFrame result)voidIsNullValueAnalysis. meetInto(IsNullValueFrame fact, Edge edge, IsNullValueFrame result, boolean propagatePhiNodeInformation)voidReturnPathTypeAnalysis. meetInto(ReturnPathType fact, Edge edge, ReturnPathType result)voidRedundantBranch. setInfeasibleEdge(Edge infeasibleEdge)Set the edge which has been determined to be infeasible. -
Uses of Edge in edu.umd.cs.findbugs.ba.obl
Methods in edu.umd.cs.findbugs.ba.obl with parameters of type Edge Modifier and Type Method Description private org.apache.bcel.generic.TypeObligationAnalysis. acmpNullCheck(short opcode, Edge edge, org.apache.bcel.generic.InstructionHandle last, BasicBlock sourceBlock)private ObligationObligationAnalysis. comparesObligationTypeToNull(Edge edge)voidObligationAnalysis. edgeTransfer(Edge edge, StateSet fact)private booleanObligationAnalysis. isPossibleIfComparison(Edge edge)voidObligationAnalysis. meetInto(StateSet fact, Edge edge, StateSet result)private org.apache.bcel.generic.TypeObligationAnalysis. nullCheck(short opcode, Edge edge, org.apache.bcel.generic.InstructionHandle last, BasicBlock sourceBlock) -
Uses of Edge in edu.umd.cs.findbugs.ba.type
Fields in edu.umd.cs.findbugs.ba.type with type parameters of type Edge Modifier and Type Field Description private java.util.Map<Edge,ExceptionSet>TypeAnalysis.CachedExceptionSet. edgeExceptionMapMethods in edu.umd.cs.findbugs.ba.type with parameters of type Edge Modifier and Type Method Description private ExceptionSetTypeAnalysis. computeEdgeExceptionSet(Edge edge, ExceptionSet thrownExceptionSet)Based on the set of exceptions that can be thrown from the source basic block, compute the set of exceptions that can propagate along given exception edge.ExceptionSetTypeAnalysis.CachedExceptionSet. getEdgeExceptionSet(Edge edge)ExceptionSetTypeAnalysis. getEdgeExceptionSet(Edge edge)Get the set of exceptions that can be thrown on given edge.ExceptionSetTypeDataflow. getEdgeExceptionSet(Edge edge)private TypeFrameTypeAnalysis. handleInstanceOfBranch(TypeFrame fact, TypeFrame tmpFact, Edge edge)voidTypeAnalysis. meetInto(TypeFrame fact, Edge edge, TypeFrame result)voidTypeAnalysis.CachedExceptionSet. setEdgeExceptionSet(Edge edge, ExceptionSet exceptionSet) -
Uses of Edge in edu.umd.cs.findbugs.ba.vna
Methods in edu.umd.cs.findbugs.ba.vna with parameters of type Edge Modifier and Type Method Description voidValueNumberAnalysis. meetInto(ValueNumberFrame fact, Edge edge, ValueNumberFrame result) -
Uses of Edge in edu.umd.cs.findbugs.classfile.engine.bcel
Fields in edu.umd.cs.findbugs.classfile.engine.bcel with type parameters of type Edge Modifier and Type Field Description (package private) java.util.Map<Edge,ValueRangeAnalysisFactory.Branch>ValueRangeAnalysisFactory.VariableData. edgesMethods in edu.umd.cs.findbugs.classfile.engine.bcel that return types with arguments of type Edge Modifier and Type Method Description java.util.List<Edge>FinallyDuplicatesInfoFactory.FinallyDuplicatesInfo. getDuplicates(CFG cfg, Edge edge)Methods in edu.umd.cs.findbugs.classfile.engine.bcel with parameters of type Edge Modifier and Type Method Description voidValueRangeAnalysisFactory.VariableData. addBranch(Edge edge, ValueRangeAnalysisFactory.Branch branch)java.util.List<Edge>FinallyDuplicatesInfoFactory.FinallyDuplicatesInfo. getDuplicates(CFG cfg, Edge edge)Method parameters in edu.umd.cs.findbugs.classfile.engine.bcel with type arguments of type Edge Modifier and Type Method Description private static voidValueRangeAnalysisFactory. walkCFG(CFG cfg, ValueRangeAnalysisFactory.LongRangeSet subRange, java.util.Map<Edge,ValueRangeAnalysisFactory.Branch> edges, java.util.BitSet reachedBlocks) -
Uses of Edge in edu.umd.cs.findbugs.detect
Methods in edu.umd.cs.findbugs.detect with parameters of type Edge Modifier and Type Method Description private LocationCheckTypeQualifiers. getEdgeSourceLocation(CFG cfg, Edge edge)private LocationCheckTypeQualifiers. getEdgeTargetLocation(CFG cfg, Edge edge)booleanFindUnreleasedLock.LockResourceTracker. ignoreExceptionEdge(Edge edge, Lock resource, org.apache.bcel.generic.ConstantPoolGen cpg)booleanStreamResourceTracker. ignoreExceptionEdge(Edge edge, Stream resource, org.apache.bcel.generic.ConstantPoolGen cpg)voidFindUnsatisfiedObligation.MethodChecker.PostProcessingPathVisitor. visitEdge(Edge edge)
-