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

branch
eric7
changeset 10996
a3dc181d14e1
equal deleted inserted replaced
10995:f94a27bbf6c4 10996:a3dc181d14e1
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.trojanSource</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.trojanSource</h1>
10 <p>
11 Module implementing checks for the presence of unicode bidirectional control
12 characters in Python source files.
13 </p>
14
15 <h3>Global Attributes</h3>
16 <table>
17 <tr><td>BIDI_CHARACTERS</td></tr>
18 </table>
19
20 <h3>Classes</h3>
21 <table>
22 <tr><td>None</td></tr>
23 </table>
24
25 <h3>Functions</h3>
26 <table>
27 <tr>
28 <td><a href="#checkTrojanSource">checkTrojanSource</a></td>
29 <td>Function to check for the presence of unicode bidirectional control characters in Python source files.</td>
30 </tr>
31 <tr>
32 <td><a href="#getChecks">getChecks</a></td>
33 <td>Public method to get a dictionary with checks handled by this module.</td>
34 </tr>
35 </table>
36
37 <hr />
38 <hr />
39 <a NAME="checkTrojanSource" ID="checkTrojanSource"></a>
40 <h2>checkTrojanSource</h2>
41 <b>checkTrojanSource</b>(<i>reportError, context, _config</i>)
42 <p>
43 Function to check for the presence of unicode bidirectional control
44 characters in Python source files.
45 </p>
46 <p>
47 Those characters can be embedded in comments and strings to reorder
48 source code characters in a way that changes its logic.
49 </p>
50
51 <dl>
52
53 <dt><i>reportError</i> (func)</dt>
54 <dd>
55 function to be used to report errors
56 </dd>
57 <dt><i>context</i> (SecurityContext)</dt>
58 <dd>
59 security context object
60 </dd>
61 <dt><i>_config</i> (dict)</dt>
62 <dd>
63 dictionary with configuration data (unused)
64 </dd>
65 </dl>
66 <div align="right"><a href="#top">Up</a></div>
67 <hr />
68 <hr />
69 <a NAME="getChecks" ID="getChecks"></a>
70 <h2>getChecks</h2>
71 <b>getChecks</b>(<i></i>)
72 <p>
73 Public method to get a dictionary with checks handled by this module.
74 </p>
75
76 <dl>
77 <dt>Return:</dt>
78 <dd>
79 dictionary containing checker lists containing checker function and
80 list of codes
81 </dd>
82 </dl>
83 <dl>
84 <dt>Return Type:</dt>
85 <dd>
86 dict
87 </dd>
88 </dl>
89 <div align="right"><a href="#top">Up</a></div>
90 <hr />
91 </body></html>

eric ide

mercurial