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

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

eric ide

mercurial