src/eric7/Documentation/Source/eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.prohibitedCalls.html

branch
eric7
changeset 10503
6a37b6ac3928
child 10684
58c7f23ae1cb
equal deleted inserted replaced
10502:89b8e0a67fde 10503:6a37b6ac3928
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.prohibitedCalls</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.prohibitedCalls</h1>
10 <p>
11 Module implementing checks for prohibited methods and functions.
12 </p>
13
14 <h3>Global Attributes</h3>
15 <table>
16 <tr><td>_prohibitedCalls</td></tr>
17 </table>
18
19 <h3>Classes</h3>
20 <table>
21 <tr><td>None</td></tr>
22 </table>
23
24 <h3>Functions</h3>
25 <table>
26 <tr>
27 <td><a href="#checkProhibitedCalls">checkProhibitedCalls</a></td>
28 <td>Function to check for prohibited method calls.</td>
29 </tr>
30 <tr>
31 <td><a href="#getChecks">getChecks</a></td>
32 <td>Public method to get a dictionary with checks handled by this module.</td>
33 </tr>
34 </table>
35
36 <hr />
37 <hr />
38 <a NAME="checkProhibitedCalls" ID="checkProhibitedCalls"></a>
39 <h2>checkProhibitedCalls</h2>
40 <b>checkProhibitedCalls</b>(<i>reportError, context, config</i>)
41 <p>
42 Function to check for prohibited method calls.
43 </p>
44
45 <dl>
46
47 <dt><i>reportError</i> (func)</dt>
48 <dd>
49 function to be used to report errors
50 </dd>
51 <dt><i>context</i> (SecurityContext)</dt>
52 <dd>
53 security context object
54 </dd>
55 <dt><i>config</i> (dict)</dt>
56 <dd>
57 dictionary with configuration data
58 </dd>
59 </dl>
60 <div align="right"><a href="#top">Up</a></div>
61 <hr />
62 <hr />
63 <a NAME="getChecks" ID="getChecks"></a>
64 <h2>getChecks</h2>
65 <b>getChecks</b>(<i></i>)
66 <p>
67 Public method to get a dictionary with checks handled by this module.
68 </p>
69
70 <dl>
71 <dt>Return:</dt>
72 <dd>
73 dictionary containing checker lists containing checker function and
74 list of codes
75 </dd>
76 </dl>
77 <dl>
78 <dt>Return Type:</dt>
79 <dd>
80 dict
81 </dd>
82 </dl>
83 <div align="right"><a href="#top">Up</a></div>
84 <hr />
85 </body></html>

eric ide

mercurial