Package com.tonic.analysis.cpg.taint
Class TaintQuery.Sanitizer
- java.lang.Object
-
- com.tonic.analysis.cpg.taint.TaintQuery.Sanitizer
-
- Enclosing class:
- TaintQuery
public static class TaintQuery.Sanitizer extends Object
A regex pair matching call targets that neutralize taint on a path.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PatterngetCompiledMethod()PatterngetCompiledOwner()StringgetMethodPattern()StringgetOwnerPattern()booleanmatches(String owner, String method)Tests both patterns against a call target.
-
-
-
Method Detail
-
getOwnerPattern
public String getOwnerPattern()
- Returns:
- the owner pattern
-
getMethodPattern
public String getMethodPattern()
- Returns:
- the method pattern
-
getCompiledOwner
public Pattern getCompiledOwner()
- Returns:
- the compiled owner
-
getCompiledMethod
public Pattern getCompiledMethod()
- Returns:
- the compiled method
-
-