33 <td><a href="#_evaluateAst">_evaluateAst</a></td> |
33 <td><a href="#_evaluateAst">_evaluateAst</a></td> |
34 <td>Function to analyze the given ast node.</td> |
34 <td>Function to analyze the given ast node.</td> |
35 </tr> |
35 </tr> |
36 <tr> |
36 <tr> |
37 <td><a href="#checkHardcodedSqlExpressions">checkHardcodedSqlExpressions</a></td> |
37 <td><a href="#checkHardcodedSqlExpressions">checkHardcodedSqlExpressions</a></td> |
38 <td></td> |
38 <td>Function to check for SQL injection.</td> |
39 </tr> |
39 </tr> |
40 <tr> |
40 <tr> |
41 <td><a href="#getChecks">getChecks</a></td> |
41 <td><a href="#getChecks">getChecks</a></td> |
42 <td>Public method to get a dictionary with checks handled by this module.</td> |
42 <td>Public method to get a dictionary with checks handled by this module.</td> |
43 </tr> |
43 </tr> |
105 <hr /> |
105 <hr /> |
106 <a NAME="checkHardcodedSqlExpressions" ID="checkHardcodedSqlExpressions"></a> |
106 <a NAME="checkHardcodedSqlExpressions" ID="checkHardcodedSqlExpressions"></a> |
107 <h2>checkHardcodedSqlExpressions</h2> |
107 <h2>checkHardcodedSqlExpressions</h2> |
108 <b>checkHardcodedSqlExpressions</b>(<i>reportError, context, config</i>) |
108 <b>checkHardcodedSqlExpressions</b>(<i>reportError, context, config</i>) |
109 |
109 |
|
110 <p> |
|
111 Function to check for SQL injection. |
|
112 </p> |
|
113 <dl> |
|
114 |
|
115 <dt><i>reportError</i> (func)</dt> |
|
116 <dd> |
|
117 function to be used to report errors |
|
118 </dd> |
|
119 <dt><i>context</i> (SecurityContext)</dt> |
|
120 <dd> |
|
121 security context object |
|
122 </dd> |
|
123 <dt><i>config</i> (dict)</dt> |
|
124 <dd> |
|
125 dictionary with configuration data |
|
126 </dd> |
|
127 </dl> |
110 <div align="right"><a href="#top">Up</a></div> |
128 <div align="right"><a href="#top">Up</a></div> |
111 <hr /> |
129 <hr /> |
112 <hr /> |
130 <hr /> |
113 <a NAME="getChecks" ID="getChecks"></a> |
131 <a NAME="getChecks" ID="getChecks"></a> |
114 <h2>getChecks</h2> |
132 <h2>getChecks</h2> |