public class Analyzer extends Object
These are the possible arguments to ServletValidator: -cfg : Print an easily readable view of the grammar (easy to read, hard to parse) -xml : Used in combination with -cfg. Print XML view of grammar. (hard to read, easy to parse) -file : Followed by the name of the file to dump the grammar output to. Default is to write in the console. -taint : Specify a file containing method signatures (separated by line breaks) for taint analysis. -post : Analyze doPost method instead of doGet -info : Shows info statements about what the analyzer is doing right now. Prints less than verbose -verbose : Print all debug info (including all intermediate grammars) -noanalysis : Do not do any analysis (useful if you just need the grammar) -flow : Print the output stream flow graph in graphviz dot format -cl : Specify classes to analyse. They should all be in your class path. Put the canonical names after this switch (at least 1 required) -jsp : Specify a jsp page to analyse. Put the file name after this switch (at least 1 required) -lenient : Continue analysing even if there are character ranges that can contain <,> or " -transitional : Validate the output as XHTML 1.0 transitional instead of strict " -utf16 : Output in UTF-16 instead of the default UTF-8 when writing XML to a file
Modifier and Type | Class and Description |
---|---|
static class |
Analyzer.ConsoleState
An enum representing the valid argument switched
|
Constructor and Description |
---|
Analyzer() |
public static void main(String[] args)
Copyright © 2008-2013 Mathias Schwarz.