70 <tr> |
70 <tr> |
71 <td><a href="#SecurityNodeVisitor.__visitFunctionDefinition">__visitFunctionDefinition</a></td> |
71 <td><a href="#SecurityNodeVisitor.__visitFunctionDefinition">__visitFunctionDefinition</a></td> |
72 <td>Private method defining a visitor for AST FunctionDef and AsyncFunctionDef nodes.</td> |
72 <td>Private method defining a visitor for AST FunctionDef and AsyncFunctionDef nodes.</td> |
73 </tr> |
73 </tr> |
74 <tr> |
74 <tr> |
|
75 <td><a href="#SecurityNodeVisitor.checkFile">checkFile</a></td> |
|
76 <td>Public method to run File type checks, that don't operate on the AST.</td> |
|
77 </tr> |
|
78 <tr> |
75 <td><a href="#SecurityNodeVisitor.generic_visit">generic_visit</a></td> |
79 <td><a href="#SecurityNodeVisitor.generic_visit">generic_visit</a></td> |
76 <td>Public method to drive the node visitor.</td> |
80 <td>Public method to drive the node visitor.</td> |
77 </tr> |
81 </tr> |
78 <tr> |
82 <tr> |
79 <td><a href="#SecurityNodeVisitor.visit">visit</a></td> |
83 <td><a href="#SecurityNodeVisitor.visit">visit</a></td> |
133 dictionary containing the available checker routines |
137 dictionary containing the available checker routines |
134 </dd> |
138 </dd> |
135 <dt><i>filename</i> (str)</dt> |
139 <dt><i>filename</i> (str)</dt> |
136 <dd> |
140 <dd> |
137 name of the checked file |
141 name of the checked file |
|
142 </dd> |
|
143 <dt><i>fileData</i> (str)</dt> |
|
144 <dd> |
|
145 contents of the checked file |
138 </dd> |
146 </dd> |
139 </dl> |
147 </dl> |
140 <a NAME="SecurityNodeVisitor.__postVisit" ID="SecurityNodeVisitor.__postVisit"></a> |
148 <a NAME="SecurityNodeVisitor.__postVisit" ID="SecurityNodeVisitor.__postVisit"></a> |
141 <h4>SecurityNodeVisitor.__postVisit</h4> |
149 <h4>SecurityNodeVisitor.__postVisit</h4> |
142 <b>__postVisit</b>(<i>node</i>) |
150 <b>__postVisit</b>(<i>node</i>) |
209 <dt><i>node</i> (ast.FunctionDef, ast.AsyncFunctionDef)</dt> |
217 <dt><i>node</i> (ast.FunctionDef, ast.AsyncFunctionDef)</dt> |
210 <dd> |
218 <dd> |
211 reference to the node being inspected |
219 reference to the node being inspected |
212 </dd> |
220 </dd> |
213 </dl> |
221 </dl> |
|
222 <a NAME="SecurityNodeVisitor.checkFile" ID="SecurityNodeVisitor.checkFile"></a> |
|
223 <h4>SecurityNodeVisitor.checkFile</h4> |
|
224 <b>checkFile</b>(<i></i>) |
|
225 <p> |
|
226 Public method to run File type checks, that don't operate on the AST. |
|
227 </p> |
|
228 |
214 <a NAME="SecurityNodeVisitor.generic_visit" ID="SecurityNodeVisitor.generic_visit"></a> |
229 <a NAME="SecurityNodeVisitor.generic_visit" ID="SecurityNodeVisitor.generic_visit"></a> |
215 <h4>SecurityNodeVisitor.generic_visit</h4> |
230 <h4>SecurityNodeVisitor.generic_visit</h4> |
216 <b>generic_visit</b>(<i>node</i>) |
231 <b>generic_visit</b>(<i>node</i>) |
217 <p> |
232 <p> |
218 Public method to drive the node visitor. |
233 Public method to drive the node visitor. |