Package software.amazon.lambda.snapstart
Class BuildRandomReturningMethodsDatabase
- java.lang.Object
-
- software.amazon.lambda.snapstart.BuildRandomReturningMethodsDatabase
-
- All Implemented Interfaces:
edu.umd.cs.findbugs.Detector,edu.umd.cs.findbugs.Priorities
public class BuildRandomReturningMethodsDatabase extends Object implements edu.umd.cs.findbugs.Detector
This class is a detector implementation which runs in the first pass of analysis. With a very simplistic assumption this identifies whether a method might return a pseudo-random value purely based on the fact that it calls a method that's already known to return a pseudo-random value. A better approach is doing proper dataflow analysis to understand whether the pseudo-random value makes it to the return instruction.
-
-
Constructor Summary
Constructors Constructor Description BuildRandomReturningMethodsDatabase(edu.umd.cs.findbugs.BugReporter reporter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreport()voidvisitClassContext(edu.umd.cs.findbugs.ba.ClassContext classContext)
-