Uses of Class
edu.umd.cs.findbugs.ba.CFGBuilderException
Packages that use CFGBuilderException
Package
Description
Main package for the FindBugs application - contains the engine class
(
FindBugs), the object model classes for bug
instances (BugInstance,
BugAnnotation), and other miscellany.A bytecode analysis framework for BCEL, providing CFG construction, generic
dataflow analysis, and a variety of specific dataflow analyses.
-
Uses of CFGBuilderException in edu.umd.cs.findbugs
Methods in edu.umd.cs.findbugs that throw CFGBuilderExceptionModifier and TypeMethodDescriptionvoidResourceTrackingDetector.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.baModifier and TypeClassDescriptionclassUsed to signal a method not analyzed because it seemed unprofitable to do soMethods in edu.umd.cs.findbugs.ba that throw CFGBuilderExceptionModifier and TypeMethodDescriptionvoidBetterCFGBuilder2.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.ClassContext.getBlockTypeDataflow(org.apache.bcel.classfile.Method method) Get BlockType dataflow for given method.ClassContext.getCallListDataflow(org.apache.bcel.classfile.Method method) Get CallListDataflow for method.ClassContext.getCFG(org.apache.bcel.classfile.Method method) Get a CFG for given method.ClassContext.getCompactLocationNumbering(org.apache.bcel.classfile.Method method) Get a CompactLocationNumbering for a method.ClassContext.getConstantDataflow(org.apache.bcel.classfile.Method method) Get ConstantDataflow for method.ClassContext.getDepthFirstSearch(org.apache.bcel.classfile.Method method) Get a DepthFirstSearch for given method.ClassContext.getIsNullValueDataflow(org.apache.bcel.classfile.Method method) Get an IsNullValueDataflow for given method.ClassContext.getLiveLocalStoreDataflow(org.apache.bcel.classfile.Method method) Get LiveLocalStoreAnalysis dataflow for given method.ClassContext.getLoadDataflow(org.apache.bcel.classfile.Method method) Get load dataflow.ClassContext.getLockChecker(org.apache.bcel.classfile.Method method) Get LockChecker for method.ClassContext.getLockDataflow(org.apache.bcel.classfile.Method method) Get dataflow for LockAnalysis for given method.private <Analysis> AnalysisClassContext.getMethodAnalysis(Class<Analysis> analysisClass, org.apache.bcel.classfile.Method method) private <Analysis> AnalysisClassContext.getMethodAnalysisNoDataflowAnalysisException(Class<Analysis> analysisClass, org.apache.bcel.classfile.Method method) ClassContext.getNonExceptionDominatorsAnalysis(org.apache.bcel.classfile.Method method) Get DominatorsAnalysis for given method, where exception edges are ignored.ClassContext.getNonExceptionPostDominatorsAnalysis(org.apache.bcel.classfile.Method method) Get PostDominatorsAnalysis for given method, where exception edges are ignored.ClassContext.getNonImplicitExceptionDominatorsAnalysis(org.apache.bcel.classfile.Method method) Get DominatorsAnalysis for given method, where implicit exception edges are ignored.ClassContext.getNonImplicitExceptionPostDominatorsAnalysis(org.apache.bcel.classfile.Method method) Get PostDominatorsAnalysis for given method, where implicit exception edges are ignored.ClassContext.getReturnPathDataflow(org.apache.bcel.classfile.Method method) Get ReturnPathDataflow for method.ClassContext.getReturnPathTypeDataflow(org.apache.bcel.classfile.Method method) Get ReturnPathTypeDataflow for a method.ClassContext.getReverseDepthFirstSearch(org.apache.bcel.classfile.Method method) Get a ReverseDepthFirstSearch for given method.ClassContext.getStoreDataflow(org.apache.bcel.classfile.Method method) Get store dataflow.ClassContext.getTypeDataflow(org.apache.bcel.classfile.Method method) Get a TypeDataflow for given method.ClassContext.getUnconditionalValueDerefDataflow(org.apache.bcel.classfile.Method method) Get the UnconditionalValueDerefDataflow for a method.ClassContext.getUsagesRequiringNonNullValues(org.apache.bcel.classfile.Method method) Get a UsagesRequiringNonNullValues for given method.ClassContext.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 CFGBuilderExceptionModifierConstructorDescriptionPatternMatcher(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 CFGBuilderExceptionModifier and TypeMethodDescriptionprivate 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(Map<ValueNumber, NullValueUnconditionalDeref> nullValueGuaranteedDerefMap, HashSet<ValueNumber> npeIfStatementCovered, Map<ValueNumber, SortedSet<Location>> bugLocationMap, Map<ValueNumber, Set<Location>> nullValueAssignmentMap) -
Uses of CFGBuilderException in edu.umd.cs.findbugs.ba.vna
Methods in edu.umd.cs.findbugs.ba.vna that throw CFGBuilderExceptionModifier and TypeMethodDescriptionstatic 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 CFGBuilderExceptionModifier and TypeMethodDescriptionprivate 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, 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, PrintStream out) private voidFindNullDeref.examineCallSite(Location location, org.apache.bcel.generic.ConstantPoolGen cpg, TypeDataflow typeDataflow) private voidFindNullDeref.examineReturnInstruction(Location location) FindInconsistentSync2.findObviouslyLockedCallSites(ClassContext classContext, SelfCalls selfCalls) Find all self-call sites that are obviously locked.private BitSetFindNullDeref.findPreviouslyDeadBlocks()Find set of blocks which were known to be dead before doing the null pointer analysis.private BitSetNoiseNullDeref.findPreviouslyDeadBlocks()Find set of blocks which were known to be dead before doing the null pointer analysis.private Set<ValueNumber> FindBadCast2.getParameterValueNumbers(ClassContext classContext, org.apache.bcel.classfile.Method method, CFG cfg) FindUnreleasedLock.getResourceTracker(ClassContext classContext, org.apache.bcel.classfile.Method method) FindSqlInjection.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 CFGBuilderExceptionModifier and TypeMethodDescriptionprivate static LocationWarningPropertyUtil.pcToLocation(ClassContext classContext, org.apache.bcel.classfile.Method method, int pc) Get a Location matching the given PC value.