Uses of Class
edu.umd.cs.findbugs.ba.CFGBuilderException
-
Packages that use CFGBuilderException 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.npe edu.umd.cs.findbugs.ba.vna edu.umd.cs.findbugs.detect edu.umd.cs.findbugs.props -
-
Uses of CFGBuilderException in edu.umd.cs.findbugs
Methods in edu.umd.cs.findbugs that throw CFGBuilderException Modifier and Type Method Description voidResourceTrackingDetector. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method, ResourceTrackerType resourceTracker, ResourceCollection<Resource> resourceCollection)private ResourceCollection<Resource>ResourceTrackingDetector. buildResourceCollection(ClassContext classContext, org.apache.bcel.classfile.Method method, ResourceTrackerType resourceTracker)voidSelfCalls. execute()Find the self calls.abstract ResourceTrackerTypeResourceTrackingDetector. getResourceTracker(ClassContext classContext, org.apache.bcel.classfile.Method method)private booleanResourceTrackingDetector. mightCloseResource(ClassContext classContext, org.apache.bcel.classfile.Method method, ResourceTrackerType resourceTracker)abstract voidByteCodePatternDetector. reportMatch(ClassContext classContext, org.apache.bcel.classfile.Method method, ByteCodePatternMatch match)Called to report an instance of the ByteCodePattern.private voidSelfCalls. scan(CallGraphNode node)Scan a method for self call sites. -
Uses of CFGBuilderException in edu.umd.cs.findbugs.ba
Subclasses of CFGBuilderException in edu.umd.cs.findbugs.ba Modifier and Type Class Description classMethodUnprofitableExceptionUsed to signal a method not analyzed because it seemed unprofitable to do soMethods in edu.umd.cs.findbugs.ba that throw CFGBuilderException Modifier and Type Method Description voidBetterCFGBuilder2.Subroutine. addInstruction(org.apache.bcel.generic.InstructionHandle handle)Add an instruction to the subroutine.voidBetterCFGBuilder2. build()private voidBetterCFGBuilder2. build(BetterCFGBuilder2.Subroutine subroutine)Build a subroutine.voidCFGBuilder. build()Build the CFG.voidBetterCFGBuilder2.Context. checkForRecursion()Check to ensure that this context is not the result of recursion.BlockTypeDataflowClassContext. getBlockTypeDataflow(org.apache.bcel.classfile.Method method)Get BlockType dataflow for given method.CallListDataflowClassContext. getCallListDataflow(org.apache.bcel.classfile.Method method)Get CallListDataflow for method.CFGClassContext. getCFG(org.apache.bcel.classfile.Method method)Get a CFG for given method.CompactLocationNumberingClassContext. getCompactLocationNumbering(org.apache.bcel.classfile.Method method)Get a CompactLocationNumbering for a method.ConstantDataflowClassContext. getConstantDataflow(org.apache.bcel.classfile.Method method)Get ConstantDataflow for method.DepthFirstSearchClassContext. getDepthFirstSearch(org.apache.bcel.classfile.Method method)Get a DepthFirstSearch for given method.IsNullValueDataflowClassContext. getIsNullValueDataflow(org.apache.bcel.classfile.Method method)Get an IsNullValueDataflow for given method.LiveLocalStoreDataflowClassContext. getLiveLocalStoreDataflow(org.apache.bcel.classfile.Method method)Get LiveLocalStoreAnalysis dataflow for given method.LoadDataflowClassContext. getLoadDataflow(org.apache.bcel.classfile.Method method)Get load dataflow.LockCheckerClassContext. getLockChecker(org.apache.bcel.classfile.Method method)Get LockChecker for method.LockDataflowClassContext. getLockDataflow(org.apache.bcel.classfile.Method method)Get dataflow for LockAnalysis for given method.private <Analysis> AnalysisClassContext. getMethodAnalysis(java.lang.Class<Analysis> analysisClass, org.apache.bcel.classfile.Method method)private <Analysis> AnalysisClassContext. getMethodAnalysisNoDataflowAnalysisException(java.lang.Class<Analysis> analysisClass, org.apache.bcel.classfile.Method method)DominatorsAnalysisClassContext. getNonExceptionDominatorsAnalysis(org.apache.bcel.classfile.Method method)Get DominatorsAnalysis for given method, where exception edges are ignored.PostDominatorsAnalysisClassContext. getNonExceptionPostDominatorsAnalysis(org.apache.bcel.classfile.Method method)Get PostDominatorsAnalysis for given method, where exception edges are ignored.DominatorsAnalysisClassContext. getNonImplicitExceptionDominatorsAnalysis(org.apache.bcel.classfile.Method method)Get DominatorsAnalysis for given method, where implicit exception edges are ignored.PostDominatorsAnalysisClassContext. getNonImplicitExceptionPostDominatorsAnalysis(org.apache.bcel.classfile.Method method)Get PostDominatorsAnalysis for given method, where implicit exception edges are ignored.ReturnPathDataflowClassContext. getReturnPathDataflow(org.apache.bcel.classfile.Method method)Get ReturnPathDataflow for method.ReturnPathTypeDataflowClassContext. getReturnPathTypeDataflow(org.apache.bcel.classfile.Method method)Get ReturnPathTypeDataflow for a method.ReverseDepthFirstSearchClassContext. getReverseDepthFirstSearch(org.apache.bcel.classfile.Method method)Get a ReverseDepthFirstSearch for given method.StoreDataflowClassContext. getStoreDataflow(org.apache.bcel.classfile.Method method)Get store dataflow.TypeDataflowClassContext. getTypeDataflow(org.apache.bcel.classfile.Method method)Get a TypeDataflow for given method.UnconditionalValueDerefDataflowClassContext. getUnconditionalValueDerefDataflow(org.apache.bcel.classfile.Method method)Get the UnconditionalValueDerefDataflow for a method.UsagesRequiringNonNullValuesClassContext. getUsagesRequiringNonNullValues(org.apache.bcel.classfile.Method method)Get a UsagesRequiringNonNullValues for given method.ValueNumberDataflowClassContext. getValueNumberDataflow(org.apache.bcel.classfile.Method method)Get a ValueNumberDataflow for given method.voidBetterCFGBuilder2. inline(BetterCFGBuilder2.Context context)Inline a subroutine into a calling context.private CFGBetterCFGBuilder2. inlineAll()Inline all JSR subroutines into the top-level subroutine.private booleanBetterCFGBuilder2. isPEI(org.apache.bcel.generic.InstructionHandle handle)Return whether or not the given instruction can throw exceptions. -
Uses of CFGBuilderException in edu.umd.cs.findbugs.ba.bcp
Constructors in edu.umd.cs.findbugs.ba.bcp that throw CFGBuilderException Constructor Description PatternMatcher(ByteCodePattern pattern, ClassContext classContext, org.apache.bcel.classfile.Method method)Constructor. -
Uses of CFGBuilderException in edu.umd.cs.findbugs.ba.npe
Methods in edu.umd.cs.findbugs.ba.npe that throw CFGBuilderException Modifier and Type Method Description private voidNullDerefAndRedundantComparisonFinder. analyzeNullCheck(IsNullValueDataflow invDataflow, BasicBlock basicBlock)private voidNullDerefAndRedundantComparisonFinder. examineBasicBlocks()Examine basic blocks for null checks and potentially-redundant null comparisons.private voidNullDerefAndRedundantComparisonFinder. examineNullValues()Examine null values.voidNullDerefAndRedundantComparisonFinder. reportBugs(java.util.Map<ValueNumber,NullValueUnconditionalDeref> nullValueGuaranteedDerefMap, java.util.HashSet<ValueNumber> npeIfStatementCovered, java.util.Map<ValueNumber,java.util.SortedSet<Location>> bugLocationMap, java.util.Map<ValueNumber,java.util.Set<Location>> nullValueAssignmentMap) -
Uses of CFGBuilderException in edu.umd.cs.findbugs.ba.vna
Methods in edu.umd.cs.findbugs.ba.vna that throw CFGBuilderException Modifier and Type Method Description static BugAnnotationValueNumberSourceInfo. getFromValueNumber(ClassContext classContext, org.apache.bcel.classfile.Method method, Location location, int stackPos) -
Uses of CFGBuilderException in edu.umd.cs.findbugs.detect
Methods in edu.umd.cs.findbugs.detect that throw CFGBuilderException Modifier and Type Method Description private voidCallToUnconditionalThrower. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidCallToUnsupportedMethod. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidCheckCalls. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidDontIgnoreResultOfPutIfAbsent. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidDumbMethodInvocations. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidFindBadCast2. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidFindDeadLocalStores. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidFindInconsistentSync2. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method, java.util.Set<org.apache.bcel.classfile.Method> lockedMethodSet)private voidFindMismatchedWaitOrNotify. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidFindNonSerializableStoreIntoSession. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidFindNonSerializableValuePassedToWriteObject. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidFindNullDeref. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)voidFindOpenStream. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method, StreamResourceTracker resourceTracker, ResourceCollection<Stream> resourceCollection)private voidFindRefComparison. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidFindSelfComparison2. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidFindSleepWithLockHeld. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidFindSqlInjection. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidFindTwoLockWait. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidFindUnrelatedTypesInGenericContainer. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidFindUseOfNonSerializableValue. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidLoadOfKnownNullValue. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidNoiseNullDeref. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidTrainFieldStoreTypes. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method)private voidViewCFG. analyzeMethod(ClassContext classContext, org.apache.bcel.classfile.Method method, java.io.PrintStream out)private voidFindNullDeref. examineCallSite(Location location, org.apache.bcel.generic.ConstantPoolGen cpg, TypeDataflow typeDataflow)private voidFindNullDeref. examineReturnInstruction(Location location)private static java.util.Set<CallSite>FindInconsistentSync2. findObviouslyLockedCallSites(ClassContext classContext, SelfCalls selfCalls)Find all self-call sites that are obviously locked.private java.util.BitSetFindNullDeref. findPreviouslyDeadBlocks()Find set of blocks which were known to be dead before doing the null pointer analysis.private java.util.BitSetNoiseNullDeref. findPreviouslyDeadBlocks()Find set of blocks which were known to be dead before doing the null pointer analysis.private java.util.Set<ValueNumber>FindBadCast2. getParameterValueNumbers(ClassContext classContext, org.apache.bcel.classfile.Method method, CFG cfg)FindUnreleasedLock.LockResourceTrackerFindUnreleasedLock. getResourceTracker(ClassContext classContext, org.apache.bcel.classfile.Method method)private FindSqlInjection.StringAppendStateFindSqlInjection. getStringAppendState(ClassContext ctx, CFG cfg, org.apache.bcel.generic.ConstantPoolGen cpg)private booleanFindSqlInjection. isSafeValue(Location location, org.apache.bcel.generic.ConstantPoolGen cpg)voidLazyInit. reportMatch(ClassContext classContext, org.apache.bcel.classfile.Method method, ByteCodePatternMatch match) -
Uses of CFGBuilderException in edu.umd.cs.findbugs.props
Methods in edu.umd.cs.findbugs.props that throw CFGBuilderException Modifier and Type Method Description private static LocationWarningPropertyUtil. pcToLocation(ClassContext classContext, org.apache.bcel.classfile.Method method, int pc)Get a Location matching the given PC value.
-