Package crypto.reporting
Class SARIFHelper
- java.lang.Object
-
- crypto.reporting.SARIFHelper
-
public class SARIFHelper extends Object
-
-
Constructor Summary
Constructors Constructor Description SARIFHelper()SARIFHelper(SourceCodeLocater sourceLocater)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFileName(soot.SootClass c)org.json.simple.JSONArraygetLocations(soot.SootClass c, String methodName, int lineNumber, String method, String statement)org.json.simple.JSONObjectgetMessage(String text, String richText)StringgetRuleDescription(String ruleId)org.json.simple.JSONObjectgetStatisticsInfo(ReportStatistics statistics)org.json.simple.JSONObjectgetToolInfo()org.json.simple.JSONObjectinitialJson()
-
-
-
Constructor Detail
-
SARIFHelper
public SARIFHelper()
-
SARIFHelper
public SARIFHelper(SourceCodeLocater sourceLocater)
-
-
Method Detail
-
initialJson
public org.json.simple.JSONObject initialJson()
-
getToolInfo
public org.json.simple.JSONObject getToolInfo()
-
getFileName
public String getFileName(soot.SootClass c)
-
getLocations
public org.json.simple.JSONArray getLocations(soot.SootClass c, String methodName, int lineNumber, String method, String statement)
-
getStatisticsInfo
public org.json.simple.JSONObject getStatisticsInfo(ReportStatistics statistics)
-
-