Wed, 17 Jun 2020 17:14:12 +0200
Merged with default branch.
--- a/docs/changelog Sun May 03 13:42:52 2020 +0200 +++ b/docs/changelog Wed Jun 17 17:14:12 2020 +0200 @@ -1,10 +1,25 @@ Change Log ---------- +Version 20.7: +- bug fixes +- pip Interface + -- added menu action for pip cache management +- Code Style Checker + -- changed the dialog to allow the selection of checker categories + -- added several security related checks (ported from bandit) + -- updated pycodestyle to version 2.6.0 +- Syntax Checker + -- updated pyflakes to version 2.2.0 +- Third Party packages: + -- updated asttoken to version 2.0.4 + Version 20.6: - bug fixes - Web Browser: -- added a configurable URL entry color to indicate sites with certificate issues + -- added code to ask for the title of a new bookmark folder + Version 20.5: - bug fixes - MicroPython
--- a/eric6.e4p Sun May 03 13:42:52 2020 +0200 +++ b/eric6.e4p Wed Jun 17 17:14:12 2020 +0200 @@ -263,6 +263,7 @@ <Source>eric6/MicroPython/EspBackupRestoreFirmwareDialog.py</Source> <Source>eric6/MicroPython/EspDevices.py</Source> <Source>eric6/MicroPython/EspFirmwareSelectionDialog.py</Source> + <Source>eric6/MicroPython/IgnoredDevicesDialog.py</Source> <Source>eric6/MicroPython/MicroPythonCommandsInterface.py</Source> <Source>eric6/MicroPython/MicroPythonDevices.py</Source> <Source>eric6/MicroPython/MicroPythonFileManager.py</Source> @@ -323,6 +324,39 @@ <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py</Source> <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/MiscellaneousChecker.py</Source> <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/NamingStyleChecker.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/__init__.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/assert.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/awsHardcodedPassword.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/blackListCalls.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/blackListImports.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/certificateValidation.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/djangoSqlInjection.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/djangoXssVulnerability.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/exec.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/flaskDebug.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/generalBindAllInterfaces.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/generalFilePermissions.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/generalHardcodedPassword.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/generalHardcodedTmp.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/injectionParamiko.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/injectionShell.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/injectionSql.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/injectionWildcard.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/insecureHashlibNew.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/insecureSslTls.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/jinja2Templates.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/makoTemplates.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/sshNoHostKeyVerification.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/tryExcept.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/weakCryptographicKey.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/Checks/yamlLoad.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/SecurityChecker.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/SecurityContext.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/SecurityDefaults.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/SecurityNodeVisitor.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/SecurityUtils.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/__init__.py</Source> + <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/Security/translations.py</Source> <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/__init__.py</Source> <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/eradicate.py</Source> <Source>eric6/Plugins/CheckerPlugins/CodeStyleChecker/mccabe.py</Source> @@ -1207,6 +1241,7 @@ <Source>eric6/ThirdParty/asttokens/asttokens/line_numbers.py</Source> <Source>eric6/ThirdParty/asttokens/asttokens/mark_tokens.py</Source> <Source>eric6/ThirdParty/asttokens/asttokens/util.py</Source> + <Source>eric6/ThirdParty/asttokens/asttokens/version.py</Source> <Source>eric6/ThirdParty/enum/__init__.py</Source> <Source>eric6/Toolbox/SingleApplication.py</Source> <Source>eric6/Toolbox/Startup.py</Source> @@ -1625,6 +1660,7 @@ <Form>eric6/MicroPython/CircuitPythonFirmwareSelectionDialog.ui</Form> <Form>eric6/MicroPython/EspBackupRestoreFirmwareDialog.ui</Form> <Form>eric6/MicroPython/EspFirmwareSelectionDialog.ui</Form> + <Form>eric6/MicroPython/IgnoredDevicesDialog.ui</Form> <Form>eric6/MicroPython/MicroPythonFileManagerWidget.ui</Form> <Form>eric6/MicroPython/MicroPythonProgressInfoDialog.ui</Form> <Form>eric6/MicroPython/MicroPythonWidget.ui</Form> @@ -2083,9 +2119,6 @@ <Other>eric6/APIs/MicroPython/circuitpython.api</Other> <Other>eric6/APIs/MicroPython/microbit.api</Other> <Other>eric6/APIs/MicroPython/micropython.api</Other> - <Other>eric6/APIs/Python/zope-2.10.7.api</Other> - <Other>eric6/APIs/Python/zope-2.11.2.api</Other> - <Other>eric6/APIs/Python/zope-3.3.1.api</Other> <Other>eric6/APIs/Python3/PyQt4.bas</Other> <Other>eric6/APIs/Python3/PyQt5.bas</Other> <Other>eric6/APIs/Python3/PyQtChart.bas</Other> @@ -2093,6 +2126,9 @@ <Other>eric6/APIs/Python3/QScintilla2.bas</Other> <Other>eric6/APIs/Python3/eric6.api</Other> <Other>eric6/APIs/Python3/eric6.bas</Other> + <Other>eric6/APIs/Python/zope-2.10.7.api</Other> + <Other>eric6/APIs/Python/zope-2.11.2.api</Other> + <Other>eric6/APIs/Python/zope-3.3.1.api</Other> <Other>eric6/APIs/QSS/qss.api</Other> <Other>eric6/APIs/Ruby/Ruby-1.8.7.api</Other> <Other>eric6/APIs/Ruby/Ruby-1.8.7.bas</Other> @@ -2749,6 +2785,12 @@ <string>eric</string> </value> <key> + <string>EnabledCheckerCategories</string> + </key> + <value> + <string>C, D, E, M, N, W</string> + </value> + <key> <string>ExcludeFiles</string> </key> <value> @@ -2758,7 +2800,7 @@ <string>ExcludeMessages</string> </key> <value> - <string>A, C101, E265, E266, E305, E402, M201, M301, M302, M303, M304, M305, M306, M307, M308, M311, M312, M313, M314, M315, M321, M701, M702, M811, M834, N802, N803, N807, N808, N821, W293, W504, A</string> + <string>C101,E265,E266,E305,E402,M201,M301,M302,M303,M304,M305,M306,M307,M308,M311,M312,M313,M314,M315,M321,M701,M702,M811,M834,N802,N803,N807,N808,N821,W293,W504</string> </value> <key> <string>FixCodes</string>
--- a/eric6/APIs/Python3/eric6.api Sun May 03 13:42:52 2020 +0200 +++ b/eric6/APIs/Python3/eric6.api Wed Jun 17 17:14:12 2020 +0200 @@ -1375,6 +1375,7 @@ eric6.E5Gui.E5SqueezeLabels.E5SqueezeLabelPath?1(parent=None) eric6.E5Gui.E5StringListEditWidget.E5StringListEditWidget.getList?4() eric6.E5Gui.E5StringListEditWidget.E5StringListEditWidget.on_addButton_clicked?4() +eric6.E5Gui.E5StringListEditWidget.E5StringListEditWidget.setAddVisible?4(visible) eric6.E5Gui.E5StringListEditWidget.E5StringListEditWidget.setDefaultVisible?4(visible) eric6.E5Gui.E5StringListEditWidget.E5StringListEditWidget.setList?4(stringList) eric6.E5Gui.E5StringListEditWidget.E5StringListEditWidget.setListWhatsThis?4(txt) @@ -2274,10 +2275,13 @@ eric6.MicroPython.EspDevices.EspDevice.runScript?4(script) eric6.MicroPython.EspDevices.EspDevice.setButtons?4() eric6.MicroPython.EspDevices.EspDevice?1(microPythonWidget, parent=None) +eric6.MicroPython.EspFirmwareSelectionDialog.EspFirmwareSelectionDialog.FlashModes?7 eric6.MicroPython.EspFirmwareSelectionDialog.EspFirmwareSelectionDialog.getData?4() eric6.MicroPython.EspFirmwareSelectionDialog.EspFirmwareSelectionDialog.on_espComboBox_currentTextChanged?4(chip) eric6.MicroPython.EspFirmwareSelectionDialog.EspFirmwareSelectionDialog.on_firmwarePicker_textChanged?4(firmware) eric6.MicroPython.EspFirmwareSelectionDialog.EspFirmwareSelectionDialog?1(addon=False, parent=None) +eric6.MicroPython.IgnoredDevicesDialog.IgnoredDevicesDialog.getDevices?4() +eric6.MicroPython.IgnoredDevicesDialog.IgnoredDevicesDialog?1(deviceList, parent=None) eric6.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.cd?4(dirname) eric6.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.connectToDevice?4(port) eric6.MicroPython.MicroPythonCommandsInterface.MicroPythonCommandsInterface.dataReceived?7 @@ -2737,6 +2741,9 @@ eric6.PipInterface.Pip.Pip.DefaultIndexUrlPip?7 eric6.PipInterface.Pip.Pip.DefaultIndexUrlXml?7 eric6.PipInterface.Pip.Pip.DefaultPyPiUrl?7 +eric6.PipInterface.Pip.Pip.cacheList?4(venvName) +eric6.PipInterface.Pip.Pip.cachePurge?4(venvName) +eric6.PipInterface.Pip.Pip.cacheRemove?4(venvName) eric6.PipInterface.Pip.Pip.getIndexUrl?4() eric6.PipInterface.Pip.Pip.getIndexUrlXml?4() eric6.PipInterface.Pip.Pip.getInstalledPackages?4(envName, localPackages=True, notRequired=False, usersite=False) @@ -2752,6 +2759,7 @@ eric6.PipInterface.Pip.Pip.installRequirements?4(venvName) eric6.PipInterface.Pip.Pip.repairPip?4(venvName) eric6.PipInterface.Pip.Pip.runProcess?4(args, interpreter) +eric6.PipInterface.Pip.Pip.showCacheInfo?4(venvName) eric6.PipInterface.Pip.Pip.uninstallPackages?4(packages, venvName) eric6.PipInterface.Pip.Pip.uninstallRequirements?4(venvName) eric6.PipInterface.Pip.Pip.upgradePackages?4(packages, venvName, userSite=False) @@ -2934,11 +2942,16 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker.ignoreCode?4(code, lineFlags) eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker.initBatchService?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker.initService?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker.securityOk?4(code, lineFlags) eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker.worker?4(inputQueue, outputQueue) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.argsRole?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.availableFutures?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.check?4(codestring='') eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.checkBatch?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.checkCategories?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.codeRole?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.cryptoBitSelectionsDsaRsa?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.cryptoBitSelectionsEc?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.filenameRole?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.fixableRole?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.hasResults?7 @@ -2958,6 +2971,7 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.on_loadDefaultButton_clicked?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.on_noFixIssuesSelectButton_clicked?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.on_resetDefaultButton_clicked?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.on_restartButton_clicked?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.on_resultList_itemActivated?4(item, column) eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.on_resultList_itemSelectionChanged?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.on_showButton_clicked?4() @@ -2969,9 +2983,9 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog.start?4(fn, save=False, repeat=None) eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.CodeStyleCheckerDialog?1(styleCheckService, parent=None) eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCodeSelectionDialog.CodeStyleCodeSelectionDialog.getSelectedCodes?4() -eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCodeSelectionDialog.CodeStyleCodeSelectionDialog?1(codes, showFixCodes, parent=None) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCodeSelectionDialog.CodeStyleCodeSelectionDialog?1(codes, categories, showFixCodes, parent=None) eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.CodeStyleFixer.finalize?4() -eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.CodeStyleFixer.fixIssue?4(line, pos, message) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.CodeStyleFixer.fixIssue?4(line, pos, code) eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.CodeStyleFixer.mutualStartswith?4(b) eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.CodeStyleFixer.saveFile?4(encoding) eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.CodeStyleFixer?1(filename, sourceLines, fixCodes, noFixCodes, maxLineLength, blankLines, inPlace, eol, backup=False) @@ -3069,6 +3083,149 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.NamingStyleChecker.run?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.NamingStyleChecker.unpackArgs?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.NamingStyleChecker?1(tree, filename, options) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert.checkAssertUsed?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.AWS_ACCESS_KEY_ID_MAX_ENTROPY?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.AWS_ACCESS_KEY_ID_REGEX?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.AWS_ACCESS_KEY_ID_SYMBOLS?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.AWS_SECRET_ACCESS_KEY_MAX_ENTROPY?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.AWS_SECRET_ACCESS_KEY_REGEX?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.AWS_SECRET_ACCESS_KEY_SYMBOLS?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.checkHardcodedAwsKey?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.shannonEntropy?4(data, symbols) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListCalls._blacklists?8 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListCalls.checkBlacklist?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListCalls.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListImports._blacklists?8 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListImports.checkBlacklist?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListImports.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.certificateValidation.checkNoCertificateValidation?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.certificateValidation.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection.checkDjangoExtraUsed?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection.checkDjangoRawSqlUsed?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection.keywords2dict?4(keywords) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.DeepAssignation.isAssigned?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.DeepAssignation.isAssignedIn?4(items) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.DeepAssignation?1(varName, ignoreNodes=None) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.PY2?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.checkDjangoXssVulnerability?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.checkPotentialRisk?4(reportError, node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.evaluateCall?4(call, parent, ignoreNodes=None) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.evaluateVar?4(xssVar, parent, until, ignoreNodes=None) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.transform2call?4(var) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.exec.checkExecUsed?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.exec.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.flaskDebug.checkFlaskDebug?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.flaskDebug.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalBindAllInterfaces.checkBindAllInterfaces?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalBindAllInterfaces.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions.checkFilePermissions?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.RE_CANDIDATES?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.RE_WORDS?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.checkHardcodedPasswordAsDefault?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.checkHardcodedPasswordAsFunctionArg?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.checkHardcodedPasswordAsString?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedTmp.checkHardcodedTmpDirectory?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedTmp.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generateCheckersDict?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionParamiko.checkParamikoCalls?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionParamiko.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell._evaluateShellCall?5(context) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.checkOtherFunctionWithShell?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.checkStartProcessWithNoShell?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.checkStartProcessWithPartialPath?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.checkStartProcessWithShell?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.checkSubprocessPopenWithShell?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.checkSubprocessPopenWithoutShell?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.fullPathMatchRe?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.hasShell?4(context) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql.SIMPLE_SQL_RE?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql._checkString?5(data) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql._evaluateAst?5(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql.checkHardcodedSqlExpressions?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionWildcard.checkLinuxCommandsWildcardInjection?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionWildcard.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.checkHashlibNew?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls.checkInsecureSslDefaults?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls.checkInsecureSslProtocolVersion?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls.checkSslWithoutVersion?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.jinja2Templates.checkJinja2Autoescape?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.jinja2Templates.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.makoTemplates.checkMakoTemplateUsage?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.makoTemplates.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.sshNoHostKeyVerification.checkSshNoHostKeyVerification?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.sshNoHostKeyVerification.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.checkTryExceptContinue?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.checkTryExceptPass?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey._classifyKeySize?5(reportError, config, keyType, keySize, node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey._weakCryptoKeySizeCryptography?5(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey._weakCryptoKeySizePycrypto?5(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey.checkWeakCryptographicKey?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.yamlLoad.checkYamlLoad?4(reportError, context, config) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.yamlLoad.getChecks?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.SecurityChecker.Codes?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.SecurityChecker.getConfig?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.SecurityChecker.reportError?4(lineNumber, offset, code, severity, confidence, *args) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.SecurityChecker.run?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.SecurityChecker?1(source, filename, select, ignore, expected, repeat, args) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.bytesVal?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.callArgs?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.callArgsCount?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.callFunctionName?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.callFunctionNameQual?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.callKeywords?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.checkCallArgValue?4(argumentName, argumentValues=None) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.functionDefDefaultsQual?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.getCallArgAtPosition?4(positionNum) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.getCallArgValue?4(argumentName) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.getLinenoForCallArg?4(argumentName) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.getOffsetForCallArg?4(argumentName) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.isModuleBeingImported?4(module) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.isModuleImportedExact?4(module) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.isModuleImportedLike?4(module) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.node?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.statement?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.stringVal?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext.stringValAsEscapedBytes?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.SecurityContext?1(contextObject=None) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityDefaults.SecurityDefaults?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.SecurityNodeVisitor.generic_visit?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.SecurityNodeVisitor.visit?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.SecurityNodeVisitor.visit_Bytes?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.SecurityNodeVisitor.visit_Call?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.SecurityNodeVisitor.visit_ClassDef?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.SecurityNodeVisitor.visit_Constant?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.SecurityNodeVisitor.visit_FunctionDef?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.SecurityNodeVisitor.visit_Import?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.SecurityNodeVisitor.visit_ImportFrom?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.SecurityNodeVisitor.visit_Str?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.SecurityNodeVisitor?1(checker, secCheckers, filename) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils._get?5(node, bits, stop=None) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.concatString?4(node, stop=None) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.deepgetattr?4(obj, attr) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.escapedBytesRepresentation?4(b) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.getAttrQualName?4(node, aliases) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.getCallName?4(node, aliases) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.getCalledName?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.getModuleQualnameFromPath?4(path) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.getQualAttr?4(node, aliases) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.linerange?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.linerange_fix?4(node) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.namespacePathJoin?4(namespace, name) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.namespacePathSplit?4(path) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.translations._securityMessages?8 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.translations._securityMessagesSampleArgs?8 eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.MULTILINE_ASSIGNMENT_REGEX?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.PARTIAL_DICTIONARY_REGEX?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.comment_contains_code?4(line, aggressive=True) @@ -3109,6 +3266,7 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathNode.to_dot?4() eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.PathNode?1(name, look="circle") eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.ARITHMETIC_OP?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.ASSIGNMENT_EXPRESSION_OP?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.BENCHMARK_KEYS?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.BLANK_LINES_CONFIG?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.BaseReport.error?4(line_number, offset, text, check) @@ -3188,12 +3346,14 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.WHITESPACE_AFTER_COMMA_REGEX?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.WS_NEEDED_OPERATORS?7 eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.WS_OPTIONAL_OPERATORS?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle._SYMBOLIC_OPS?8 eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle._add_check?5(check, kind, codes, args) eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle._break_around_binary_operators?5(tokens) eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle._checks?8 eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle._get_parameters?5(function) eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle._is_binary_operator?5(token_type, text) eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle._is_eol_token?5(token) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle._is_one_liner?5(logical_line, indent_level, lines, line_number) eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle._main?5() eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle._parse_multi_options?5(options, split_token=', ') eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.ambiguous_identifier?4(logical_line, tokens) @@ -3249,7 +3409,10 @@ eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.whitespace_before_parameters?4(logical_line, tokens) eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations._messages?8 eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations._messages_sample_args?8 -eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.getTranslatedMessage?4(message) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.getMessageCodes?4() +eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.getTranslatedMessage?4(messageCode, messageArgs, example=False) +eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.messageCatalogs?7 +eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.messageSampleArgsCatalog?7 eric6.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheck.VcsConflictMarkerRegExpList?7 eric6.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheck.extractLineFlags?4(line, startComment=") eric6.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheck.initBatchService?4() @@ -9345,7 +9508,7 @@ eric6.Utilities.parseEnvironmentString?4(s) eric6.Utilities.parseOptionString?4(s) eric6.Utilities.parseString?4(s, rx) -eric6.Utilities.prepareQtMacBundle?4(toolname, version, args) +eric6.Utilities.prepareQtMacBundle?4(toolname, args) eric6.Utilities.readEncodedFile?4(filename) eric6.Utilities.readEncodedFileWithEncoding?4(filename, encoding) eric6.Utilities.readEncodedFileWithHash?4(filename) @@ -10570,6 +10733,7 @@ eric6.WebBrowser.Network.NetworkManager.NetworkManager.clearSslExceptions?4() eric6.WebBrowser.Network.NetworkManager.NetworkManager.createRequest?4(op, request, data) eric6.WebBrowser.Network.NetworkManager.NetworkManager.installUrlInterceptor?4(interceptor) +eric6.WebBrowser.Network.NetworkManager.NetworkManager.isInsecureHost?4(host) eric6.WebBrowser.Network.NetworkManager.NetworkManager.languagesChanged?4() eric6.WebBrowser.Network.NetworkManager.NetworkManager.preferencesChanged?4() eric6.WebBrowser.Network.NetworkManager.NetworkManager.proxyAuthentication?4(requestUrl, auth, proxyHost) @@ -10969,9 +11133,8 @@ eric6.WebBrowser.Session.SessionManagerDialog.SessionManagerDialog.resizeEvent?4(evt) eric6.WebBrowser.Session.SessionManagerDialog.SessionManagerDialog.showEvent?4(evt) eric6.WebBrowser.Session.SessionManagerDialog.SessionManagerDialog?1(parent=None) -eric6.WebBrowser.SiteInfo.SiteInfoDialog.SiteInfoDialog.nokStyle?7 -eric6.WebBrowser.SiteInfo.SiteInfoDialog.SiteInfoDialog.okStyle?7 eric6.WebBrowser.SiteInfo.SiteInfoDialog.SiteInfoDialog.on_imagesTree_currentItemChanged?4(current, previous) +eric6.WebBrowser.SiteInfo.SiteInfoDialog.SiteInfoDialog.securityStyleFormat?7 eric6.WebBrowser.SiteInfo.SiteInfoDialog.SiteInfoDialog?1(browser, parent=None) eric6.WebBrowser.SiteInfo.SiteInfoWidget.SiteInfoWidget.accept?4() eric6.WebBrowser.SiteInfo.SiteInfoWidget.SiteInfoWidget.showAt?4(pos)
--- a/eric6/APIs/Python3/eric6.bas Sun May 03 13:42:52 2020 +0200 +++ b/eric6/APIs/Python3/eric6.bas Wed Jun 17 17:14:12 2020 +0200 @@ -503,6 +503,7 @@ IconsPreviewDialog QDialog Ui_IconsPreviewDialog IdlCompilerDefineNameDialog QDialog Ui_IdlCompilerDefineNameDialog IdlCompilerOptionsDialog QDialog Ui_IdlCompilerOptionsDialog +IgnoredDevicesDialog QDialog Ui_IgnoredDevicesDialog ImageMarkupDialog QDialog Ui_ImageMarkupDialog ImageSearchEngine QObject ImagesIcon StatusBarIcon @@ -513,6 +514,7 @@ Interface ClbrBaseClasses.Class VisibilityMixin InterfacePage ConfigurationPageBase Ui_InterfacePage InvalidISO8859Error Exception +InvalidModulePath Exception InvalidPlistException Exception IrcChannelEditDialog QDialog Ui_IrcChannelEditDialog IrcChannelWidget QWidget Ui_IrcChannelWidget
--- a/eric6/DebugClients/Python/DebugClientBase.py Sun May 03 13:42:52 2020 +0200 +++ b/eric6/DebugClients/Python/DebugClientBase.py Wed Jun 17 17:14:12 2020 +0200 @@ -1898,7 +1898,7 @@ if ConfigVarTypeStrings.index(valtype) in filterList: continue except ValueError: - if valtype == "sip.enumtype": + if valtype in ("sip.enumtype", "sip.wrappertype"): if ConfigVarTypeStrings.index('class') in filterList: continue elif (valtype == "sip.methoddescriptor" or
--- a/eric6/DebugClients/Python/DebugVariables.py Sun May 03 13:42:52 2020 +0200 +++ b/eric6/DebugClients/Python/DebugVariables.py Wed Jun 17 17:14:12 2020 +0200 @@ -704,8 +704,10 @@ typeStr = str(typeObject).split(' ', 1)[-1] typeStr = typeStr[1:-2] - if (typeStr.startswith(ConfigQtNames) and - typeStr.endswith(ConfigKnownQtTypes)): + if ( + typeStr.startswith(ConfigQtNames) and + typeStr.endswith(ConfigKnownQtTypes) + ): resolver = None else: if _TypeMap is None:
--- a/eric6/Documentation/Help/source.qhp Sun May 03 13:42:52 2020 +0200 +++ b/eric6/Documentation/Help/source.qhp Wed Jun 17 17:14:12 2020 +0200 @@ -232,6 +232,7 @@ <section title="eric6.MicroPython.EspBackupRestoreFirmwareDialog" ref="eric6.MicroPython.EspBackupRestoreFirmwareDialog.html" /> <section title="eric6.MicroPython.EspDevices" ref="eric6.MicroPython.EspDevices.html" /> <section title="eric6.MicroPython.EspFirmwareSelectionDialog" ref="eric6.MicroPython.EspFirmwareSelectionDialog.html" /> + <section title="eric6.MicroPython.IgnoredDevicesDialog" ref="eric6.MicroPython.IgnoredDevicesDialog.html" /> <section title="eric6.MicroPython.MicroPythonCommandsInterface" ref="eric6.MicroPython.MicroPythonCommandsInterface.html" /> <section title="eric6.MicroPython.MicroPythonDevices" ref="eric6.MicroPython.MicroPythonDevices.html" /> <section title="eric6.MicroPython.MicroPythonFileManager" ref="eric6.MicroPython.MicroPythonFileManager.html" /> @@ -289,6 +290,42 @@ </section> <section title="eric6.Plugins.CheckerPlugins" ref="index-eric6.Plugins.CheckerPlugins.html"> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.html"> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.html"> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.html"> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.__init__" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.__init__.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListCalls" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListCalls.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListImports" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListImports.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.certificateValidation" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.certificateValidation.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.exec" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.exec.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.flaskDebug" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.flaskDebug.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalBindAllInterfaces" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalBindAllInterfaces.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedTmp" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedTmp.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionParamiko" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionParamiko.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionWildcard" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionWildcard.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.jinja2Templates" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.jinja2Templates.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.makoTemplates" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.makoTemplates.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.sshNoHostKeyVerification" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.sshNoHostKeyVerification.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.yamlLoad" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.yamlLoad.html" /> + </section> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityDefaults" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityDefaults.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html" /> + <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.translations" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.translations.html" /> + </section> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AnnotationsChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AnnotationsChecker.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AstUtilities.html" /> <section title="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleAddBuiltinIgnoreDialog" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleAddBuiltinIgnoreDialog.html" /> @@ -2335,6 +2372,7 @@ <keyword name="Checker.report_invalid_syntax" id="Checker.report_invalid_syntax" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#Checker.report_invalid_syntax" /> <keyword name="Checker.run_check" id="Checker.run_check" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#Checker.run_check" /> <keyword name="CheckerPlugins (Package)" id="CheckerPlugins (Package)" ref="index-eric6.Plugins.CheckerPlugins.html" /> + <keyword name="Checks (Package)" id="Checks (Package)" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.html" /> <keyword name="ChromeImporter" id="ChromeImporter" ref="eric6.WebBrowser.Bookmarks.BookmarksImporters.ChromeImporter.html#ChromeImporter" /> <keyword name="ChromeImporter (Constructor)" id="ChromeImporter (Constructor)" ref="eric6.WebBrowser.Bookmarks.BookmarksImporters.ChromeImporter.html#ChromeImporter.__init__" /> <keyword name="ChromeImporter (Module)" id="ChromeImporter (Module)" ref="eric6.WebBrowser.Bookmarks.BookmarksImporters.ChromeImporter.html" /> @@ -2493,16 +2531,21 @@ <keyword name="CodeStyleCheckerDialog" id="CodeStyleCheckerDialog" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog" /> <keyword name="CodeStyleCheckerDialog (Constructor)" id="CodeStyleCheckerDialog (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__init__" /> <keyword name="CodeStyleCheckerDialog (Module)" id="CodeStyleCheckerDialog (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html" /> + <keyword name="CodeStyleCheckerDialog.__assembleExcludeMessages" id="CodeStyleCheckerDialog.__assembleExcludeMessages" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__assembleExcludeMessages" /> <keyword name="CodeStyleCheckerDialog.__batchFinished" id="CodeStyleCheckerDialog.__batchFinished" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__batchFinished" /> + <keyword name="CodeStyleCheckerDialog.__cleanupData" id="CodeStyleCheckerDialog.__cleanupData" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__cleanupData" /> <keyword name="CodeStyleCheckerDialog.__clearErrors" id="CodeStyleCheckerDialog.__clearErrors" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__clearErrors" /> <keyword name="CodeStyleCheckerDialog.__createErrorItem" id="CodeStyleCheckerDialog.__createErrorItem" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__createErrorItem" /> + <keyword name="CodeStyleCheckerDialog.__createFileErrorItem" id="CodeStyleCheckerDialog.__createFileErrorItem" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__createFileErrorItem" /> <keyword name="CodeStyleCheckerDialog.__createResultItem" id="CodeStyleCheckerDialog.__createResultItem" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__createResultItem" /> <keyword name="CodeStyleCheckerDialog.__finish" id="CodeStyleCheckerDialog.__finish" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__finish" /> <keyword name="CodeStyleCheckerDialog.__getBuiltinsIgnoreList" id="CodeStyleCheckerDialog.__getBuiltinsIgnoreList" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__getBuiltinsIgnoreList" /> + <keyword name="CodeStyleCheckerDialog.__getCategories" id="CodeStyleCheckerDialog.__getCategories" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__getCategories" /> <keyword name="CodeStyleCheckerDialog.__getEol" id="CodeStyleCheckerDialog.__getEol" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__getEol" /> <keyword name="CodeStyleCheckerDialog.__getSelectedFixableItems" id="CodeStyleCheckerDialog.__getSelectedFixableItems" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__getSelectedFixableItems" /> <keyword name="CodeStyleCheckerDialog.__getSelectedFutureImports" id="CodeStyleCheckerDialog.__getSelectedFutureImports" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__getSelectedFutureImports" /> <keyword name="CodeStyleCheckerDialog.__initBuiltinsIgnoreList" id="CodeStyleCheckerDialog.__initBuiltinsIgnoreList" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__initBuiltinsIgnoreList" /> + <keyword name="CodeStyleCheckerDialog.__initCategoriesList" id="CodeStyleCheckerDialog.__initCategoriesList" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__initCategoriesList" /> <keyword name="CodeStyleCheckerDialog.__initFuturesList" id="CodeStyleCheckerDialog.__initFuturesList" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__initFuturesList" /> <keyword name="CodeStyleCheckerDialog.__itemFixable" id="CodeStyleCheckerDialog.__itemFixable" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__itemFixable" /> <keyword name="CodeStyleCheckerDialog.__modifyFixedResultItem" id="CodeStyleCheckerDialog.__modifyFixedResultItem" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.__modifyFixedResultItem" /> @@ -2527,6 +2570,7 @@ <keyword name="CodeStyleCheckerDialog.on_loadDefaultButton_clicked" id="CodeStyleCheckerDialog.on_loadDefaultButton_clicked" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.on_loadDefaultButton_clicked" /> <keyword name="CodeStyleCheckerDialog.on_noFixIssuesSelectButton_clicked" id="CodeStyleCheckerDialog.on_noFixIssuesSelectButton_clicked" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.on_noFixIssuesSelectButton_clicked" /> <keyword name="CodeStyleCheckerDialog.on_resetDefaultButton_clicked" id="CodeStyleCheckerDialog.on_resetDefaultButton_clicked" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.on_resetDefaultButton_clicked" /> + <keyword name="CodeStyleCheckerDialog.on_restartButton_clicked" id="CodeStyleCheckerDialog.on_restartButton_clicked" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.on_restartButton_clicked" /> <keyword name="CodeStyleCheckerDialog.on_resultList_itemActivated" id="CodeStyleCheckerDialog.on_resultList_itemActivated" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.on_resultList_itemActivated" /> <keyword name="CodeStyleCheckerDialog.on_resultList_itemSelectionChanged" id="CodeStyleCheckerDialog.on_resultList_itemSelectionChanged" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.on_resultList_itemSelectionChanged" /> <keyword name="CodeStyleCheckerDialog.on_showButton_clicked" id="CodeStyleCheckerDialog.on_showButton_clicked" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html#CodeStyleCheckerDialog.on_showButton_clicked" /> @@ -3508,6 +3552,10 @@ <keyword name="DebuggerPython3Page.on_refreshButton_clicked" id="DebuggerPython3Page.on_refreshButton_clicked" ref="eric6.Preferences.ConfigurationPages.DebuggerPython3Page.html#DebuggerPython3Page.on_refreshButton_clicked" /> <keyword name="DebuggerPython3Page.on_venvDlgButton_clicked" id="DebuggerPython3Page.on_venvDlgButton_clicked" ref="eric6.Preferences.ConfigurationPages.DebuggerPython3Page.html#DebuggerPython3Page.on_venvDlgButton_clicked" /> <keyword name="DebuggerPython3Page.save" id="DebuggerPython3Page.save" ref="eric6.Preferences.ConfigurationPages.DebuggerPython3Page.html#DebuggerPython3Page.save" /> + <keyword name="DeepAssignation" id="DeepAssignation" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html#DeepAssignation" /> + <keyword name="DeepAssignation (Constructor)" id="DeepAssignation (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html#DeepAssignation.__init__" /> + <keyword name="DeepAssignation.isAssigned" id="DeepAssignation.isAssigned" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html#DeepAssignation.isAssigned" /> + <keyword name="DeepAssignation.isAssignedIn" id="DeepAssignation.isAssignedIn" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html#DeepAssignation.isAssignedIn" /> <keyword name="DeepLEngine" id="DeepLEngine" ref="eric6.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.DeepLEngine.html#DeepLEngine" /> <keyword name="DeepLEngine (Constructor)" id="DeepLEngine (Constructor)" ref="eric6.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.DeepLEngine.html#DeepLEngine.__init__" /> <keyword name="DeepLEngine (Module)" id="DeepLEngine (Module)" ref="eric6.Plugins.UiExtensionPlugins.Translator.TranslatorEngines.DeepLEngine.html" /> @@ -4385,6 +4433,7 @@ <keyword name="E5StringListEditWidget (Module)" id="E5StringListEditWidget (Module)" ref="eric6.E5Gui.E5StringListEditWidget.html" /> <keyword name="E5StringListEditWidget.getList" id="E5StringListEditWidget.getList" ref="eric6.E5Gui.E5StringListEditWidget.html#E5StringListEditWidget.getList" /> <keyword name="E5StringListEditWidget.on_addButton_clicked" id="E5StringListEditWidget.on_addButton_clicked" ref="eric6.E5Gui.E5StringListEditWidget.html#E5StringListEditWidget.on_addButton_clicked" /> + <keyword name="E5StringListEditWidget.setAddVisible" id="E5StringListEditWidget.setAddVisible" ref="eric6.E5Gui.E5StringListEditWidget.html#E5StringListEditWidget.setAddVisible" /> <keyword name="E5StringListEditWidget.setDefaultVisible" id="E5StringListEditWidget.setDefaultVisible" ref="eric6.E5Gui.E5StringListEditWidget.html#E5StringListEditWidget.setDefaultVisible" /> <keyword name="E5StringListEditWidget.setList" id="E5StringListEditWidget.setList" ref="eric6.E5Gui.E5StringListEditWidget.html#E5StringListEditWidget.setList" /> <keyword name="E5StringListEditWidget.setListWhatsThis" id="E5StringListEditWidget.setListWhatsThis" ref="eric6.E5Gui.E5StringListEditWidget.html#E5StringListEditWidget.setListWhatsThis" /> @@ -8536,6 +8585,10 @@ <keyword name="IdlCompilerOptionsDialog.on_unDeleteButton_clicked" id="IdlCompilerOptionsDialog.on_unDeleteButton_clicked" ref="eric6.Project.IdlCompilerOptionsDialog.html#IdlCompilerOptionsDialog.on_unDeleteButton_clicked" /> <keyword name="IdlCompilerOptionsDialog.on_unEditButton_clicked" id="IdlCompilerOptionsDialog.on_unEditButton_clicked" ref="eric6.Project.IdlCompilerOptionsDialog.html#IdlCompilerOptionsDialog.on_unEditButton_clicked" /> <keyword name="IdlCompilerOptionsDialog.on_unList_itemSelectionChanged" id="IdlCompilerOptionsDialog.on_unList_itemSelectionChanged" ref="eric6.Project.IdlCompilerOptionsDialog.html#IdlCompilerOptionsDialog.on_unList_itemSelectionChanged" /> + <keyword name="IgnoredDevicesDialog" id="IgnoredDevicesDialog" ref="eric6.MicroPython.IgnoredDevicesDialog.html#IgnoredDevicesDialog" /> + <keyword name="IgnoredDevicesDialog (Constructor)" id="IgnoredDevicesDialog (Constructor)" ref="eric6.MicroPython.IgnoredDevicesDialog.html#IgnoredDevicesDialog.__init__" /> + <keyword name="IgnoredDevicesDialog (Module)" id="IgnoredDevicesDialog (Module)" ref="eric6.MicroPython.IgnoredDevicesDialog.html" /> + <keyword name="IgnoredDevicesDialog.getDevices" id="IgnoredDevicesDialog.getDevices" ref="eric6.MicroPython.IgnoredDevicesDialog.html#IgnoredDevicesDialog.getDevices" /> <keyword name="ImageMarkupDialog" id="ImageMarkupDialog" ref="eric6.QScintilla.MarkupProviders.ImageMarkupDialog.html#ImageMarkupDialog" /> <keyword name="ImageMarkupDialog (Constructor)" id="ImageMarkupDialog (Constructor)" ref="eric6.QScintilla.MarkupProviders.ImageMarkupDialog.html#ImageMarkupDialog.__init__" /> <keyword name="ImageMarkupDialog (Module)" id="ImageMarkupDialog (Module)" ref="eric6.QScintilla.MarkupProviders.ImageMarkupDialog.html" /> @@ -8623,6 +8676,7 @@ <keyword name="InterfacePage.on_resetLayoutButton_clicked" id="InterfacePage.on_resetLayoutButton_clicked" ref="eric6.Preferences.ConfigurationPages.InterfacePage.html#InterfacePage.on_resetLayoutButton_clicked" /> <keyword name="InterfacePage.save" id="InterfacePage.save" ref="eric6.Preferences.ConfigurationPages.InterfacePage.html#InterfacePage.save" /> <keyword name="InvalidISO8859Error" id="InvalidISO8859Error" ref="eric6.E5Network.E5RFC6266.html#InvalidISO8859Error" /> + <keyword name="InvalidModulePath" id="InvalidModulePath" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#InvalidModulePath" /> <keyword name="InvalidPlistException" id="InvalidPlistException" ref="eric6.Utilities.binplistlib.html#InvalidPlistException" /> <keyword name="IrcChannel" id="IrcChannel" ref="eric6.Network.IRC.IrcNetworkManager.html#IrcChannel" /> <keyword name="IrcChannel (Constructor)" id="IrcChannel (Constructor)" ref="eric6.Network.IRC.IrcNetworkManager.html#IrcChannel.__init__" /> @@ -9725,6 +9779,7 @@ <keyword name="MicroPythonWidget.__downloadFirmware" id="MicroPythonWidget.__downloadFirmware" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__downloadFirmware" /> <keyword name="MicroPythonWidget.__getDeviceTime" id="MicroPythonWidget.__getDeviceTime" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__getDeviceTime" /> <keyword name="MicroPythonWidget.__handlePreferencesChanged" id="MicroPythonWidget.__handlePreferencesChanged" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__handlePreferencesChanged" /> + <keyword name="MicroPythonWidget.__manageIgnored" id="MicroPythonWidget.__manageIgnored" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__manageIgnored" /> <keyword name="MicroPythonWidget.__mpyCrossAvailable" id="MicroPythonWidget.__mpyCrossAvailable" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__mpyCrossAvailable" /> <keyword name="MicroPythonWidget.__paste" id="MicroPythonWidget.__paste" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__paste" /> <keyword name="MicroPythonWidget.__populateDeviceTypeComboBox" id="MicroPythonWidget.__populateDeviceTypeComboBox" ref="eric6.MicroPython.MicroPythonWidget.html#MicroPythonWidget.__populateDeviceTypeComboBox" /> @@ -10156,11 +10211,13 @@ <keyword name="NetworkManager.__load" id="NetworkManager.__load" ref="eric6.WebBrowser.Network.NetworkManager.html#NetworkManager.__load" /> <keyword name="NetworkManager.__save" id="NetworkManager.__save" ref="eric6.WebBrowser.Network.NetworkManager.html#NetworkManager.__save" /> <keyword name="NetworkManager.__showAuthenticationErrorPage" id="NetworkManager.__showAuthenticationErrorPage" ref="eric6.WebBrowser.Network.NetworkManager.html#NetworkManager.__showAuthenticationErrorPage" /> + <keyword name="NetworkManager.__sslErrorHandlingSlot" id="NetworkManager.__sslErrorHandlingSlot" ref="eric6.WebBrowser.Network.NetworkManager.html#NetworkManager.__sslErrorHandlingSlot" /> <keyword name="NetworkManager.authentication" id="NetworkManager.authentication" ref="eric6.WebBrowser.Network.NetworkManager.html#NetworkManager.authentication" /> <keyword name="NetworkManager.certificateError" id="NetworkManager.certificateError" ref="eric6.WebBrowser.Network.NetworkManager.html#NetworkManager.certificateError" /> <keyword name="NetworkManager.clearSslExceptions" id="NetworkManager.clearSslExceptions" ref="eric6.WebBrowser.Network.NetworkManager.html#NetworkManager.clearSslExceptions" /> <keyword name="NetworkManager.createRequest" id="NetworkManager.createRequest" ref="eric6.WebBrowser.Network.NetworkManager.html#NetworkManager.createRequest" /> <keyword name="NetworkManager.installUrlInterceptor" id="NetworkManager.installUrlInterceptor" ref="eric6.WebBrowser.Network.NetworkManager.html#NetworkManager.installUrlInterceptor" /> + <keyword name="NetworkManager.isInsecureHost" id="NetworkManager.isInsecureHost" ref="eric6.WebBrowser.Network.NetworkManager.html#NetworkManager.isInsecureHost" /> <keyword name="NetworkManager.languagesChanged" id="NetworkManager.languagesChanged" ref="eric6.WebBrowser.Network.NetworkManager.html#NetworkManager.languagesChanged" /> <keyword name="NetworkManager.preferencesChanged" id="NetworkManager.preferencesChanged" ref="eric6.WebBrowser.Network.NetworkManager.html#NetworkManager.preferencesChanged" /> <keyword name="NetworkManager.proxyAuthentication" id="NetworkManager.proxyAuthentication" ref="eric6.WebBrowser.Network.NetworkManager.html#NetworkManager.proxyAuthentication" /> @@ -10551,6 +10608,9 @@ <keyword name="Pip (Constructor)" id="Pip (Constructor)" ref="eric6.PipInterface.Pip.html#Pip.__init__" /> <keyword name="Pip (Module)" id="Pip (Module)" ref="eric6.PipInterface.Pip.html" /> <keyword name="Pip.__checkUpgradePyQt" id="Pip.__checkUpgradePyQt" ref="eric6.PipInterface.Pip.html#Pip.__checkUpgradePyQt" /> + <keyword name="Pip.cacheList" id="Pip.cacheList" ref="eric6.PipInterface.Pip.html#Pip.cacheList" /> + <keyword name="Pip.cachePurge" id="Pip.cachePurge" ref="eric6.PipInterface.Pip.html#Pip.cachePurge" /> + <keyword name="Pip.cacheRemove" id="Pip.cacheRemove" ref="eric6.PipInterface.Pip.html#Pip.cacheRemove" /> <keyword name="Pip.getIndexUrl" id="Pip.getIndexUrl" ref="eric6.PipInterface.Pip.html#Pip.getIndexUrl" /> <keyword name="Pip.getIndexUrlXml" id="Pip.getIndexUrlXml" ref="eric6.PipInterface.Pip.html#Pip.getIndexUrlXml" /> <keyword name="Pip.getInstalledPackages" id="Pip.getInstalledPackages" ref="eric6.PipInterface.Pip.html#Pip.getInstalledPackages" /> @@ -10566,6 +10626,7 @@ <keyword name="Pip.installRequirements" id="Pip.installRequirements" ref="eric6.PipInterface.Pip.html#Pip.installRequirements" /> <keyword name="Pip.repairPip" id="Pip.repairPip" ref="eric6.PipInterface.Pip.html#Pip.repairPip" /> <keyword name="Pip.runProcess" id="Pip.runProcess" ref="eric6.PipInterface.Pip.html#Pip.runProcess" /> + <keyword name="Pip.showCacheInfo" id="Pip.showCacheInfo" ref="eric6.PipInterface.Pip.html#Pip.showCacheInfo" /> <keyword name="Pip.uninstallPackages" id="Pip.uninstallPackages" ref="eric6.PipInterface.Pip.html#Pip.uninstallPackages" /> <keyword name="Pip.uninstallRequirements" id="Pip.uninstallRequirements" ref="eric6.PipInterface.Pip.html#Pip.uninstallRequirements" /> <keyword name="Pip.upgradePackages" id="Pip.upgradePackages" ref="eric6.PipInterface.Pip.html#Pip.upgradePackages" /> @@ -10641,12 +10702,16 @@ <keyword name="PipPackagesWidget.__pipConfigure" id="PipPackagesWidget.__pipConfigure" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__pipConfigure" /> <keyword name="PipPackagesWidget.__populateEnvironments" id="PipPackagesWidget.__populateEnvironments" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__populateEnvironments" /> <keyword name="PipPackagesWidget.__processSearchResult" id="PipPackagesWidget.__processSearchResult" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__processSearchResult" /> + <keyword name="PipPackagesWidget.__purgeCache" id="PipPackagesWidget.__purgeCache" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__purgeCache" /> <keyword name="PipPackagesWidget.__refreshPackagesList" id="PipPackagesWidget.__refreshPackagesList" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__refreshPackagesList" /> + <keyword name="PipPackagesWidget.__removeCachedFiles" id="PipPackagesWidget.__removeCachedFiles" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__removeCachedFiles" /> <keyword name="PipPackagesWidget.__repairPip" id="PipPackagesWidget.__repairPip" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__repairPip" /> <keyword name="PipPackagesWidget.__score" id="PipPackagesWidget.__score" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__score" /> <keyword name="PipPackagesWidget.__search" id="PipPackagesWidget.__search" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__search" /> <keyword name="PipPackagesWidget.__searchError" id="PipPackagesWidget.__searchError" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__searchError" /> <keyword name="PipPackagesWidget.__selectedUpdateableItems" id="PipPackagesWidget.__selectedUpdateableItems" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__selectedUpdateableItems" /> + <keyword name="PipPackagesWidget.__showCacheInfo" id="PipPackagesWidget.__showCacheInfo" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__showCacheInfo" /> + <keyword name="PipPackagesWidget.__showCacheList" id="PipPackagesWidget.__showCacheList" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__showCacheList" /> <keyword name="PipPackagesWidget.__showPackageDetails" id="PipPackagesWidget.__showPackageDetails" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__showPackageDetails" /> <keyword name="PipPackagesWidget.__showSearchedDetails" id="PipPackagesWidget.__showSearchedDetails" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__showSearchedDetails" /> <keyword name="PipPackagesWidget.__transformHits" id="PipPackagesWidget.__transformHits" ref="eric6.PipInterface.PipPackagesWidget.html#PipPackagesWidget.__transformHits" /> @@ -12603,6 +12668,57 @@ <keyword name="SearchWidget.searchStringFound" id="SearchWidget.searchStringFound" ref="eric6.UI.SearchWidget.html#SearchWidget.searchStringFound" /> <keyword name="SearchWidget.showFind" id="SearchWidget.showFind" ref="eric6.UI.SearchWidget.html#SearchWidget.showFind" /> <keyword name="SearchWidget.showFind" id="SearchWidget.showFind" ref="eric6.WebBrowser.SearchWidget.html#SearchWidget.showFind" /> + <keyword name="Security (Package)" id="Security (Package)" ref="index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.html" /> + <keyword name="SecurityChecker" id="SecurityChecker" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html#SecurityChecker" /> + <keyword name="SecurityChecker (Constructor)" id="SecurityChecker (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html#SecurityChecker.__init__" /> + <keyword name="SecurityChecker (Module)" id="SecurityChecker (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html" /> + <keyword name="SecurityChecker.__generateTree" id="SecurityChecker.__generateTree" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html#SecurityChecker.__generateTree" /> + <keyword name="SecurityChecker.__ignoreCode" id="SecurityChecker.__ignoreCode" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html#SecurityChecker.__ignoreCode" /> + <keyword name="SecurityChecker.__reportInvalidSyntax" id="SecurityChecker.__reportInvalidSyntax" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html#SecurityChecker.__reportInvalidSyntax" /> + <keyword name="SecurityChecker.getConfig" id="SecurityChecker.getConfig" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html#SecurityChecker.getConfig" /> + <keyword name="SecurityChecker.reportError" id="SecurityChecker.reportError" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html#SecurityChecker.reportError" /> + <keyword name="SecurityChecker.run" id="SecurityChecker.run" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html#SecurityChecker.run" /> + <keyword name="SecurityContext" id="SecurityContext" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext" /> + <keyword name="SecurityContext (Constructor)" id="SecurityContext (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.__init__" /> + <keyword name="SecurityContext (Module)" id="SecurityContext (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html" /> + <keyword name="SecurityContext.__getLiteralValue" id="SecurityContext.__getLiteralValue" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.__getLiteralValue" /> + <keyword name="SecurityContext.__repr__" id="SecurityContext.__repr__" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.__repr__" /> + <keyword name="SecurityContext.bytesVal" id="SecurityContext.bytesVal" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.bytesVal" /> + <keyword name="SecurityContext.callArgs" id="SecurityContext.callArgs" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.callArgs" /> + <keyword name="SecurityContext.callArgsCount" id="SecurityContext.callArgsCount" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.callArgsCount" /> + <keyword name="SecurityContext.callFunctionName" id="SecurityContext.callFunctionName" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.callFunctionName" /> + <keyword name="SecurityContext.callFunctionNameQual" id="SecurityContext.callFunctionNameQual" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.callFunctionNameQual" /> + <keyword name="SecurityContext.callKeywords" id="SecurityContext.callKeywords" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.callKeywords" /> + <keyword name="SecurityContext.checkCallArgValue" id="SecurityContext.checkCallArgValue" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.checkCallArgValue" /> + <keyword name="SecurityContext.functionDefDefaultsQual" id="SecurityContext.functionDefDefaultsQual" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.functionDefDefaultsQual" /> + <keyword name="SecurityContext.getCallArgAtPosition" id="SecurityContext.getCallArgAtPosition" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.getCallArgAtPosition" /> + <keyword name="SecurityContext.getCallArgValue" id="SecurityContext.getCallArgValue" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.getCallArgValue" /> + <keyword name="SecurityContext.getLinenoForCallArg" id="SecurityContext.getLinenoForCallArg" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.getLinenoForCallArg" /> + <keyword name="SecurityContext.getOffsetForCallArg" id="SecurityContext.getOffsetForCallArg" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.getOffsetForCallArg" /> + <keyword name="SecurityContext.isModuleBeingImported" id="SecurityContext.isModuleBeingImported" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.isModuleBeingImported" /> + <keyword name="SecurityContext.isModuleImportedExact" id="SecurityContext.isModuleImportedExact" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.isModuleImportedExact" /> + <keyword name="SecurityContext.isModuleImportedLike" id="SecurityContext.isModuleImportedLike" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.isModuleImportedLike" /> + <keyword name="SecurityContext.node" id="SecurityContext.node" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.node" /> + <keyword name="SecurityContext.statement" id="SecurityContext.statement" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.statement" /> + <keyword name="SecurityContext.stringVal" id="SecurityContext.stringVal" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.stringVal" /> + <keyword name="SecurityContext.stringValAsEscapedBytes" id="SecurityContext.stringValAsEscapedBytes" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html#SecurityContext.stringValAsEscapedBytes" /> + <keyword name="SecurityDefaults (Module)" id="SecurityDefaults (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityDefaults.html" /> + <keyword name="SecurityNodeVisitor" id="SecurityNodeVisitor" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor" /> + <keyword name="SecurityNodeVisitor (Constructor)" id="SecurityNodeVisitor (Constructor)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.__init__" /> + <keyword name="SecurityNodeVisitor (Module)" id="SecurityNodeVisitor (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html" /> + <keyword name="SecurityNodeVisitor.__postVisit" id="SecurityNodeVisitor.__postVisit" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.__postVisit" /> + <keyword name="SecurityNodeVisitor.__preVisit" id="SecurityNodeVisitor.__preVisit" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.__preVisit" /> + <keyword name="SecurityNodeVisitor.__runChecks" id="SecurityNodeVisitor.__runChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.__runChecks" /> + <keyword name="SecurityNodeVisitor.generic_visit" id="SecurityNodeVisitor.generic_visit" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.generic_visit" /> + <keyword name="SecurityNodeVisitor.visit" id="SecurityNodeVisitor.visit" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.visit" /> + <keyword name="SecurityNodeVisitor.visit_Bytes" id="SecurityNodeVisitor.visit_Bytes" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.visit_Bytes" /> + <keyword name="SecurityNodeVisitor.visit_Call" id="SecurityNodeVisitor.visit_Call" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.visit_Call" /> + <keyword name="SecurityNodeVisitor.visit_ClassDef" id="SecurityNodeVisitor.visit_ClassDef" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.visit_ClassDef" /> + <keyword name="SecurityNodeVisitor.visit_Constant" id="SecurityNodeVisitor.visit_Constant" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.visit_Constant" /> + <keyword name="SecurityNodeVisitor.visit_FunctionDef" id="SecurityNodeVisitor.visit_FunctionDef" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.visit_FunctionDef" /> + <keyword name="SecurityNodeVisitor.visit_Import" id="SecurityNodeVisitor.visit_Import" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.visit_Import" /> + <keyword name="SecurityNodeVisitor.visit_ImportFrom" id="SecurityNodeVisitor.visit_ImportFrom" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.visit_ImportFrom" /> + <keyword name="SecurityNodeVisitor.visit_Str" id="SecurityNodeVisitor.visit_Str" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html#SecurityNodeVisitor.visit_Str" /> <keyword name="SecurityPage" id="SecurityPage" ref="eric6.Preferences.ConfigurationPages.SecurityPage.html#SecurityPage" /> <keyword name="SecurityPage (Constructor)" id="SecurityPage (Constructor)" ref="eric6.Preferences.ConfigurationPages.SecurityPage.html#SecurityPage.__init__" /> <keyword name="SecurityPage (Module)" id="SecurityPage (Module)" ref="eric6.Preferences.ConfigurationPages.SecurityPage.html" /> @@ -12610,6 +12726,7 @@ <keyword name="SecurityPage.on_masterPasswordCheckBox_clicked" id="SecurityPage.on_masterPasswordCheckBox_clicked" ref="eric6.Preferences.ConfigurationPages.SecurityPage.html#SecurityPage.on_masterPasswordCheckBox_clicked" /> <keyword name="SecurityPage.save" id="SecurityPage.save" ref="eric6.Preferences.ConfigurationPages.SecurityPage.html#SecurityPage.save" /> <keyword name="SecurityPage.setMode" id="SecurityPage.setMode" ref="eric6.Preferences.ConfigurationPages.SecurityPage.html#SecurityPage.setMode" /> + <keyword name="SecurityUtils (Module)" id="SecurityUtils (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html" /> <keyword name="SendRefererWhitelistDialog" id="SendRefererWhitelistDialog" ref="eric6.WebBrowser.Network.SendRefererWhitelistDialog.html#SendRefererWhitelistDialog" /> <keyword name="SendRefererWhitelistDialog (Constructor)" id="SendRefererWhitelistDialog (Constructor)" ref="eric6.WebBrowser.Network.SendRefererWhitelistDialog.html#SendRefererWhitelistDialog.__init__" /> <keyword name="SendRefererWhitelistDialog (Module)" id="SendRefererWhitelistDialog (Module)" ref="eric6.WebBrowser.Network.SendRefererWhitelistDialog.html" /> @@ -15222,7 +15339,6 @@ <keyword name="UserInterface.__activateViewProfile" id="UserInterface.__activateViewProfile" ref="eric6.UI.UserInterface.html#UserInterface.__activateViewProfile" /> <keyword name="UserInterface.__activateViewmanager" id="UserInterface.__activateViewmanager" ref="eric6.UI.UserInterface.html#UserInterface.__activateViewmanager" /> <keyword name="UserInterface.__assistant" id="UserInterface.__assistant" ref="eric6.UI.UserInterface.html#UserInterface.__assistant" /> - <keyword name="UserInterface.__assistant4" id="UserInterface.__assistant4" ref="eric6.UI.UserInterface.html#UserInterface.__assistant4" /> <keyword name="UserInterface.__checkActions" id="UserInterface.__checkActions" ref="eric6.UI.UserInterface.html#UserInterface.__checkActions" /> <keyword name="UserInterface.__chmViewer" id="UserInterface.__chmViewer" ref="eric6.UI.UserInterface.html#UserInterface.__chmViewer" /> <keyword name="UserInterface.__clearPrivateData" id="UserInterface.__clearPrivateData" ref="eric6.UI.UserInterface.html#UserInterface.__clearPrivateData" /> @@ -15243,7 +15359,6 @@ <keyword name="UserInterface.__deinstallPlugin" id="UserInterface.__deinstallPlugin" ref="eric6.UI.UserInterface.html#UserInterface.__deinstallPlugin" /> <keyword name="UserInterface.__deleteCrashSession" id="UserInterface.__deleteCrashSession" ref="eric6.UI.UserInterface.html#UserInterface.__deleteCrashSession" /> <keyword name="UserInterface.__designer" id="UserInterface.__designer" ref="eric6.UI.UserInterface.html#UserInterface.__designer" /> - <keyword name="UserInterface.__designer4" id="UserInterface.__designer4" ref="eric6.UI.UserInterface.html#UserInterface.__designer4" /> <keyword name="UserInterface.__editPixmap" id="UserInterface.__editPixmap" ref="eric6.UI.UserInterface.html#UserInterface.__editPixmap" /> <keyword name="UserInterface.__editorOpened" id="UserInterface.__editorOpened" ref="eric6.UI.UserInterface.html#UserInterface.__editorOpened" /> <keyword name="UserInterface.__exportPreferences" id="UserInterface.__exportPreferences" ref="eric6.UI.UserInterface.html#UserInterface.__exportPreferences" /> @@ -15269,7 +15384,6 @@ <keyword name="UserInterface.__lastEditorClosed" id="UserInterface.__lastEditorClosed" ref="eric6.UI.UserInterface.html#UserInterface.__lastEditorClosed" /> <keyword name="UserInterface.__launchExternalWebBrowser" id="UserInterface.__launchExternalWebBrowser" ref="eric6.UI.UserInterface.html#UserInterface.__launchExternalWebBrowser" /> <keyword name="UserInterface.__linguist" id="UserInterface.__linguist" ref="eric6.UI.UserInterface.html#UserInterface.__linguist" /> - <keyword name="UserInterface.__linguist4" id="UserInterface.__linguist4" ref="eric6.UI.UserInterface.html#UserInterface.__linguist4" /> <keyword name="UserInterface.__loadSessionFromFile" id="UserInterface.__loadSessionFromFile" ref="eric6.UI.UserInterface.html#UserInterface.__loadSessionFromFile" /> <keyword name="UserInterface.__masterPasswordChanged" id="UserInterface.__masterPasswordChanged" ref="eric6.UI.UserInterface.html#UserInterface.__masterPasswordChanged" /> <keyword name="UserInterface.__newProject" id="UserInterface.__newProject" ref="eric6.UI.UserInterface.html#UserInterface.__newProject" /> @@ -16299,7 +16413,7 @@ <keyword name="WebBrowserTabWidget.__initTabContextMenu" id="WebBrowserTabWidget.__initTabContextMenu" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__initTabContextMenu" /> <keyword name="WebBrowserTabWidget.__lineEditReturnPressed" id="WebBrowserTabWidget.__lineEditReturnPressed" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__lineEditReturnPressed" /> <keyword name="WebBrowserTabWidget.__loadFinished" id="WebBrowserTabWidget.__loadFinished" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__loadFinished" /> - <keyword name="WebBrowserTabWidget.__loadStarted" id="WebBrowserTabWidget.__loadStarted" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__loadStarted" /> + <keyword name="WebBrowserTabWidget.__loadProgress" id="WebBrowserTabWidget.__loadProgress" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__loadProgress" /> <keyword name="WebBrowserTabWidget.__navigationMenuTriggered" id="WebBrowserTabWidget.__navigationMenuTriggered" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__navigationMenuTriggered" /> <keyword name="WebBrowserTabWidget.__newBrowser" id="WebBrowserTabWidget.__newBrowser" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__newBrowser" /> <keyword name="WebBrowserTabWidget.__pathSelected" id="WebBrowserTabWidget.__pathSelected" ref="eric6.WebBrowser.WebBrowserTabWidget.html#WebBrowserTabWidget.__pathSelected" /> @@ -16900,6 +17014,7 @@ <keyword name="_ClbrBase.setEndLine" id="_ClbrBase.setEndLine" ref="eric6.Utilities.ClassBrowsers.ClbrBaseClasses.html#_ClbrBase.setEndLine" /> <keyword name="__check" id="__check" ref="eric6.Plugins.CheckerPlugins.Tabnanny.Tabnanny.html#__check" /> <keyword name="__checkCodeStyle" id="__checkCodeStyle" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker.html#__checkCodeStyle" /> + <keyword name="__checkSyntax" id="__checkSyntax" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker.html#__checkSyntax" /> <keyword name="__getMasterPassword" id="__getMasterPassword" ref="eric6.Utilities.crypto.__init__.html#__getMasterPassword" /> <keyword name="__getPygmentsLexer" id="__getPygmentsLexer" ref="eric6.QScintilla.Lexers.__init__.html#__getPygmentsLexer" /> <keyword name="__initChannelModesDict" id="__initChannelModesDict" ref="eric6.Network.IRC.IrcUtilities.html#__initChannelModesDict" /> @@ -16923,6 +17038,11 @@ <keyword name="_add_check" id="_add_check" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#_add_check" /> <keyword name="_break_around_binary_operators" id="_break_around_binary_operators" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#_break_around_binary_operators" /> <keyword name="_buildChildrenLists" id="_buildChildrenLists" ref="eric6.Graphics.GraphicsUtilities.html#_buildChildrenLists" /> + <keyword name="_checkString" id="_checkString" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql.html#_checkString" /> + <keyword name="_classifyKeySize" id="_classifyKeySize" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey.html#_classifyKeySize" /> + <keyword name="_evaluateAst" id="_evaluateAst" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql.html#_evaluateAst" /> + <keyword name="_evaluateShellCall" id="_evaluateShellCall" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.html#_evaluateShellCall" /> + <keyword name="_get" id="_get" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#_get" /> <keyword name="_get_parameters" id="_get_parameters" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#_get_parameters" /> <keyword name="_getfullargs" id="_getfullargs" ref="eric6.DebugClients.Python.DebugUtilities.html#_getfullargs" /> <keyword name="_indent" id="_indent" ref="eric6.Utilities.ClassBrowsers.pyclbr.html#_indent" /> @@ -16930,9 +17050,12 @@ <keyword name="_initTypeMap" id="_initTypeMap" ref="eric6.DebugClients.Python.DebugVariables.html#_initTypeMap" /> <keyword name="_is_binary_operator" id="_is_binary_operator" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#_is_binary_operator" /> <keyword name="_is_eol_token" id="_is_eol_token" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#_is_eol_token" /> + <keyword name="_is_one_liner" id="_is_one_liner" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#_is_one_liner" /> <keyword name="_main" id="_main" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#_main" /> <keyword name="_parse_multi_options" id="_parse_multi_options" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#_parse_multi_options" /> <keyword name="_percentReplacementFunc" id="_percentReplacementFunc" ref="eric6.Utilities.__init__.html#_percentReplacementFunc" /> + <keyword name="_weakCryptoKeySizeCryptography" id="_weakCryptoKeySizeCryptography" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey.html#_weakCryptoKeySizeCryptography" /> + <keyword name="_weakCryptoKeySizePycrypto" id="_weakCryptoKeySizePycrypto" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey.html#_weakCryptoKeySizePycrypto" /> <keyword name="absolutePath" id="absolutePath" ref="eric6.Utilities.__init__.html#absolutePath" /> <keyword name="absoluteUniversalPath" id="absoluteUniversalPath" ref="eric6.Utilities.__init__.html#absoluteUniversalPath" /> <keyword name="addActions" id="addActions" ref="eric6.E5Gui.E5Action.html#addActions" /> @@ -16942,15 +17065,57 @@ <keyword name="amendConfig" id="amendConfig" ref="eric6.Plugins.VcsPlugins.vcsSubversion.SvnUtilities.html#amendConfig" /> <keyword name="analyze" id="analyze" ref="eric6.DataViews.CodeMetrics.html#analyze" /> <keyword name="append_PKCS7_padding" id="append_PKCS7_padding" ref="eric6.Utilities.crypto.py3AES.html#append_PKCS7_padding" /> + <keyword name="assert (Module)" id="assert (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert.html" /> + <keyword name="awsHardcodedPassword (Module)" id="awsHardcodedPassword (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.html" /> <keyword name="bare_except" id="bare_except" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#bare_except" /> <keyword name="batchCheck" id="batchCheck" ref="eric6.Plugins.CheckerPlugins.Tabnanny.Tabnanny.html#batchCheck" /> <keyword name="binplistlib (Module)" id="binplistlib (Module)" ref="eric6.Utilities.binplistlib.html" /> + <keyword name="blackListCalls (Module)" id="blackListCalls (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListCalls.html" /> + <keyword name="blackListImports (Module)" id="blackListImports (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListImports.html" /> <keyword name="blank_lines" id="blank_lines" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#blank_lines" /> <keyword name="break_after_binary_operator" id="break_after_binary_operator" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#break_after_binary_operator" /> <keyword name="break_before_binary_operator" id="break_before_binary_operator" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#break_before_binary_operator" /> + <keyword name="certificateValidation (Module)" id="certificateValidation (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.certificateValidation.html" /> <keyword name="changeRememberedMaster" id="changeRememberedMaster" ref="eric6.Utilities.crypto.__init__.html#changeRememberedMaster" /> <keyword name="check" id="check" ref="eric6.Plugins.CheckerPlugins.Tabnanny.Tabnanny.html#check" /> + <keyword name="checkAssertUsed" id="checkAssertUsed" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert.html#checkAssertUsed" /> + <keyword name="checkBindAllInterfaces" id="checkBindAllInterfaces" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalBindAllInterfaces.html#checkBindAllInterfaces" /> + <keyword name="checkBlacklist" id="checkBlacklist" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListCalls.html#checkBlacklist" /> + <keyword name="checkBlacklist" id="checkBlacklist" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListImports.html#checkBlacklist" /> + <keyword name="checkDjangoExtraUsed" id="checkDjangoExtraUsed" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection.html#checkDjangoExtraUsed" /> + <keyword name="checkDjangoRawSqlUsed" id="checkDjangoRawSqlUsed" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection.html#checkDjangoRawSqlUsed" /> + <keyword name="checkDjangoXssVulnerability" id="checkDjangoXssVulnerability" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html#checkDjangoXssVulnerability" /> + <keyword name="checkExecUsed" id="checkExecUsed" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.exec.html#checkExecUsed" /> + <keyword name="checkFilePermissions" id="checkFilePermissions" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions.html#checkFilePermissions" /> + <keyword name="checkFlaskDebug" id="checkFlaskDebug" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.flaskDebug.html#checkFlaskDebug" /> + <keyword name="checkHardcodedAwsKey" id="checkHardcodedAwsKey" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.html#checkHardcodedAwsKey" /> + <keyword name="checkHardcodedPasswordAsDefault" id="checkHardcodedPasswordAsDefault" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.html#checkHardcodedPasswordAsDefault" /> + <keyword name="checkHardcodedPasswordAsFunctionArg" id="checkHardcodedPasswordAsFunctionArg" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.html#checkHardcodedPasswordAsFunctionArg" /> + <keyword name="checkHardcodedPasswordAsString" id="checkHardcodedPasswordAsString" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.html#checkHardcodedPasswordAsString" /> + <keyword name="checkHardcodedSqlExpressions" id="checkHardcodedSqlExpressions" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql.html#checkHardcodedSqlExpressions" /> + <keyword name="checkHardcodedTmpDirectory" id="checkHardcodedTmpDirectory" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedTmp.html#checkHardcodedTmpDirectory" /> + <keyword name="checkHashlibNew" id="checkHashlibNew" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.html#checkHashlibNew" /> + <keyword name="checkInsecureSslDefaults" id="checkInsecureSslDefaults" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls.html#checkInsecureSslDefaults" /> + <keyword name="checkInsecureSslProtocolVersion" id="checkInsecureSslProtocolVersion" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls.html#checkInsecureSslProtocolVersion" /> + <keyword name="checkJinja2Autoescape" id="checkJinja2Autoescape" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.jinja2Templates.html#checkJinja2Autoescape" /> + <keyword name="checkLinuxCommandsWildcardInjection" id="checkLinuxCommandsWildcardInjection" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionWildcard.html#checkLinuxCommandsWildcardInjection" /> + <keyword name="checkMakoTemplateUsage" id="checkMakoTemplateUsage" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.makoTemplates.html#checkMakoTemplateUsage" /> + <keyword name="checkNoCertificateValidation" id="checkNoCertificateValidation" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.certificateValidation.html#checkNoCertificateValidation" /> + <keyword name="checkOtherFunctionWithShell" id="checkOtherFunctionWithShell" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.html#checkOtherFunctionWithShell" /> + <keyword name="checkParamikoCalls" id="checkParamikoCalls" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionParamiko.html#checkParamikoCalls" /> + <keyword name="checkPotentialRisk" id="checkPotentialRisk" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html#checkPotentialRisk" /> <keyword name="checkPyside" id="checkPyside" ref="eric6.Utilities.__init__.html#checkPyside" /> + <keyword name="checkSshNoHostKeyVerification" id="checkSshNoHostKeyVerification" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.sshNoHostKeyVerification.html#checkSshNoHostKeyVerification" /> + <keyword name="checkSslWithoutVersion" id="checkSslWithoutVersion" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls.html#checkSslWithoutVersion" /> + <keyword name="checkStartProcessWithNoShell" id="checkStartProcessWithNoShell" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.html#checkStartProcessWithNoShell" /> + <keyword name="checkStartProcessWithPartialPath" id="checkStartProcessWithPartialPath" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.html#checkStartProcessWithPartialPath" /> + <keyword name="checkStartProcessWithShell" id="checkStartProcessWithShell" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.html#checkStartProcessWithShell" /> + <keyword name="checkSubprocessPopenWithShell" id="checkSubprocessPopenWithShell" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.html#checkSubprocessPopenWithShell" /> + <keyword name="checkSubprocessPopenWithoutShell" id="checkSubprocessPopenWithoutShell" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.html#checkSubprocessPopenWithoutShell" /> + <keyword name="checkTryExceptContinue" id="checkTryExceptContinue" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.html#checkTryExceptContinue" /> + <keyword name="checkTryExceptPass" id="checkTryExceptPass" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.html#checkTryExceptPass" /> + <keyword name="checkWeakCryptographicKey" id="checkWeakCryptographicKey" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey.html#checkWeakCryptographicKey" /> + <keyword name="checkYamlLoad" id="checkYamlLoad" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.yamlLoad.html#checkYamlLoad" /> <keyword name="className" id="className" ref="eric6.Project.UicLoadUi.html#className" /> <keyword name="cleanUp" id="cleanUp" ref="install-debugclients.html#cleanUp" /> <keyword name="cleanUp" id="cleanUp" ref="install.html#cleanUp" /> @@ -16981,6 +17146,7 @@ <keyword name="completeFormData" id="completeFormData" ref="eric6.WebBrowser.Tools.Scripts.html#completeFormData" /> <keyword name="composeCallPath" id="composeCallPath" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html#composeCallPath" /> <keyword name="compound_statements" id="compound_statements" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#compound_statements" /> + <keyword name="concatString" id="concatString" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#concatString" /> <keyword name="condaVersion" id="condaVersion" ref="eric6.CondaInterface.__init__.html#condaVersion" /> <keyword name="condaVersionStr" id="condaVersionStr" ref="eric6.CondaInterface.__init__.html#condaVersionStr" /> <keyword name="confirmOverwrite" id="confirmOverwrite" ref="eric6.E5Gui.E5FileSaveConfirmDialog.html#confirmOverwrite" /> @@ -17119,6 +17285,7 @@ <keyword name="decodeString" id="decodeString" ref="eric6.Utilities.__init__.html#decodeString" /> <keyword name="decoratedName" id="decoratedName" ref="eric6.MicroPython.MicroPythonFileSystemUtilities.html#decoratedName" /> <keyword name="decryptData" id="decryptData" ref="eric6.Utilities.crypto.py3AES.html#decryptData" /> + <keyword name="deepgetattr" id="deepgetattr" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#deepgetattr" /> <keyword name="desktopName" id="desktopName" ref="eric6.Globals.__init__.html#desktopName" /> <keyword name="detect_encoding" id="detect_encoding" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html#detect_encoding" /> <keyword name="determinePythonVersion" id="determinePythonVersion" ref="eric6.Utilities.__init__.html#determinePythonVersion" /> @@ -17127,6 +17294,8 @@ <keyword name="displayString" id="displayString" ref="eric6.Plugins.PluginVcsMercurial.html#displayString" /> <keyword name="displayString" id="displayString" ref="eric6.Plugins.PluginVcsPySvn.html#displayString" /> <keyword name="displayString" id="displayString" ref="eric6.Plugins.PluginVcsSubversion.html#displayString" /> + <keyword name="djangoSqlInjection (Module)" id="djangoSqlInjection (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection.html" /> + <keyword name="djangoXssVulnerability (Module)" id="djangoXssVulnerability (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html" /> <keyword name="doDependancyChecks" id="doDependancyChecks" ref="install.html#doDependancyChecks" /> <keyword name="drawPolygon" id="drawPolygon" ref="eric6.Snapshot.SnapshotFreehandGrabber.html#drawPolygon" /> <keyword name="drawRect" id="drawRect" ref="eric6.Snapshot.SnapshotRegionGrabber.html#drawRect" /> @@ -17165,6 +17334,9 @@ <keyword name="eric6dbgstub (Module)" id="eric6dbgstub (Module)" ref="eric6.DebugClients.Python.eric6dbgstub.html" /> <keyword name="escape_entities" id="escape_entities" ref="eric6.Utilities.__init__.html#escape_entities" /> <keyword name="escape_uentities" id="escape_uentities" ref="eric6.Utilities.__init__.html#escape_uentities" /> + <keyword name="escapedBytesRepresentation" id="escapedBytesRepresentation" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#escapedBytesRepresentation" /> + <keyword name="evaluateCall" id="evaluateCall" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html#evaluateCall" /> + <keyword name="evaluateVar" id="evaluateVar" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html#evaluateVar" /> <keyword name="excepthook" id="excepthook" ref="eric6.eric6.html#excepthook" /> <keyword name="exeDisplayData" id="exeDisplayData" ref="eric6.Plugins.PluginEricapi.html#exeDisplayData" /> <keyword name="exeDisplayData" id="exeDisplayData" ref="eric6.Plugins.PluginVcsGit.html#exeDisplayData" /> @@ -17172,6 +17344,7 @@ <keyword name="exeDisplayData" id="exeDisplayData" ref="eric6.Plugins.PluginVcsPySvn.html#exeDisplayData" /> <keyword name="exeDisplayData" id="exeDisplayData" ref="eric6.Plugins.PluginVcsSubversion.html#exeDisplayData" /> <keyword name="exeDisplayDataList" id="exeDisplayDataList" ref="eric6.Plugins.PluginEricdoc.html#exeDisplayDataList" /> + <keyword name="exec (Module)" id="exec (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.exec.html" /> <keyword name="exit" id="exit" ref="install-debugclients.html#exit" /> <keyword name="exit" id="exit" ref="install.html#exit" /> <keyword name="exit" id="exit" ref="uninstall-debugclients.html#exit" /> @@ -17199,11 +17372,17 @@ <keyword name="find_module" id="find_module" ref="eric6.Utilities.ModuleParser.html#find_module" /> <keyword name="fix_file" id="fix_file" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html#fix_file" /> <keyword name="flashDataPathForOS" id="flashDataPathForOS" ref="eric6.WebBrowser.FlashCookieManager.FlashCookieUtilities.html#flashDataPathForOS" /> + <keyword name="flaskDebug (Module)" id="flaskDebug (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.flaskDebug.html" /> <keyword name="formatTime" id="formatTime" ref="eric6.Plugins.VcsPlugins.vcsPySvn.SvnUtilities.html#formatTime" /> <keyword name="format_witnesses" id="format_witnesses" ref="eric6.Plugins.CheckerPlugins.Tabnanny.Tabnanny.html#format_witnesses" /> <keyword name="formatargvalues" id="formatargvalues" ref="eric6.DebugClients.Python.DebugUtilities.html#formatargvalues" /> <keyword name="fromNativeSeparators" id="fromNativeSeparators" ref="eric6.Utilities.__init__.html#fromNativeSeparators" /> <keyword name="fstat" id="fstat" ref="eric6.MicroPython.MicroPythonFileSystemUtilities.html#fstat" /> + <keyword name="generalBindAllInterfaces (Module)" id="generalBindAllInterfaces (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalBindAllInterfaces.html" /> + <keyword name="generalFilePermissions (Module)" id="generalFilePermissions (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions.html" /> + <keyword name="generalHardcodedPassword (Module)" id="generalHardcodedPassword (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.html" /> + <keyword name="generalHardcodedTmp (Module)" id="generalHardcodedTmp (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedTmp.html" /> + <keyword name="generateCheckersDict" id="generateCheckersDict" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.__init__.html#generateCheckersDict" /> <keyword name="generateDistroInfo" id="generateDistroInfo" ref="eric6.Utilities.__init__.html#generateDistroInfo" /> <keyword name="generatePluginsVersionInfo" id="generatePluginsVersionInfo" ref="eric6.Utilities.__init__.html#generatePluginsVersionInfo" /> <keyword name="generatePyQtToolPath" id="generatePyQtToolPath" ref="eric6.Utilities.__init__.html#generatePyQtToolPath" /> @@ -17213,8 +17392,36 @@ <keyword name="getAllImages" id="getAllImages" ref="eric6.WebBrowser.Tools.Scripts.html#getAllImages" /> <keyword name="getAllMetaAttributes" id="getAllMetaAttributes" ref="eric6.WebBrowser.Tools.Scripts.html#getAllMetaAttributes" /> <keyword name="getAnnotationComplexity" id="getAnnotationComplexity" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AnnotationsChecker.html#getAnnotationComplexity" /> + <keyword name="getAttrQualName" id="getAttrQualName" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#getAttrQualName" /> <keyword name="getBasicHelper" id="getBasicHelper" ref="eric6.VCS.__init__.html#getBasicHelper" /> + <keyword name="getCallName" id="getCallName" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#getCallName" /> + <keyword name="getCalledName" id="getCalledName" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#getCalledName" /> <keyword name="getChannelModesDict" id="getChannelModesDict" ref="eric6.Network.IRC.IrcUtilities.html#getChannelModesDict" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListCalls.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListImports.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.certificateValidation.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.exec.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.flaskDebug.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalBindAllInterfaces.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedTmp.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionParamiko.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionWildcard.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.jinja2Templates.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.makoTemplates.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.sshNoHostKeyVerification.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey.html#getChecks" /> + <keyword name="getChecks" id="getChecks" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.yamlLoad.html#getChecks" /> <keyword name="getCombinedIcon" id="getCombinedIcon" ref="eric6.UI.PixmapCache.html#getCombinedIcon" /> <keyword name="getCompleter" id="getCompleter" ref="eric6.QScintilla.TypingCompleters.__init__.html#getCompleter" /> <keyword name="getConda" id="getConda" ref="eric6.Preferences.__init__.html#getConda" /> @@ -17288,7 +17495,9 @@ <keyword name="getLexer" id="getLexer" ref="eric6.QScintilla.Lexers.__init__.html#getLexer" /> <keyword name="getLongDescription" id="getLongDescription" ref="setup.html#getLongDescription" /> <keyword name="getMarkupProvider" id="getMarkupProvider" ref="eric6.QScintilla.MarkupProviders.__init__.html#getMarkupProvider" /> + <keyword name="getMessageCodes" id="getMessageCodes" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.html#getMessageCodes" /> <keyword name="getMicroPython" id="getMicroPython" ref="eric6.Preferences.__init__.html#getMicroPython" /> + <keyword name="getModuleQualnameFromPath" id="getModuleQualnameFromPath" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#getModuleQualnameFromPath" /> <keyword name="getMultiProject" id="getMultiProject" ref="eric6.Preferences.__init__.html#getMultiProject" /> <keyword name="getOpenFileFiltersList" id="getOpenFileFiltersList" ref="eric6.QScintilla.Lexers.__init__.html#getOpenFileFiltersList" /> <keyword name="getOpenFileName" id="getOpenFileName" ref="eric6.E5Gui.E5FileDialog.html#getOpenFileName" /> @@ -17320,6 +17529,7 @@ <keyword name="getQtBinariesPath" id="getQtBinariesPath" ref="eric6.Globals.__init__.html#getQtBinariesPath" /> <keyword name="getQtMacBundle" id="getQtMacBundle" ref="eric6.Utilities.__init__.html#getQtMacBundle" /> <keyword name="getQtTranslationsDir" id="getQtTranslationsDir" ref="eric6.Preferences.__init__.html#getQtTranslationsDir" /> + <keyword name="getQualAttr" id="getQualAttr" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#getQualAttr" /> <keyword name="getRealName" id="getRealName" ref="eric6.Utilities.__init__.html#getRealName" /> <keyword name="getRegistryData" id="getRegistryData" ref="eric6.Debugger.DebuggerInterfaceNone.html#getRegistryData" /> <keyword name="getRegistryData" id="getRegistryData" ref="eric6.Debugger.DebuggerInterfacePython.html#getRegistryData" /> @@ -17381,6 +17591,7 @@ <keyword name="handleArgs" id="handleArgs" ref="eric6.Toolbox.Startup.html#handleArgs" /> <keyword name="handleSingleApplication" id="handleSingleApplication" ref="eric6.eric6.html#handleSingleApplication" /> <keyword name="hasEnvironmentEntry" id="hasEnvironmentEntry" ref="eric6.Utilities.__init__.html#hasEnvironmentEntry" /> + <keyword name="hasShell" id="hasShell" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.html#hasShell" /> <keyword name="hasTypeAnnotations" id="hasTypeAnnotations" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.AnnotationsChecker.html#hasTypeAnnotations" /> <keyword name="hashPassword" id="hashPassword" ref="eric6.Utilities.crypto.py3PBKDF2.html#hashPassword" /> <keyword name="hashPasswordTuple" id="hashPasswordTuple" ref="eric6.Utilities.crypto.py3PBKDF2.html#hashPasswordTuple" /> @@ -17419,6 +17630,12 @@ <keyword name="initService" id="initService" ref="eric6.Plugins.CheckerPlugins.SyntaxChecker.yamlCheckSyntax.html#initService" /> <keyword name="initService" id="initService" ref="eric6.Plugins.CheckerPlugins.Tabnanny.Tabnanny.html#initService" /> <keyword name="initializeResourceSearchPath" id="initializeResourceSearchPath" ref="eric6.Toolbox.Startup.html#initializeResourceSearchPath" /> + <keyword name="injectionParamiko (Module)" id="injectionParamiko (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionParamiko.html" /> + <keyword name="injectionShell (Module)" id="injectionShell (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.html" /> + <keyword name="injectionSql (Module)" id="injectionSql (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql.html" /> + <keyword name="injectionWildcard (Module)" id="injectionWildcard (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionWildcard.html" /> + <keyword name="insecureHashlibNew (Module)" id="insecureHashlibNew (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.html" /> + <keyword name="insecureSslTls (Module)" id="insecureSslTls (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls.html" /> <keyword name="install (Module)" id="install (Module)" ref="install.html" /> <keyword name="install-debugclients (Module)" id="install-debugclients (Module)" ref="install-debugclients.html" /> <keyword name="install-i18n (Module)" id="install-i18n (Module)" ref="install-i18n.html" /> @@ -17461,6 +17678,7 @@ <keyword name="is_stream_binary_plist" id="is_stream_binary_plist" ref="eric6.Utilities.binplistlib.html#is_stream_binary_plist" /> <keyword name="is_string_literal" id="is_string_literal" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#is_string_literal" /> <keyword name="isinpath" id="isinpath" ref="eric6.Utilities.__init__.html#isinpath" /> + <keyword name="jinja2Templates (Module)" id="jinja2Templates (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.jinja2Templates.html" /> <keyword name="joinext" id="joinext" ref="eric6.Utilities.__init__.html#joinext" /> <keyword name="jsCheckSyntax (Module)" id="jsCheckSyntax (Module)" ref="eric6.Plugins.CheckerPlugins.SyntaxChecker.jsCheckSyntax.html" /> <keyword name="jsSyntaxBatchCheck" id="jsSyntaxBatchCheck" ref="eric6.Plugins.CheckerPlugins.SyntaxChecker.jsCheckSyntax.html#jsSyntaxBatchCheck" /> @@ -17469,7 +17687,10 @@ <keyword name="jsonCheckSyntax (Module)" id="jsonCheckSyntax (Module)" ref="eric6.Plugins.CheckerPlugins.SyntaxChecker.jsonCheckSyntax.html" /> <keyword name="jsonSyntaxBatchCheck" id="jsonSyntaxBatchCheck" ref="eric6.Plugins.CheckerPlugins.SyntaxChecker.jsonCheckSyntax.html#jsonSyntaxBatchCheck" /> <keyword name="jsonSyntaxCheck" id="jsonSyntaxCheck" ref="eric6.Plugins.CheckerPlugins.SyntaxChecker.jsonCheckSyntax.html#jsonSyntaxCheck" /> + <keyword name="keywords2dict" id="keywords2dict" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection.html#keywords2dict" /> <keyword name="largefiles (Module)" id="largefiles (Module)" ref="eric6.Plugins.VcsPlugins.vcsMercurial.LargefilesExtension.largefiles.html" /> + <keyword name="linerange" id="linerange" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#linerange" /> + <keyword name="linerange_fix" id="linerange_fix" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#linerange_fix" /> <keyword name="linesep" id="linesep" ref="eric6.Utilities.__init__.html#linesep" /> <keyword name="listdirStat" id="listdirStat" ref="eric6.MicroPython.MicroPythonFileSystemUtilities.html#listdirStat" /> <keyword name="loadTranslatorForLocale" id="loadTranslatorForLocale" ref="eric6.Toolbox.Startup.html#loadTranslatorForLocale" /> @@ -17512,6 +17733,7 @@ <keyword name="main" id="main" ref="uninstall-debugclients.html#main" /> <keyword name="main" id="main" ref="uninstall.html#main" /> <keyword name="makeAppInfo" id="makeAppInfo" ref="eric6.Globals.AppInfo.html#makeAppInfo" /> + <keyword name="makoTemplates (Module)" id="makoTemplates (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.makoTemplates.html" /> <keyword name="maximum_doc_length" id="maximum_doc_length" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#maximum_doc_length" /> <keyword name="maximum_line_length" id="maximum_line_length" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#maximum_line_length" /> <keyword name="mccabe (Module)" id="mccabe (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html" /> @@ -17526,6 +17748,8 @@ <keyword name="mtime2string" id="mtime2string" ref="eric6.MicroPython.MicroPythonFileSystemUtilities.html#mtime2string" /> <keyword name="multiline_case" id="multiline_case" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html#multiline_case" /> <keyword name="mute_string" id="mute_string" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#mute_string" /> + <keyword name="namespacePathJoin" id="namespacePathJoin" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#namespacePathJoin" /> + <keyword name="namespacePathSplit" id="namespacePathSplit" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html#namespacePathSplit" /> <keyword name="normabsjoinpath" id="normabsjoinpath" ref="eric6.Utilities.__init__.html#normabsjoinpath" /> <keyword name="normabspath" id="normabspath" ref="eric6.Utilities.__init__.html#normabspath" /> <keyword name="normalizeCode" id="normalizeCode" ref="eric6.Plugins.CheckerPlugins.SyntaxChecker.SyntaxCheck.html#normalizeCode" /> @@ -17653,6 +17877,7 @@ <keyword name="sbsdiff" id="sbsdiff" ref="eric6.UI.CompareDialog.html#sbsdiff" /> <keyword name="schemeFromProxyType" id="schemeFromProxyType" ref="eric6.E5Network.E5NetworkProxyFactory.html#schemeFromProxyType" /> <keyword name="scrollToAnchor" id="scrollToAnchor" ref="eric6.WebBrowser.Tools.Scripts.html#scrollToAnchor" /> + <keyword name="securityOk" id="securityOk" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker.html#securityOk" /> <keyword name="sendPostData" id="sendPostData" ref="eric6.WebBrowser.Tools.Scripts.html#sendPostData" /> <keyword name="sessionType" id="sessionType" ref="eric6.Globals.__init__.html#sessionType" /> <keyword name="setActions" id="setActions" ref="eric6.Preferences.Shortcuts.html#setActions" /> @@ -17712,6 +17937,7 @@ <keyword name="setupFormObserver" id="setupFormObserver" ref="eric6.WebBrowser.Tools.Scripts.html#setupFormObserver" /> <keyword name="setupWebChannel" id="setupWebChannel" ref="eric6.WebBrowser.Tools.Scripts.html#setupWebChannel" /> <keyword name="setupWindowObject" id="setupWindowObject" ref="eric6.WebBrowser.Tools.Scripts.html#setupWindowObject" /> + <keyword name="shannonEntropy" id="shannonEntropy" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.html#shannonEntropy" /> <keyword name="shelve (Module)" id="shelve (Module)" ref="eric6.Plugins.VcsPlugins.vcsMercurial.ShelveExtension.shelve.html" /> <keyword name="shouldResetLayout" id="shouldResetLayout" ref="eric6.Preferences.__init__.html#shouldResetLayout" /> <keyword name="shutilCopy" id="shutilCopy" ref="install-debugclients.html#shutilCopy" /> @@ -17721,6 +17947,7 @@ <keyword name="sort" id="sort" ref="eric6.Graphics.GraphicsUtilities.html#sort" /> <keyword name="speedString" id="speedString" ref="eric6.WebBrowser.Download.DownloadUtilities.html#speedString" /> <keyword name="splitPath" id="splitPath" ref="eric6.Utilities.__init__.html#splitPath" /> + <keyword name="sshNoHostKeyVerification (Module)" id="sshNoHostKeyVerification (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.sshNoHostKeyVerification.html" /> <keyword name="startDebugger" id="startDebugger" ref="eric6.DebugClients.Python.eric6dbgstub.html#startDebugger" /> <keyword name="startswithPath" id="startswithPath" ref="eric6.Utilities.__init__.html#startswithPath" /> <keyword name="stdin_get_value" id="stdin_get_value" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#stdin_get_value" /> @@ -17751,8 +17978,11 @@ <keyword name="toSecondLevelDomain" id="toSecondLevelDomain" ref="eric6.WebBrowser.AdBlock.AdBlockRule.html#toSecondLevelDomain" /> <keyword name="trailing_blank_lines" id="trailing_blank_lines" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#trailing_blank_lines" /> <keyword name="trailing_whitespace" id="trailing_whitespace" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#trailing_whitespace" /> + <keyword name="transform2call" id="transform2call" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html#transform2call" /> <keyword name="translate" id="translate" ref="eric6.Globals.__init__.html#translate" /> + <keyword name="translations (Module)" id="translations (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.translations.html" /> <keyword name="translations (Module)" id="translations (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.translations.html" /> + <keyword name="tryExcept (Module)" id="tryExcept (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.html" /> <keyword name="uiStartUp" id="uiStartUp" ref="eric6.eric6.html#uiStartUp" /> <keyword name="uic (Module)" id="uic (Module)" ref="eric6.Utilities.uic.html" /> <keyword name="unescape_uentities" id="unescape_uentities" ref="eric6.Utilities.__init__.html#unescape_uentities" /> @@ -17788,6 +18018,7 @@ <keyword name="version" id="version" ref="eric6.eric6_doc.html#version" /> <keyword name="versionToTuple" id="versionToTuple" ref="eric6.Globals.__init__.html#versionToTuple" /> <keyword name="warning" id="warning" ref="eric6.E5Gui.E5MessageBox.html#warning" /> + <keyword name="weakCryptographicKey (Module)" id="weakCryptographicKey (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey.html" /> <keyword name="webBrowserSupport (Module)" id="webBrowserSupport (Module)" ref="eric6.Tools.webBrowserSupport.html" /> <keyword name="whitespace_around_comma" id="whitespace_around_comma" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#whitespace_around_comma" /> <keyword name="whitespace_around_keywords" id="whitespace_around_keywords" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html#whitespace_around_keywords" /> @@ -17820,6 +18051,7 @@ <keyword name="writePlist" id="writePlist" ref="eric6.Utilities.binplistlib.html#writePlist" /> <keyword name="writePlistToBytes" id="writePlistToBytes" ref="eric6.Utilities.binplistlib.html#writePlistToBytes" /> <keyword name="yamlCheckSyntax (Module)" id="yamlCheckSyntax (Module)" ref="eric6.Plugins.CheckerPlugins.SyntaxChecker.yamlCheckSyntax.html" /> + <keyword name="yamlLoad (Module)" id="yamlLoad (Module)" ref="eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.yamlLoad.html" /> <keyword name="yamlSyntaxBatchCheck" id="yamlSyntaxBatchCheck" ref="eric6.Plugins.CheckerPlugins.SyntaxChecker.yamlCheckSyntax.html#yamlSyntaxBatchCheck" /> <keyword name="yamlSyntaxCheck" id="yamlSyntaxCheck" ref="eric6.Plugins.CheckerPlugins.SyntaxChecker.yamlCheckSyntax.html#yamlSyntaxCheck" /> <keyword name="yesNo" id="yesNo" ref="eric6.E5Gui.E5MessageBox.html#yesNo" /> @@ -18011,6 +18243,7 @@ <file>eric6.MicroPython.EspBackupRestoreFirmwareDialog.html</file> <file>eric6.MicroPython.EspDevices.html</file> <file>eric6.MicroPython.EspFirmwareSelectionDialog.html</file> + <file>eric6.MicroPython.IgnoredDevicesDialog.html</file> <file>eric6.MicroPython.MicroPythonCommandsInterface.html</file> <file>eric6.MicroPython.MicroPythonDevices.html</file> <file>eric6.MicroPython.MicroPythonFileManager.html</file> @@ -18064,6 +18297,38 @@ <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.DocStyleChecker.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.MiscellaneousChecker.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.NamingStyleChecker.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.__init__.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListCalls.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListImports.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.certificateValidation.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.exec.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.flaskDebug.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalBindAllInterfaces.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedTmp.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionParamiko.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionWildcard.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.jinja2Templates.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.makoTemplates.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.sshNoHostKeyVerification.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.yamlLoad.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityDefaults.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html</file> + <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.translations.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.eradicate.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.mccabe.html</file> <file>eric6.Plugins.CheckerPlugins.CodeStyleChecker.pycodestyle.html</file> @@ -18895,6 +19160,8 @@ <file>index-eric6.PipInterface.html</file> <file>index-eric6.PluginManager.html</file> <file>index-eric6.Plugins.AboutPlugin.html</file> + <file>index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.html</file> + <file>index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.html</file> <file>index-eric6.Plugins.CheckerPlugins.CodeStyleChecker.html</file> <file>index-eric6.Plugins.CheckerPlugins.SyntaxChecker.html</file> <file>index-eric6.Plugins.CheckerPlugins.Tabnanny.html</file>
--- a/eric6/Documentation/Source/eric6.E5Gui.E5StringListEditWidget.html Sun May 03 13:42:52 2020 +0200 +++ b/eric6/Documentation/Source/eric6.E5Gui.E5StringListEditWidget.html Wed Jun 17 17:14:12 2020 +0200 @@ -89,6 +89,10 @@ <td>Private slot to add an entry to the list.</td> </tr> <tr> +<td><a href="#E5StringListEditWidget.setAddVisible">setAddVisible</a></td> +<td>Public method to show or hide the add button.</td> +</tr> +<tr> <td><a href="#E5StringListEditWidget.setDefaultVisible">setDefaultVisible</a></td> <td>Public method to show or hide the default button.</td> </tr> @@ -141,6 +145,20 @@ <p> Private slot to add an entry to the list. </p> +<a NAME="E5StringListEditWidget.setAddVisible" ID="E5StringListEditWidget.setAddVisible"></a> +<h4>E5StringListEditWidget.setAddVisible</h4> +<b>setAddVisible</b>(<i>visible</i>) + +<p> + Public method to show or hide the add button. +</p> +<dl> + +<dt><i>visible</i> (bool)</dt> +<dd> +flag indicating the visibility of the add button +</dd> +</dl> <a NAME="E5StringListEditWidget.setDefaultVisible" ID="E5StringListEditWidget.setDefaultVisible"></a> <h4>E5StringListEditWidget.setDefaultVisible</h4> <b>setDefaultVisible</b>(<i>visible</i>)
--- a/eric6/Documentation/Source/eric6.MicroPython.EspFirmwareSelectionDialog.html Sun May 03 13:42:52 2020 +0200 +++ b/eric6/Documentation/Source/eric6.MicroPython.EspFirmwareSelectionDialog.html Wed Jun 17 17:14:12 2020 +0200 @@ -59,7 +59,7 @@ <h3>Class Attributes</h3> <table> -<tr><td>None</td></tr> +<tr><td>FlashModes</td></tr> </table> <h3>Class Methods</h3> @@ -133,13 +133,13 @@ <dt>Returns:</dt> <dd> tuple containing the selected chip type, the path of the - firmware file and the flash address + firmware file, the flash mode and the flash address </dd> </dl> <dl> <dt>Return Type:</dt> <dd> -tuple of (str, str, str) +tuple of (str, str, str, str) </dd> </dl> <a NAME="EspFirmwareSelectionDialog.on_espComboBox_currentTextChanged" ID="EspFirmwareSelectionDialog.on_espComboBox_currentTextChanged"></a>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.MicroPython.IgnoredDevicesDialog.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,126 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.MicroPython.IgnoredDevicesDialog</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.MicroPython.IgnoredDevicesDialog</h1> + +<p> +Module implementing a dialog to manage the list of ignored serial devices. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#IgnoredDevicesDialog">IgnoredDevicesDialog</a></td> +<td>Class implementing a dialog to manage the list of ignored serial devices.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="IgnoredDevicesDialog" ID="IgnoredDevicesDialog"></a> +<h2>IgnoredDevicesDialog</h2> + +<p> + Class implementing a dialog to manage the list of ignored serial devices. +</p> +<h3>Derived from</h3> +QDialog, Ui_IgnoredDevicesDialog +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#IgnoredDevicesDialog.__init__">IgnoredDevicesDialog</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#IgnoredDevicesDialog.getDevices">getDevices</a></td> +<td>Public method to get the list of ignored serial devices.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="IgnoredDevicesDialog.__init__" ID="IgnoredDevicesDialog.__init__"></a> +<h4>IgnoredDevicesDialog (Constructor)</h4> +<b>IgnoredDevicesDialog</b>(<i>deviceList, parent=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>deviceList</i> (list of tuple of (int, int))</dt> +<dd> +list of ignored serial devices given by VID and PID +</dd> +<dt><i>parent</i> (QWidget)</dt> +<dd> +reference to the parent widget +</dd> +</dl> +<a NAME="IgnoredDevicesDialog.getDevices" ID="IgnoredDevicesDialog.getDevices"></a> +<h4>IgnoredDevicesDialog.getDevices</h4> +<b>getDevices</b>(<i></i>) + +<p> + Public method to get the list of ignored serial devices. +</p> +<dl> +<dt>Returns:</dt> +<dd> +list of tuples containing the VID, PID and a description + of each ignored device +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list of tuple of (int, int, str) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- a/eric6/Documentation/Source/eric6.MicroPython.MicroPythonDevices.html Sun May 03 13:42:52 2020 +0200 +++ b/eric6/Documentation/Source/eric6.MicroPython.MicroPythonDevices.html Wed Jun 17 17:14:12 2020 +0200 @@ -633,14 +633,17 @@ <dl> <dt>Returns:</dt> <dd> -set of tuples with the board type, a description and the serial - port it is connected at +tuple containing a list of tuples with the board type, a + description and the serial port it is connected at for known device + types and a list of tuples with VID, PID and description for unknown + devices </dd> </dl> <dl> <dt>Return Type:</dt> <dd> -set of tuples of (str, str, str) +tuple of (list of tuples of (str, str, str), list of tuples of + (int, int, str) </dd> </dl> <div align="right"><a href="#top">Up</a></div>
--- a/eric6/Documentation/Source/eric6.MicroPython.MicroPythonWidget.html Sun May 03 13:42:52 2020 +0200 +++ b/eric6/Documentation/Source/eric6.MicroPython.MicroPythonWidget.html Wed Jun 17 17:14:12 2020 +0200 @@ -130,6 +130,10 @@ <td>Private slot to handle a change in preferences.</td> </tr> <tr> +<td><a href="#MicroPythonWidget.__manageIgnored">__manageIgnored</a></td> +<td>Private slot to manage the list of ignored serial devices.</td> +</tr> +<tr> <td><a href="#MicroPythonWidget.__mpyCrossAvailable">__mpyCrossAvailable</a></td> <td>Private method to check the availability of mpy-cross.</td> </tr> @@ -397,6 +401,13 @@ <p> Private slot to handle a change in preferences. </p> +<a NAME="MicroPythonWidget.__manageIgnored" ID="MicroPythonWidget.__manageIgnored"></a> +<h4>MicroPythonWidget.__manageIgnored</h4> +<b>__manageIgnored</b>(<i></i>) + +<p> + Private slot to manage the list of ignored serial devices. +</p> <a NAME="MicroPythonWidget.__mpyCrossAvailable" ID="MicroPythonWidget.__mpyCrossAvailable"></a> <h4>MicroPythonWidget.__mpyCrossAvailable</h4> <b>__mpyCrossAvailable</b>(<i></i>)
--- a/eric6/Documentation/Source/eric6.PipInterface.Pip.html Sun May 03 13:42:52 2020 +0200 +++ b/eric6/Documentation/Source/eric6.PipInterface.Pip.html Wed Jun 17 17:14:12 2020 +0200 @@ -77,6 +77,18 @@ <td>Private method to check, if an upgrade of PyQt packages is attempted.</td> </tr> <tr> +<td><a href="#Pip.cacheList">cacheList</a></td> +<td>Public method to list files contained in the pip cache.</td> +</tr> +<tr> +<td><a href="#Pip.cachePurge">cachePurge</a></td> +<td>Public method to remove all files from the pip cache.</td> +</tr> +<tr> +<td><a href="#Pip.cacheRemove">cacheRemove</a></td> +<td>Public method to remove files from the pip cache.</td> +</tr> +<tr> <td><a href="#Pip.getIndexUrl">getIndexUrl</a></td> <td>Public method to get the index URL for PyPI.</td> </tr> @@ -137,6 +149,10 @@ <td>Public method to execute the current pip with the given arguments.</td> </tr> <tr> +<td><a href="#Pip.showCacheInfo">showCacheInfo</a></td> +<td>Public method to show some information about the pip cache.</td> +</tr> +<tr> <td><a href="#Pip.uninstallPackages">uninstallPackages</a></td> <td>Public method to uninstall the given list of packages.</td> </tr> @@ -195,6 +211,48 @@ bool </dd> </dl> +<a NAME="Pip.cacheList" ID="Pip.cacheList"></a> +<h4>Pip.cacheList</h4> +<b>cacheList</b>(<i>venvName</i>) + +<p> + Public method to list files contained in the pip cache. +</p> +<dl> + +<dt><i>venvName</i> (str)</dt> +<dd> +name of the virtual environment to be used +</dd> +</dl> +<a NAME="Pip.cachePurge" ID="Pip.cachePurge"></a> +<h4>Pip.cachePurge</h4> +<b>cachePurge</b>(<i>venvName</i>) + +<p> + Public method to remove all files from the pip cache. +</p> +<dl> + +<dt><i>venvName</i> (str)</dt> +<dd> +name of the virtual environment to be used +</dd> +</dl> +<a NAME="Pip.cacheRemove" ID="Pip.cacheRemove"></a> +<h4>Pip.cacheRemove</h4> +<b>cacheRemove</b>(<i>venvName</i>) + +<p> + Public method to remove files from the pip cache. +</p> +<dl> + +<dt><i>venvName</i> (str)</dt> +<dd> +name of the virtual environment to be used +</dd> +</dl> <a NAME="Pip.getIndexUrl" ID="Pip.getIndexUrl"></a> <h4>Pip.getIndexUrl</h4> <b>getIndexUrl</b>(<i></i>) @@ -570,6 +628,20 @@ tuple of (bool, str) </dd> </dl> +<a NAME="Pip.showCacheInfo" ID="Pip.showCacheInfo"></a> +<h4>Pip.showCacheInfo</h4> +<b>showCacheInfo</b>(<i>venvName</i>) + +<p> + Public method to show some information about the pip cache. +</p> +<dl> + +<dt><i>venvName</i> (str)</dt> +<dd> +name of the virtual environment to be used +</dd> +</dl> <a NAME="Pip.uninstallPackages" ID="Pip.uninstallPackages"></a> <h4>Pip.uninstallPackages</h4> <b>uninstallPackages</b>(<i>packages, venvName</i>)
--- a/eric6/Documentation/Source/eric6.PipInterface.PipPackagesWidget.html Sun May 03 13:42:52 2020 +0200 +++ b/eric6/Documentation/Source/eric6.PipInterface.PipPackagesWidget.html Wed Jun 17 17:14:12 2020 +0200 @@ -149,10 +149,18 @@ <td>Private method to process the search result data from PyPI.</td> </tr> <tr> +<td><a href="#PipPackagesWidget.__purgeCache">__purgeCache</a></td> +<td>Private slot to empty the pip cache.</td> +</tr> +<tr> <td><a href="#PipPackagesWidget.__refreshPackagesList">__refreshPackagesList</a></td> <td>Private method to referesh the packages list.</td> </tr> <tr> +<td><a href="#PipPackagesWidget.__removeCachedFiles">__removeCachedFiles</a></td> +<td>Private slot to remove files from the pip cache.</td> +</tr> +<tr> <td><a href="#PipPackagesWidget.__repairPip">__repairPip</a></td> <td>Private slot to repair the pip installation of the selected environment.</td> </tr> @@ -173,6 +181,14 @@ <td>Private method to get a list of selected items that can be updated.</td> </tr> <tr> +<td><a href="#PipPackagesWidget.__showCacheInfo">__showCacheInfo</a></td> +<td>Private slot to show information about the cache.</td> +</tr> +<tr> +<td><a href="#PipPackagesWidget.__showCacheList">__showCacheList</a></td> +<td>Private slot to show a list of cached files.</td> +</tr> +<tr> <td><a href="#PipPackagesWidget.__showPackageDetails">__showPackageDetails</a></td> <td>Private method to populate the package details dialog.</td> </tr> @@ -521,6 +537,13 @@ result data with hits in the first element </dd> </dl> +<a NAME="PipPackagesWidget.__purgeCache" ID="PipPackagesWidget.__purgeCache"></a> +<h4>PipPackagesWidget.__purgeCache</h4> +<b>__purgeCache</b>(<i></i>) + +<p> + Private slot to empty the pip cache. +</p> <a NAME="PipPackagesWidget.__refreshPackagesList" ID="PipPackagesWidget.__refreshPackagesList"></a> <h4>PipPackagesWidget.__refreshPackagesList</h4> <b>__refreshPackagesList</b>(<i></i>) @@ -528,6 +551,13 @@ <p> Private method to referesh the packages list. </p> +<a NAME="PipPackagesWidget.__removeCachedFiles" ID="PipPackagesWidget.__removeCachedFiles"></a> +<h4>PipPackagesWidget.__removeCachedFiles</h4> +<b>__removeCachedFiles</b>(<i></i>) + +<p> + Private slot to remove files from the pip cache. +</p> <a NAME="PipPackagesWidget.__repairPip" ID="PipPackagesWidget.__repairPip"></a> <h4>PipPackagesWidget.__repairPip</h4> <b>__repairPip</b>(<i></i>) @@ -610,6 +640,20 @@ list of QTreeWidgetItem </dd> </dl> +<a NAME="PipPackagesWidget.__showCacheInfo" ID="PipPackagesWidget.__showCacheInfo"></a> +<h4>PipPackagesWidget.__showCacheInfo</h4> +<b>__showCacheInfo</b>(<i></i>) + +<p> + Private slot to show information about the cache. +</p> +<a NAME="PipPackagesWidget.__showCacheList" ID="PipPackagesWidget.__showCacheList"></a> +<h4>PipPackagesWidget.__showCacheList</h4> +<b>__showCacheList</b>(<i></i>) + +<p> + Private slot to show a list of cached files. +</p> <a NAME="PipPackagesWidget.__showPackageDetails" ID="PipPackagesWidget.__showPackageDetails"></a> <h4>PipPackagesWidget.__showPackageDetails</h4> <b>__showPackageDetails</b>(<i>packageName, packageVersion</i>)
--- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker.html Sun May 03 13:42:52 2020 +0200 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleChecker.html Wed Jun 17 17:14:12 2020 +0200 @@ -48,6 +48,10 @@ <td>Private module function to perform the code style check and/or fix found errors.</td> </tr> <tr> +<td><a href="#__checkSyntax">__checkSyntax</a></td> +<td>Private module function to perform a syntax check.</td> +</tr> +<tr> <td><a href="#codeStyleBatchCheck">codeStyleBatchCheck</a></td> <td>Module function to check code style for a batch of files.</td> </tr> @@ -72,6 +76,10 @@ <td>Initialize the service and return the entry point.</td> </tr> <tr> +<td><a href="#securityOk">securityOk</a></td> +<td>Function to check, if the given code is an acknowledged security report.</td> +</tr> +<tr> <td><a href="#worker">worker</a></td> <td>Module function acting as the parallel worker for the style check.</td> </tr> @@ -192,23 +200,67 @@ excludeMessages, includeMessages, repeatMessages, fixCodes, noFixCodes, fixIssues, maxLineLength, maxDocLineLength, blankLines, hangClosing, docType, codeComplexityArgs, miscellaneousArgs, - annotationArgs, errors, eol, encoding, backup) - bool, str, dict, dict, list of str, str, str, bool) + annotationArgs, securityArgs, errors, eol, encoding, backup) + bool, str, dict, dict, dict, list of str, str, str, bool) </dd> </dl> <dl> <dt>Returns:</dt> <dd> -tuple of statistics (dict) and list of results (tuple for each - found violation of style (lineno, position, text, ignored, fixed, - autofixing, fixedMsg)) +tuple of statistics data and list of result dictionaries with + keys: + <ul> + <li>file: file name</li> + <li>line: line_number</li> + <li>offset: offset within line</li> + <li>code: message code</li> + <li>args: list of arguments to format the message</li> + <li>ignored: flag indicating this issue was ignored</li> + <li>fixed: flag indicating this issue was fixed</li> + <li>autofixing: flag indicating that a fix can be done</li> + <li>fixcode: message code for the fix</li> + <li>fixargs: list of arguments to format the fix message</li> + </ul> </dd> </dl> <dl> <dt>Return Type:</dt> <dd> -tuple of (dict, list of tuples of (int, int, str, bool, bool, bool, - str)) +tuple of (dict, list of dict) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="__checkSyntax" ID="__checkSyntax"></a> +<h2>__checkSyntax</h2> +<b>__checkSyntax</b>(<i>filename, source</i>) + +<p> + Private module function to perform a syntax check. +</p> +<dl> + +<dt><i>filename</i> (str)</dt> +<dd> +source filename +</dd> +<dt><i>source</i> (str)</dt> +<dd> +string containing the code to check +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +tuple containing the error dictionary with syntax error details + and a statistics dictionary or a tuple containing two None +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (dict, dict) or tuple of (None, None) </dd> </dl> <div align="right"><a href="#top">Up</a></div> @@ -393,6 +445,39 @@ <div align="right"><a href="#top">Up</a></div> <hr /> <hr /> +<a NAME="securityOk" ID="securityOk"></a> +<h2>securityOk</h2> +<b>securityOk</b>(<i>code, lineFlags</i>) + +<p> + Function to check, if the given code is an acknowledged security report. +</p> +<dl> + +<dt><i>code</i> (str)</dt> +<dd> +error code to be checked +</dd> +<dt><i>lineFlags</i> (list of str)</dt> +<dd> +list of line flags to check against +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating an acknowledged security report +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> <a NAME="worker" ID="worker"></a> <h2>worker</h2> <b>worker</b>(<i>inputQueue, outputQueue</i>)
--- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html Sun May 03 13:42:52 2020 +0200 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCheckerDialog.html Wed Jun 17 17:14:12 2020 +0200 @@ -57,7 +57,7 @@ <h3>Class Attributes</h3> <table> -<tr><td>availableFutures</td></tr><tr><td>codeRole</td></tr><tr><td>filenameRole</td></tr><tr><td>fixableRole</td></tr><tr><td>hasResults</td></tr><tr><td>ignoredRole</td></tr><tr><td>lineRole</td></tr><tr><td>messageRole</td></tr><tr><td>noFiles</td></tr><tr><td>noResults</td></tr><tr><td>positionRole</td></tr> +<tr><td>argsRole</td></tr><tr><td>availableFutures</td></tr><tr><td>checkCategories</td></tr><tr><td>codeRole</td></tr><tr><td>cryptoBitSelectionsDsaRsa</td></tr><tr><td>cryptoBitSelectionsEc</td></tr><tr><td>filenameRole</td></tr><tr><td>fixableRole</td></tr><tr><td>hasResults</td></tr><tr><td>ignoredRole</td></tr><tr><td>lineRole</td></tr><tr><td>messageRole</td></tr><tr><td>noFiles</td></tr><tr><td>noResults</td></tr><tr><td>positionRole</td></tr> </table> <h3>Class Methods</h3> @@ -73,10 +73,18 @@ <td>Constructor</td> </tr> <tr> +<td><a href="#CodeStyleCheckerDialog.__assembleExcludeMessages">__assembleExcludeMessages</a></td> +<td>Private method to assemble the list of excluded checks.</td> +</tr> +<tr> <td><a href="#CodeStyleCheckerDialog.__batchFinished">__batchFinished</a></td> <td>Private slot handling the completion of a batch job.</td> </tr> <tr> +<td><a href="#CodeStyleCheckerDialog.__cleanupData">__cleanupData</a></td> +<td>Private method to clean the loaded/entered data of redundant entries.</td> +</tr> +<tr> <td><a href="#CodeStyleCheckerDialog.__clearErrors">__clearErrors</a></td> <td>Private method to clear all warning markers of open editors to be checked.</td> </tr> @@ -85,6 +93,10 @@ <td>Private slot to create a new error item in the result list.</td> </tr> <tr> +<td><a href="#CodeStyleCheckerDialog.__createFileErrorItem">__createFileErrorItem</a></td> +<td>Private method to create an error entry for a given file.</td> +</tr> +<tr> <td><a href="#CodeStyleCheckerDialog.__createResultItem">__createResultItem</a></td> <td>Private method to create an entry in the result list.</td> </tr> @@ -97,6 +109,10 @@ <td>Private method to get a dictionary containing the builtins assignments to be ignored.</td> </tr> <tr> +<td><a href="#CodeStyleCheckerDialog.__getCategories">__getCategories</a></td> +<td>Private method to get the enabled or disabled checker categories.</td> +</tr> +<tr> <td><a href="#CodeStyleCheckerDialog.__getEol">__getEol</a></td> <td>Private method to get the applicable eol string.</td> </tr> @@ -113,6 +129,10 @@ <td>Private method to populate the list of shadowed builtins to be ignored.</td> </tr> <tr> +<td><a href="#CodeStyleCheckerDialog.__initCategoriesList">__initCategoriesList</a></td> +<td>Private method to set the enabled status of the checker categories.</td> +</tr> +<tr> <td><a href="#CodeStyleCheckerDialog.__initFuturesList">__initFuturesList</a></td> <td>Private method to set the selected status of the future imports.</td> </tr> @@ -209,6 +229,10 @@ <td>Private slot to reset the configuration values to their default values.</td> </tr> <tr> +<td><a href="#CodeStyleCheckerDialog.on_restartButton_clicked">on_restartButton_clicked</a></td> +<td>Private slot to restart a code style check run.</td> +</tr> +<tr> <td><a href="#CodeStyleCheckerDialog.on_resultList_itemActivated">on_resultList_itemActivated</a></td> <td>Private slot to handle the activation of an item.</td> </tr> @@ -256,14 +280,32 @@ </p> <dl> -<dt><i>styleCheckService</i></dt> +<dt><i>styleCheckService</i> (CodeStyleCheckService)</dt> <dd> reference to the service - (CodeStyleCheckService) +</dd> +<dt><i>parent</i> (QWidget)</dt> +<dd> +reference to the parent widget </dd> -<dt><i>parent</i></dt> +</dl> +<a NAME="CodeStyleCheckerDialog.__assembleExcludeMessages" ID="CodeStyleCheckerDialog.__assembleExcludeMessages"></a> +<h4>CodeStyleCheckerDialog.__assembleExcludeMessages</h4> +<b>__assembleExcludeMessages</b>(<i></i>) + +<p> + Private method to assemble the list of excluded checks. +</p> +<dl> +<dt>Returns:</dt> <dd> -reference to the parent widget (QWidget) +list of excluded checks as a comma separated string. +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str </dd> </dl> <a NAME="CodeStyleCheckerDialog.__batchFinished" ID="CodeStyleCheckerDialog.__batchFinished"></a> @@ -273,6 +315,13 @@ <p> Private slot handling the completion of a batch job. </p> +<a NAME="CodeStyleCheckerDialog.__cleanupData" ID="CodeStyleCheckerDialog.__cleanupData"></a> +<h4>CodeStyleCheckerDialog.__cleanupData</h4> +<b>__cleanupData</b>(<i></i>) + +<p> + Private method to clean the loaded/entered data of redundant entries. +</p> <a NAME="CodeStyleCheckerDialog.__clearErrors" ID="CodeStyleCheckerDialog.__clearErrors"></a> <h4>CodeStyleCheckerDialog.__clearErrors</h4> <b>__clearErrors</b>(<i>files</i>) @@ -283,9 +332,9 @@ </p> <dl> -<dt><i>files</i></dt> +<dt><i>files</i> (list of str)</dt> <dd> -list of files to be checked (list of string) +list of files to be checked </dd> </dl> <a NAME="CodeStyleCheckerDialog.__createErrorItem" ID="CodeStyleCheckerDialog.__createErrorItem"></a> @@ -306,49 +355,52 @@ error message </dd> </dl> +<a NAME="CodeStyleCheckerDialog.__createFileErrorItem" ID="CodeStyleCheckerDialog.__createFileErrorItem"></a> +<h4>CodeStyleCheckerDialog.__createFileErrorItem</h4> +<b>__createFileErrorItem</b>(<i>filename, message</i>) + +<p> + Private method to create an error entry for a given file. +</p> +<dl> + +<dt><i>filename</i> (str)</dt> +<dd> +file name of the file +</dd> +<dt><i>message</i> (str)</dt> +<dd> +error message text +</dd> +</dl> <a NAME="CodeStyleCheckerDialog.__createResultItem" ID="CodeStyleCheckerDialog.__createResultItem"></a> <h4>CodeStyleCheckerDialog.__createResultItem</h4> -<b>__createResultItem</b>(<i>filename, line, pos, message, fixed, autofixing, ignored</i>) +<b>__createResultItem</b>(<i>filename, result</i>) <p> Private method to create an entry in the result list. </p> <dl> -<dt><i>filename</i></dt> -<dd> -file name of the file (string) -</dd> -<dt><i>line</i></dt> -<dd> -line number of issue (integer or string) -</dd> -<dt><i>pos</i></dt> -<dd> -character position of issue (integer or string) -</dd> -<dt><i>message</i></dt> +<dt><i>filename</i> (str)</dt> <dd> -message text (string) -</dd> -<dt><i>fixed</i></dt> -<dd> -flag indicating a fixed issue (boolean) +file name of the file </dd> -<dt><i>autofixing</i></dt> +<dt><i>result</i> (dict)</dt> <dd> -flag indicating, that we are fixing issues - automatically (boolean) -</dd> -<dt><i>ignored</i></dt> -<dd> -flag indicating an ignored issue (boolean) +dictionary containing check result data </dd> </dl> <dl> <dt>Returns:</dt> <dd> -reference to the created item (QTreeWidgetItem) +reference to the created item +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +QTreeWidgetItem </dd> </dl> <a NAME="CodeStyleCheckerDialog.__finish" ID="CodeStyleCheckerDialog.__finish"></a> @@ -379,6 +431,37 @@ dict of list of str </dd> </dl> +<a NAME="CodeStyleCheckerDialog.__getCategories" ID="CodeStyleCheckerDialog.__getCategories"></a> +<h4>CodeStyleCheckerDialog.__getCategories</h4> +<b>__getCategories</b>(<i>enabled, asList=False</i>) + +<p> + Private method to get the enabled or disabled checker categories. +</p> +<dl> + +<dt><i>enabled</i> (bool)</dt> +<dd> +flag indicating to return enabled categories +</dd> +<dt><i>asList</i> (bool)</dt> +<dd> +flag indicating to return the checker categories as a + Python list +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +checker categories as a list or comma separated string +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str or list of str +</dd> +</dl> <a NAME="CodeStyleCheckerDialog.__getEol" ID="CodeStyleCheckerDialog.__getEol"></a> <h4>CodeStyleCheckerDialog.__getEol</h4> <b>__getEol</b>(<i>fn</i>) @@ -388,15 +471,21 @@ </p> <dl> -<dt><i>fn</i></dt> +<dt><i>fn</i> (str)</dt> <dd> -filename where to determine the line ending (str) +filename where to determine the line ending </dd> </dl> <dl> <dt>Returns:</dt> <dd> -eol string (string) +eol string +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str </dd> </dl> <a NAME="CodeStyleCheckerDialog.__getSelectedFixableItems" ID="CodeStyleCheckerDialog.__getSelectedFixableItems"></a> @@ -409,7 +498,13 @@ <dl> <dt>Returns:</dt> <dd> -selected items for fixable issues (list of QTreeWidgetItem) +selected items for fixable issues +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list of QTreeWidgetItem </dd> </dl> <a NAME="CodeStyleCheckerDialog.__getSelectedFutureImports" ID="CodeStyleCheckerDialog.__getSelectedFutureImports"></a> @@ -446,6 +541,21 @@ assignments to be ignored </dd> </dl> +<a NAME="CodeStyleCheckerDialog.__initCategoriesList" ID="CodeStyleCheckerDialog.__initCategoriesList"></a> +<h4>CodeStyleCheckerDialog.__initCategoriesList</h4> +<b>__initCategoriesList</b>(<i>enabledCategories</i>) + +<p> + Private method to set the enabled status of the checker categories. +</p> +<dl> + +<dt><i>enabledCategories</i> (str)</dt> +<dd> +comma separated list of enabled checker + categories +</dd> +</dl> <a NAME="CodeStyleCheckerDialog.__initFuturesList" ID="CodeStyleCheckerDialog.__initFuturesList"></a> <h4>CodeStyleCheckerDialog.__initFuturesList</h4> <b>__initFuturesList</b>(<i>selectedFutures</i>) @@ -469,20 +579,26 @@ </p> <dl> -<dt><i>itm</i></dt> +<dt><i>itm</i> (QTreeWidgetItem)</dt> <dd> -item to be checked (QTreeWidgetItem) +item to be checked </dd> </dl> <dl> <dt>Returns:</dt> <dd> -flag indicating a fixable issue (boolean) +flag indicating a fixable issue +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool </dd> </dl> <a NAME="CodeStyleCheckerDialog.__modifyFixedResultItem" ID="CodeStyleCheckerDialog.__modifyFixedResultItem"></a> <h4>CodeStyleCheckerDialog.__modifyFixedResultItem</h4> -<b>__modifyFixedResultItem</b>(<i>itm, text, fixed</i>) +<b>__modifyFixedResultItem</b>(<i>itm, result</i>) <p> Private method to modify a result list entry to show its @@ -490,17 +606,13 @@ </p> <dl> -<dt><i>itm</i></dt> -<dd> -reference to the item to modify (QTreeWidgetItem) -</dd> -<dt><i>text</i></dt> +<dt><i>itm</i> (QTreeWidgetItem)</dt> <dd> -text to be appended (string) +reference to the item to modify </dd> -<dt><i>fixed</i></dt> +<dt><i>result</i> (dict)</dt> <dd> -flag indicating a fixed issue (boolean) +dictionary containing check result data </dd> </dl> <a NAME="CodeStyleCheckerDialog.__modifyOptions" ID="CodeStyleCheckerDialog.__modifyOptions"></a> @@ -517,9 +629,9 @@ </p> <dl> -<dt><i>source</i></dt> +<dt><i>source</i> (list of str or str)</dt> <dd> -source text (list of str or str) +source text </dd> </dl> <dl> @@ -528,6 +640,12 @@ list of checker options </dd> </dl> +<dl> +<dt>Return Type:</dt> +<dd> +list +</dd> +</dl> <a NAME="CodeStyleCheckerDialog.__processError" ID="CodeStyleCheckerDialog.__processError"></a> <h4>CodeStyleCheckerDialog.__processError</h4> <b>__processError</b>(<i>fn, msg</i>) @@ -555,23 +673,21 @@ </p> <dl> -<dt><i>fn</i></dt> +<dt><i>fn</i> (str)</dt> <dd> -filename of the just checked file (str) +filename of the just checked file </dd> -<dt><i>codeStyleCheckerStats</i></dt> +<dt><i>codeStyleCheckerStats</i> (dict)</dt> <dd> -stats of style and name check (dict) +stats of style and name check </dd> -<dt><i>fixes</i></dt> +<dt><i>fixes</i> (int)</dt> <dd> -number of applied fixes (int) +number of applied fixes </dd> -<dt><i>results</i></dt> +<dt><i>results</i> (dict)</dt> <dd> -tuple for each found violation of style (tuple of - lineno (int), position (int), text (str), ignored (bool), - fixed (bool), autofixing (bool)) +dictionary containing check result data </dd> </dl> <a NAME="CodeStyleCheckerDialog.__resetStatistics" ID="CodeStyleCheckerDialog.__resetStatistics"></a> @@ -590,21 +706,25 @@ </p> <a NAME="CodeStyleCheckerDialog.__selectCodes" ID="CodeStyleCheckerDialog.__selectCodes"></a> <h4>CodeStyleCheckerDialog.__selectCodes</h4> -<b>__selectCodes</b>(<i>edit, showFixCodes</i>) +<b>__selectCodes</b>(<i>edit, categories, showFixCodes</i>) <p> Private method to select message codes via a selection dialog. </p> <dl> -<dt><i>edit</i></dt> +<dt><i>edit</i> (QLineEdit)</dt> <dd> -reference of the line edit to be populated (QLineEdit) +reference of the line edit to be populated </dd> -<dt><i>showFixCodes</i></dt> +<dt><i>categories</i> (list of str)</dt> +<dd> +list of message categories to omit +</dd> +<dt><i>showFixCodes</i> (bool)</dt> <dd> flag indicating to show a list of fixable - issues (boolean) + issues </dd> </dl> <a NAME="CodeStyleCheckerDialog.__updateFixerStatistics" ID="CodeStyleCheckerDialog.__updateFixerStatistics"></a> @@ -616,32 +736,36 @@ </p> <dl> -<dt><i>fixer</i></dt> +<dt><i>fixer</i> (CodeStyleFixer)</dt> <dd> -reference to the code style fixer (CodeStyleFixer) +reference to the code style fixer </dd> </dl> <a NAME="CodeStyleCheckerDialog.__updateStatistics" ID="CodeStyleCheckerDialog.__updateStatistics"></a> <h4>CodeStyleCheckerDialog.__updateStatistics</h4> -<b>__updateStatistics</b>(<i>statistics, fixer, ignoredErrors</i>) +<b>__updateStatistics</b>(<i>statistics, fixer, ignoredErrors, securityOk</i>) <p> Private method to update the collected statistics. </p> <dl> -<dt><i>statistics</i></dt> +<dt><i>statistics</i> (dict)</dt> <dd> dictionary of statistical data with message code as key and message count as value </dd> -<dt><i>fixer</i></dt> +<dt><i>fixer</i> (CodeStyleFixer)</dt> <dd> -reference to the code style fixer (CodeStyleFixer) +reference to the code style fixer </dd> -<dt><i>ignoredErrors</i></dt> +<dt><i>ignoredErrors</i> (int)</dt> <dd> -number of ignored errors (integer) +number of ignored errors +</dd> +<dt><i>securityOk</i> (int)</dt> +<dd> +number of acknowledged security reports </dd> </dl> <a NAME="CodeStyleCheckerDialog.check" ID="CodeStyleCheckerDialog.check"></a> @@ -656,9 +780,9 @@ </p> <dl> -<dt><i>codestring=</i></dt> +<dt><i>codestring</i> (str)</dt> <dd> -optional sourcestring (str) +optional sourcestring </dd> </dl> <a NAME="CodeStyleCheckerDialog.checkBatch" ID="CodeStyleCheckerDialog.checkBatch"></a> @@ -694,9 +818,9 @@ </p> <dl> -<dt><i>button</i></dt> +<dt><i>button</i> (QAbstractButton)</dt> <dd> -button that was clicked (QAbstractButton) +button that was clicked </dd> </dl> <a NAME="CodeStyleCheckerDialog.on_deleteBuiltinButton_clicked" ID="CodeStyleCheckerDialog.on_deleteBuiltinButton_clicked"></a> @@ -723,7 +847,7 @@ </p> <p> Build a dictionary of issues to fix. Update the initialized __options. - Then call check with the dict as keyparam to fix selected issues. + Then call check with the dict as keyparam to fix selected issues. </p> <a NAME="CodeStyleCheckerDialog.on_fixIssuesSelectButton_clicked" ID="CodeStyleCheckerDialog.on_fixIssuesSelectButton_clicked"></a> <h4>CodeStyleCheckerDialog.on_fixIssuesSelectButton_clicked</h4> @@ -763,6 +887,13 @@ <p> Private slot to reset the configuration values to their default values. </p> +<a NAME="CodeStyleCheckerDialog.on_restartButton_clicked" ID="CodeStyleCheckerDialog.on_restartButton_clicked"></a> +<h4>CodeStyleCheckerDialog.on_restartButton_clicked</h4> +<b>on_restartButton_clicked</b>(<i></i>) + +<p> + Private slot to restart a code style check run. +</p> <a NAME="CodeStyleCheckerDialog.on_resultList_itemActivated" ID="CodeStyleCheckerDialog.on_resultList_itemActivated"></a> <h4>CodeStyleCheckerDialog.on_resultList_itemActivated</h4> <b>on_resultList_itemActivated</b>(<i>item, column</i>) @@ -772,13 +903,13 @@ </p> <dl> -<dt><i>item</i></dt> +<dt><i>item</i> (QTreeWidgetItem)</dt> <dd> -reference to the activated item (QTreeWidgetItem) +reference to the activated item </dd> -<dt><i>column</i></dt> +<dt><i>column</i> (int)</dt> <dd> -column the item was activated in (integer) +column the item was activated in </dd> </dl> <a NAME="CodeStyleCheckerDialog.on_resultList_itemSelectionChanged" ID="CodeStyleCheckerDialog.on_resultList_itemSelectionChanged"></a> @@ -826,13 +957,13 @@ </p> <dl> -<dt><i>fileList</i></dt> +<dt><i>fileList</i> (list of str)</dt> <dd> -list of filenames (list of strings) +list of filenames </dd> -<dt><i>project</i></dt> +<dt><i>project</i> (Project)</dt> <dd> -reference to the project object (Project) +reference to the project object </dd> </dl> <a NAME="CodeStyleCheckerDialog.start" ID="CodeStyleCheckerDialog.start"></a> @@ -844,20 +975,17 @@ </p> <dl> -<dt><i>fn</i></dt> +<dt><i>fn</i> (str or list of str)</dt> <dd> file or list of files or directory to be checked - (string or list of strings) </dd> -<dt><i>save=</i></dt> +<dt><i>save</i> (bool)</dt> <dd> -flag indicating to save the given - file/file list/directory (boolean) +flag indicating to save the given file/file list/directory </dd> -<dt><i>repeat=</i></dt> +<dt><i>repeat</i> (None or bool)</dt> <dd> state of the repeat check box if it is not None - (None or boolean) </dd> </dl> <div align="right"><a href="#top">Up</a></div>
--- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCodeSelectionDialog.html Sun May 03 13:42:52 2020 +0200 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleCodeSelectionDialog.html Wed Jun 17 17:14:12 2020 +0200 @@ -85,25 +85,29 @@ <a NAME="CodeStyleCodeSelectionDialog.__init__" ID="CodeStyleCodeSelectionDialog.__init__"></a> <h4>CodeStyleCodeSelectionDialog (Constructor)</h4> -<b>CodeStyleCodeSelectionDialog</b>(<i>codes, showFixCodes, parent=None</i>) +<b>CodeStyleCodeSelectionDialog</b>(<i>codes, categories, showFixCodes, parent=None</i>) <p> Constructor </p> <dl> -<dt><i>codes</i></dt> +<dt><i>codes</i> (str)</dt> <dd> -comma separated list of selected codes (string) +comma separated list of selected codes </dd> -<dt><i>showFixCodes</i></dt> +<dt><i>categories</i> (list of str)</dt> +<dd> +list of message categories to omit +</dd> +<dt><i>showFixCodes</i> (bool)</dt> <dd> flag indicating to show a list of fixable - issues (boolean) + issues </dd> -<dt><i>parent</i></dt> +<dt><i>parent</i> (QWidget)</dt> <dd> -reference to the parent widget (QWidget) +reference to the parent widget </dd> </dl> <a NAME="CodeStyleCodeSelectionDialog.getSelectedCodes" ID="CodeStyleCodeSelectionDialog.getSelectedCodes"></a> @@ -116,7 +120,13 @@ <dl> <dt>Returns:</dt> <dd> -comma separated list of selected codes (string) +comma separated list of selected codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str </dd> </dl> <div align="right"><a href="#top">Up</a></div>
--- a/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.html Sun May 03 13:42:52 2020 +0200 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.CodeStyleFixer.html Wed Jun 17 17:14:12 2020 +0200 @@ -402,30 +402,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD111" ID="CodeStyleFixer.__fixD111"></a> @@ -440,25 +445,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD112" ID="CodeStyleFixer.__fixD112"></a> @@ -473,25 +484,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD121" ID="CodeStyleFixer.__fixD121"></a> @@ -506,30 +523,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD131" ID="CodeStyleFixer.__fixD131"></a> @@ -545,25 +567,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD141" ID="CodeStyleFixer.__fixD141"></a> @@ -579,30 +607,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD142" ID="CodeStyleFixer.__fixD142"></a> @@ -618,30 +651,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD143" ID="CodeStyleFixer.__fixD143"></a> @@ -657,30 +695,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD144" ID="CodeStyleFixer.__fixD144"></a> @@ -696,30 +739,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD145" ID="CodeStyleFixer.__fixD145"></a> @@ -735,30 +783,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD221" ID="CodeStyleFixer.__fixD221"></a> @@ -774,30 +827,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD242" ID="CodeStyleFixer.__fixD242"></a> @@ -813,30 +871,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD243" ID="CodeStyleFixer.__fixD243"></a> @@ -852,30 +915,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixD247" ID="CodeStyleFixer.__fixD247"></a> @@ -891,30 +959,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE101" ID="CodeStyleFixer.__fixE101"></a> @@ -929,25 +1002,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE121" ID="CodeStyleFixer.__fixE121"></a> @@ -963,30 +1042,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE122" ID="CodeStyleFixer.__fixE122"></a> @@ -1001,30 +1085,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE123" ID="CodeStyleFixer.__fixE123"></a> @@ -1039,30 +1128,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE125" ID="CodeStyleFixer.__fixE125"></a> @@ -1078,30 +1172,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE126" ID="CodeStyleFixer.__fixE126"></a> @@ -1117,30 +1216,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE127" ID="CodeStyleFixer.__fixE127"></a> @@ -1155,30 +1259,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE201" ID="CodeStyleFixer.__fixE201"></a> @@ -1193,25 +1302,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE221" ID="CodeStyleFixer.__fixE221"></a> @@ -1227,25 +1342,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE225" ID="CodeStyleFixer.__fixE225"></a> @@ -1260,25 +1381,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE231" ID="CodeStyleFixer.__fixE231"></a> @@ -1293,25 +1420,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE251" ID="CodeStyleFixer.__fixE251"></a> @@ -1327,25 +1460,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE261" ID="CodeStyleFixer.__fixE261"></a> @@ -1360,25 +1499,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE304" ID="CodeStyleFixer.__fixE304"></a> @@ -1394,30 +1539,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE401" ID="CodeStyleFixer.__fixE401"></a> @@ -1432,30 +1582,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE501" ID="CodeStyleFixer.__fixE501"></a> @@ -1470,30 +1625,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE502" ID="CodeStyleFixer.__fixE502"></a> @@ -1508,25 +1668,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE701" ID="CodeStyleFixer.__fixE701"></a> @@ -1541,30 +1707,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE702" ID="CodeStyleFixer.__fixE702"></a> @@ -1579,30 +1750,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixE711" ID="CodeStyleFixer.__fixE711"></a> @@ -1617,25 +1793,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixN804" ID="CodeStyleFixer.__fixN804"></a> @@ -1651,30 +1833,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixN806" ID="CodeStyleFixer.__fixN806"></a> @@ -1689,30 +1876,35 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> -<dt><i>apply=</i></dt> +<dt><i>apply</i> (bool)</dt> <dd> flag indicating, that the fix should be applied - (boolean) </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixReindent" ID="CodeStyleFixer.__fixReindent"></a> @@ -1758,25 +1950,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixW292" ID="CodeStyleFixer.__fixW292"></a> @@ -1791,25 +1989,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixW391" ID="CodeStyleFixer.__fixW391"></a> @@ -1824,25 +2028,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixW603" ID="CodeStyleFixer.__fixW603"></a> @@ -1857,25 +2067,31 @@ </p> <dl> -<dt><i>code</i></dt> +<dt><i>code</i> (str)</dt> <dd> -code of the issue (string) +code of the issue </dd> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of the issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -position inside line (integer) +position inside line </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, a list of arguments for the + message and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list or int, int) </dd> </dl> <a NAME="CodeStyleFixer.__fixWhitespace" ID="CodeStyleFixer.__fixWhitespace"></a> @@ -2011,32 +2227,38 @@ </dl> <a NAME="CodeStyleFixer.fixIssue" ID="CodeStyleFixer.fixIssue"></a> <h4>CodeStyleFixer.fixIssue</h4> -<b>fixIssue</b>(<i>line, pos, message</i>) +<b>fixIssue</b>(<i>line, pos, code</i>) <p> Public method to fix the fixable issues. </p> <dl> -<dt><i>line</i></dt> +<dt><i>line</i> (int)</dt> <dd> -line number of issue (integer) +line number of the issue </dd> -<dt><i>pos</i></dt> +<dt><i>pos</i> (int)</dt> <dd> -character position of issue (integer) +position inside line </dd> -<dt><i>message</i></dt> +<dt><i>code</i> (str)</dt> <dd> -message text (string) +code of the issue </dd> </dl> <dl> <dt>Returns:</dt> <dd> value indicating an applied/deferred fix (-1, 0, 1), - a message for the fix (string) and an ID for a deferred - fix (integer) + a message code for the fix, arguments list for the message + and an ID for a deferred fix +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (int, str, list, int) </dd> </dl> <a NAME="CodeStyleFixer.mutualStartswith" ID="CodeStyleFixer.mutualStartswith"></a>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.__init__.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,76 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.__init__</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.__init__</h1> + +<p> +Package containing the various security checker modules. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#generateCheckersDict">generateCheckersDict</a></td> +<td>Function to generate the dictionary with checkers.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="generateCheckersDict" ID="generateCheckersDict"></a> +<h2>generateCheckersDict</h2> +<b>generateCheckersDict</b>(<i></i>) + +<p> + Function to generate the dictionary with checkers. +</p> +<p> + Checker modules are searched for inside this package. Each module + defining some checks must contain a function 'getChecks()' returning + a dictionary containing the check type as key and a list of tuples + with the check function and associated message codes. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing list of tuples with checker data +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.assert</h1> + +<p> +Module implementing a check for the use of 'assert'. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkAssertUsed">checkAssertUsed</a></td> +<td>Function to check for the use of 'assert'.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkAssertUsed" ID="checkAssertUsed"></a> +<h2>checkAssertUsed</h2> +<b>checkAssertUsed</b>(<i>reportError, context, config</i>) + +<p> + Function to check for the use of 'assert'. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,141 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.awsHardcodedPassword</h1> + +<p> +Module implementing checks for potentially hardcoded AWS passwords. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>AWS_ACCESS_KEY_ID_MAX_ENTROPY</td></tr><tr><td>AWS_ACCESS_KEY_ID_REGEX</td></tr><tr><td>AWS_ACCESS_KEY_ID_SYMBOLS</td></tr><tr><td>AWS_SECRET_ACCESS_KEY_MAX_ENTROPY</td></tr><tr><td>AWS_SECRET_ACCESS_KEY_REGEX</td></tr><tr><td>AWS_SECRET_ACCESS_KEY_SYMBOLS</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkHardcodedAwsKey">checkHardcodedAwsKey</a></td> +<td>Function to check for potentially hardcoded AWS passwords.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +<tr> +<td><a href="#shannonEntropy">shannonEntropy</a></td> +<td>Function to caclculate the Shannon entropy of some given data.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkHardcodedAwsKey" ID="checkHardcodedAwsKey"></a> +<h2>checkHardcodedAwsKey</h2> +<b>checkHardcodedAwsKey</b>(<i>reportError, context, config</i>) + +<p> + Function to check for potentially hardcoded AWS passwords. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="shannonEntropy" ID="shannonEntropy"></a> +<h2>shannonEntropy</h2> +<b>shannonEntropy</b>(<i>data, symbols</i>) + +<p> + Function to caclculate the Shannon entropy of some given data. +</p> +<p> + Source: + http://blog.dkbza.org/2007/05/scanning-data-for-entropy-anomalies.html +</p> +<dl> + +<dt><i>data</i> (str)</dt> +<dd> +data to calculate the entropy for +</dd> +<dt><i>symbols</i> (str)</dt> +<dd> +allowed symbols +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +Shannon entropy of the given data +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +float +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListCalls.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListCalls</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListCalls</h1> + +<p> +Module implementing checks for blacklisted methods and functions. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>_blacklists</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkBlacklist">checkBlacklist</a></td> +<td>Function to check for blacklisted method calls.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkBlacklist" ID="checkBlacklist"></a> +<h2>checkBlacklist</h2> +<b>checkBlacklist</b>(<i>reportError, context, config</i>) + +<p> + Function to check for blacklisted method calls. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListImports.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListImports</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.blackListImports</h1> + +<p> +Module implementing checks for blacklisted imports. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>_blacklists</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkBlacklist">checkBlacklist</a></td> +<td>Function to check for blacklisted method calls.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkBlacklist" ID="checkBlacklist"></a> +<h2>checkBlacklist</h2> +<b>checkBlacklist</b>(<i>reportError, context, config</i>) + +<p> + Function to check for blacklisted method calls. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.certificateValidation.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.certificateValidation</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.certificateValidation</h1> + +<p> +Module implementing checks for switched off certificate validation. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkNoCertificateValidation">checkNoCertificateValidation</a></td> +<td>Function to check for switched off certificate validation.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkNoCertificateValidation" ID="checkNoCertificateValidation"></a> +<h2>checkNoCertificateValidation</h2> +<b>checkNoCertificateValidation</b>(<i>reportError, context, config</i>) + +<p> + Function to check for switched off certificate validation. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,162 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoSqlInjection</h1> + +<p> +Module implementing checks for potential SQL injections risks. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkDjangoExtraUsed">checkDjangoExtraUsed</a></td> +<td>Function to check for potential SQL injection on extra function.</td> +</tr> +<tr> +<td><a href="#checkDjangoRawSqlUsed">checkDjangoRawSqlUsed</a></td> +<td>Function to check for potential SQL injection on RawSQL function.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +<tr> +<td><a href="#keywords2dict">keywords2dict</a></td> +<td>Function to extract keywords arguments into a dictionary.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkDjangoExtraUsed" ID="checkDjangoExtraUsed"></a> +<h2>checkDjangoExtraUsed</h2> +<b>checkDjangoExtraUsed</b>(<i>reportError, context, config</i>) + +<p> + Function to check for potential SQL injection on extra function. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkDjangoRawSqlUsed" ID="checkDjangoRawSqlUsed"></a> +<h2>checkDjangoRawSqlUsed</h2> +<b>checkDjangoRawSqlUsed</b>(<i>reportError, context, config</i>) + +<p> + Function to check for potential SQL injection on RawSQL function. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="keywords2dict" ID="keywords2dict"></a> +<h2>keywords2dict</h2> +<b>keywords2dict</b>(<i>keywords</i>) + +<p> + Function to extract keywords arguments into a dictionary. +</p> +<dl> + +<dt><i>keywords</i> (list of ast.keyword)</dt> +<dd> +list of keyword nodes +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +dictionary with keyword name and value +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,362 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.djangoXssVulnerability</h1> + +<p> +Module implementing checks for potential XSS vulnerability. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>PY2</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#DeepAssignation">DeepAssignation</a></td> +<td>Class to perform a deep analysis of an assign.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkDjangoXssVulnerability">checkDjangoXssVulnerability</a></td> +<td>Function to check for potential XSS vulnerability.</td> +</tr> +<tr> +<td><a href="#checkPotentialRisk">checkPotentialRisk</a></td> +<td>Function to check a given node for a potential XSS vulnerability.</td> +</tr> +<tr> +<td><a href="#evaluateCall">evaluateCall</a></td> +<td>Function to evaluate a call node for potential XSS vulnerability.</td> +</tr> +<tr> +<td><a href="#evaluateVar">evaluateVar</a></td> +<td>Function to evaluate a variable node for potential XSS vulnerability.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +<tr> +<td><a href="#transform2call">transform2call</a></td> +<td>Function to transform a variable node to a call node.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="DeepAssignation" ID="DeepAssignation"></a> +<h2>DeepAssignation</h2> + +<p> + Class to perform a deep analysis of an assign. +</p> +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#DeepAssignation.__init__">DeepAssignation</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#DeepAssignation.isAssigned">isAssigned</a></td> +<td>Public method to check assignment against a given node.</td> +</tr> +<tr> +<td><a href="#DeepAssignation.isAssignedIn">isAssignedIn</a></td> +<td>Public method to check, if the variable is assigned to.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="DeepAssignation.__init__" ID="DeepAssignation.__init__"></a> +<h4>DeepAssignation (Constructor)</h4> +<b>DeepAssignation</b>(<i>varName, ignoreNodes=None</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>varName</i> (str)</dt> +<dd> +name of the variable +</dd> +<dt><i>ignoreNodes</i> (list of ast.AST)</dt> +<dd> +list of nodes to ignore +</dd> +</dl> +<a NAME="DeepAssignation.isAssigned" ID="DeepAssignation.isAssigned"></a> +<h4>DeepAssignation.isAssigned</h4> +<b>isAssigned</b>(<i>node</i>) + +<p> + Public method to check assignment against a given node. +</p> +<dl> + +<dt><i>node</i> (ast.AST)</dt> +<dd> +node to check against +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating an assignement +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<a NAME="DeepAssignation.isAssignedIn" ID="DeepAssignation.isAssignedIn"></a> +<h4>DeepAssignation.isAssignedIn</h4> +<b>isAssignedIn</b>(<i>items</i>) + +<p> + Public method to check, if the variable is assigned to. +</p> +<dl> + +<dt><i>items</i> (list of ast.AST)</dt> +<dd> +list of nodes to check against +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +list of nodes assigned +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list of ast.AST +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkDjangoXssVulnerability" ID="checkDjangoXssVulnerability"></a> +<h2>checkDjangoXssVulnerability</h2> +<b>checkDjangoXssVulnerability</b>(<i>reportError, context, config</i>) + +<p> + Function to check for potential XSS vulnerability. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkPotentialRisk" ID="checkPotentialRisk"></a> +<h2>checkPotentialRisk</h2> +<b>checkPotentialRisk</b>(<i>reportError, node</i>) + +<p> + Function to check a given node for a potential XSS vulnerability. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>node</i> (ast.Call)</dt> +<dd> +node to be checked +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="evaluateCall" ID="evaluateCall"></a> +<h2>evaluateCall</h2> +<b>evaluateCall</b>(<i>call, parent, ignoreNodes=None</i>) + +<p> + Function to evaluate a call node for potential XSS vulnerability. +</p> +<dl> + +<dt><i>call</i> (ast.Call)</dt> +<dd> +call node to be checked +</dd> +<dt><i>parent</i> (ast.AST)</dt> +<dd> +parent node +</dd> +<dt><i>ignoreNodes</i> (list of ast.AST)</dt> +<dd> +list of nodes to ignore +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating a secure evaluation +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="evaluateVar" ID="evaluateVar"></a> +<h2>evaluateVar</h2> +<b>evaluateVar</b>(<i>xssVar, parent, until, ignoreNodes=None</i>) + +<p> + Function to evaluate a variable node for potential XSS vulnerability. +</p> +<dl> + +<dt><i>xssVar</i> (ast.Name)</dt> +<dd> +variable node to be checked +</dd> +<dt><i>parent</i> (ast.AST)</dt> +<dd> +parent node +</dd> +<dt><i>until</i> (int)</dt> +<dd> +end line number to evaluate variable against +</dd> +<dt><i>ignoreNodes</i> (list of ast.AST)</dt> +<dd> +list of nodes to ignore +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating a secure evaluation +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="transform2call" ID="transform2call"></a> +<h2>transform2call</h2> +<b>transform2call</b>(<i>var</i>) + +<p> + Function to transform a variable node to a call node. +</p> +<dl> + +<dt><i>var</i> (ast.BinOp)</dt> +<dd> +variable node +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +call node +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +ast.Call +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.exec.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.exec</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.exec</h1> + +<p> +Module implementing a check for the use of 'exec'. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkExecUsed">checkExecUsed</a></td> +<td>Function to check for the use of 'exec'.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkExecUsed" ID="checkExecUsed"></a> +<h2>checkExecUsed</h2> +<b>checkExecUsed</b>(<i>reportError, context, config</i>) + +<p> + Function to check for the use of 'exec'. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.flaskDebug.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.flaskDebug</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.flaskDebug</h1> + +<p> +Module implementing checks for running a flask application with enabled debug. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkFlaskDebug">checkFlaskDebug</a></td> +<td>Function to check for a flask app being run with debug.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkFlaskDebug" ID="checkFlaskDebug"></a> +<h2>checkFlaskDebug</h2> +<b>checkFlaskDebug</b>(<i>reportError, context, config</i>) + +<p> + Function to check for a flask app being run with debug. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalBindAllInterfaces.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalBindAllInterfaces</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalBindAllInterfaces</h1> + +<p> +Module implementing a check for binding to all interfaces. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkBindAllInterfaces">checkBindAllInterfaces</a></td> +<td>Function to check for binding to all interfaces.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkBindAllInterfaces" ID="checkBindAllInterfaces"></a> +<h2>checkBindAllInterfaces</h2> +<b>checkBindAllInterfaces</b>(<i>reportError, context, config</i>) + +<p> + Function to check for binding to all interfaces. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalFilePermissions</h1> + +<p> +Module implementing a check for setting too permissive file permissions. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkFilePermissions">checkFilePermissions</a></td> +<td>Function to check for setting too permissive file permissions.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkFilePermissions" ID="checkFilePermissions"></a> +<h2>checkFilePermissions</h2> +<b>checkFilePermissions</b>(<i>reportError, context, config</i>) + +<p> + Function to check for setting too permissive file permissions. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,158 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedPassword</h1> + +<p> +Module implementing checks for potentially hardcoded passwords. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>RE_CANDIDATES</td></tr><tr><td>RE_WORDS</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkHardcodedPasswordAsDefault">checkHardcodedPasswordAsDefault</a></td> +<td>Function to check for use of hard-coded password argument defaults.</td> +</tr> +<tr> +<td><a href="#checkHardcodedPasswordAsFunctionArg">checkHardcodedPasswordAsFunctionArg</a></td> +<td>Function to check for use of hard-coded password function arguments.</td> +</tr> +<tr> +<td><a href="#checkHardcodedPasswordAsString">checkHardcodedPasswordAsString</a></td> +<td>Function to check for use of hardcoded password strings.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkHardcodedPasswordAsDefault" ID="checkHardcodedPasswordAsDefault"></a> +<h2>checkHardcodedPasswordAsDefault</h2> +<b>checkHardcodedPasswordAsDefault</b>(<i>reportError, context, config</i>) + +<p> + Function to check for use of hard-coded password argument defaults. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkHardcodedPasswordAsFunctionArg" ID="checkHardcodedPasswordAsFunctionArg"></a> +<h2>checkHardcodedPasswordAsFunctionArg</h2> +<b>checkHardcodedPasswordAsFunctionArg</b>(<i>reportError, context, config</i>) + +<p> + Function to check for use of hard-coded password function arguments. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkHardcodedPasswordAsString" ID="checkHardcodedPasswordAsString"></a> +<h2>checkHardcodedPasswordAsString</h2> +<b>checkHardcodedPasswordAsString</b>(<i>reportError, context, config</i>) + +<p> + Function to check for use of hardcoded password strings. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedTmp.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedTmp</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.generalHardcodedTmp</h1> + +<p> +Module implementing a check for insecure usage of tmp file/directory. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkHardcodedTmpDirectory">checkHardcodedTmpDirectory</a></td> +<td>Function to check for insecure usage of tmp file/directory.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkHardcodedTmpDirectory" ID="checkHardcodedTmpDirectory"></a> +<h2>checkHardcodedTmpDirectory</h2> +<b>checkHardcodedTmpDirectory</b>(<i>reportError, context, config</i>) + +<p> + Function to check for insecure usage of tmp file/directory. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionParamiko.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionParamiko</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionParamiko</h1> + +<p> +Module implementing a check for shell injection within Paramiko. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkParamikoCalls">checkParamikoCalls</a></td> +<td>Function to check for shell injection within Paramiko.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkParamikoCalls" ID="checkParamikoCalls"></a> +<h2>checkParamikoCalls</h2> +<b>checkParamikoCalls</b>(<i>reportError, context, config</i>) + +<p> + Function to check for shell injection within Paramiko. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,312 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionShell</h1> + +<p> +Module implementing a check for shell injection. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>fullPathMatchRe</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#_evaluateShellCall">_evaluateShellCall</a></td> +<td>Function to determine the severity of a shell call.</td> +</tr> +<tr> +<td><a href="#checkOtherFunctionWithShell">checkOtherFunctionWithShell</a></td> +<td>Function to check for any function with shell equals true.</td> +</tr> +<tr> +<td><a href="#checkStartProcessWithNoShell">checkStartProcessWithNoShell</a></td> +<td>Function to check for starting a process with no shell.</td> +</tr> +<tr> +<td><a href="#checkStartProcessWithPartialPath">checkStartProcessWithPartialPath</a></td> +<td>Function to check for starting a process with no shell.</td> +</tr> +<tr> +<td><a href="#checkStartProcessWithShell">checkStartProcessWithShell</a></td> +<td>Function to check for starting a process with a shell.</td> +</tr> +<tr> +<td><a href="#checkSubprocessPopenWithShell">checkSubprocessPopenWithShell</a></td> +<td>Function to check for use of popen with shell equals true.</td> +</tr> +<tr> +<td><a href="#checkSubprocessPopenWithoutShell">checkSubprocessPopenWithoutShell</a></td> +<td>Function to check for use of popen without shell equals true.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +<tr> +<td><a href="#hasShell">hasShell</a></td> +<td>Function to check, if the node of the context contains the shell keyword.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="_evaluateShellCall" ID="_evaluateShellCall"></a> +<h2>_evaluateShellCall</h2> +<b>_evaluateShellCall</b>(<i>context</i>) + +<p> + Function to determine the severity of a shell call. +</p> +<dl> + +<dt><i>context</i> (SecurityContext)</dt> +<dd> +context to be inspected +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +severity level (L, M or H) +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkOtherFunctionWithShell" ID="checkOtherFunctionWithShell"></a> +<h2>checkOtherFunctionWithShell</h2> +<b>checkOtherFunctionWithShell</b>(<i>reportError, context, config</i>) + +<p> + Function to check for any function with shell equals true. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkStartProcessWithNoShell" ID="checkStartProcessWithNoShell"></a> +<h2>checkStartProcessWithNoShell</h2> +<b>checkStartProcessWithNoShell</b>(<i>reportError, context, config</i>) + +<p> + Function to check for starting a process with no shell. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkStartProcessWithPartialPath" ID="checkStartProcessWithPartialPath"></a> +<h2>checkStartProcessWithPartialPath</h2> +<b>checkStartProcessWithPartialPath</b>(<i>reportError, context, config</i>) + +<p> + Function to check for starting a process with no shell. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkStartProcessWithShell" ID="checkStartProcessWithShell"></a> +<h2>checkStartProcessWithShell</h2> +<b>checkStartProcessWithShell</b>(<i>reportError, context, config</i>) + +<p> + Function to check for starting a process with a shell. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkSubprocessPopenWithShell" ID="checkSubprocessPopenWithShell"></a> +<h2>checkSubprocessPopenWithShell</h2> +<b>checkSubprocessPopenWithShell</b>(<i>reportError, context, config</i>) + +<p> + Function to check for use of popen with shell equals true. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkSubprocessPopenWithoutShell" ID="checkSubprocessPopenWithoutShell"></a> +<h2>checkSubprocessPopenWithoutShell</h2> +<b>checkSubprocessPopenWithoutShell</b>(<i>reportError, context, config</i>) + +<p> + Function to check for use of popen without shell equals true. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="hasShell" ID="hasShell"></a> +<h2>hasShell</h2> +<b>hasShell</b>(<i>context</i>) + +<p> + Function to check, if the node of the context contains the shell keyword. +</p> +<dl> + +<dt><i>context</i> (SecurityContext)</dt> +<dd> +context to be inspected +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +tuple containing a flag indicating the presence of the 'shell' + argument and flag indicating the value of the 'shell' argument +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, bool) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,167 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionSql</h1> + +<p> +Module implementing a check for SQL injection. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>SIMPLE_SQL_RE</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#_checkString">_checkString</a></td> +<td>Function to check a given string against the list of search patterns.</td> +</tr> +<tr> +<td><a href="#_evaluateAst">_evaluateAst</a></td> +<td>Function to analyze the given ast node.</td> +</tr> +<tr> +<td><a href="#checkHardcodedSqlExpressions">checkHardcodedSqlExpressions</a></td> +<td>Function to check for SQL injection.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="_checkString" ID="_checkString"></a> +<h2>_checkString</h2> +<b>_checkString</b>(<i>data</i>) + +<p> + Function to check a given string against the list of search patterns. +</p> +<dl> + +<dt><i>data</i> (str)</dt> +<dd> +string data to be checked +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating a match +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="_evaluateAst" ID="_evaluateAst"></a> +<h2>_evaluateAst</h2> +<b>_evaluateAst</b>(<i>node</i>) + +<p> + Function to analyze the given ast node. +</p> +<dl> + +<dt><i>node</i> (ast.Str)</dt> +<dd> +ast node to be analyzed +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +tuple containing a flag indicating an execute call and + the resulting statement +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (bool, str) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkHardcodedSqlExpressions" ID="checkHardcodedSqlExpressions"></a> +<h2>checkHardcodedSqlExpressions</h2> +<b>checkHardcodedSqlExpressions</b>(<i>reportError, context, config</i>) + +<p> + Function to check for SQL injection. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionWildcard.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionWildcard</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.injectionWildcard</h1> + +<p> +Module implementing a check for use of wildcard injection. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkLinuxCommandsWildcardInjection">checkLinuxCommandsWildcardInjection</a></td> +<td>Function to check for use of wildcard injection.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkLinuxCommandsWildcardInjection" ID="checkLinuxCommandsWildcardInjection"></a> +<h2>checkLinuxCommandsWildcardInjection</h2> +<b>checkLinuxCommandsWildcardInjection</b>(<i>reportError, context, config</i>) + +<p> + Function to check for use of wildcard injection. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,102 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureHashlibNew</h1> + +<p> +Module implementing a check for use of insecure md4, md5, or sha1 hash +functions in hashlib.new(). +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkHashlibNew">checkHashlibNew</a></td> +<td>Function to check for use of insecure md4, md5, or sha1 hash functions in hashlib.new().</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkHashlibNew" ID="checkHashlibNew"></a> +<h2>checkHashlibNew</h2> +<b>checkHashlibNew</b>(<i>reportError, context, config</i>) + +<p> + Function to check for use of insecure md4, md5, or sha1 hash functions + in hashlib.new(). +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,158 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.insecureSslTls</h1> + +<p> +Module implementing a check for use of SSL/TLS with insecure protocols. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkInsecureSslDefaults">checkInsecureSslDefaults</a></td> +<td>Function to check for SSL use with insecure defaults specified.</td> +</tr> +<tr> +<td><a href="#checkInsecureSslProtocolVersion">checkInsecureSslProtocolVersion</a></td> +<td>Function to check for use of insecure SSL protocol version.</td> +</tr> +<tr> +<td><a href="#checkSslWithoutVersion">checkSslWithoutVersion</a></td> +<td>Function to check for SSL use with no version specified.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkInsecureSslDefaults" ID="checkInsecureSslDefaults"></a> +<h2>checkInsecureSslDefaults</h2> +<b>checkInsecureSslDefaults</b>(<i>reportError, context, config</i>) + +<p> + Function to check for SSL use with insecure defaults specified. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkInsecureSslProtocolVersion" ID="checkInsecureSslProtocolVersion"></a> +<h2>checkInsecureSslProtocolVersion</h2> +<b>checkInsecureSslProtocolVersion</b>(<i>reportError, context, config</i>) + +<p> + Function to check for use of insecure SSL protocol version. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkSslWithoutVersion" ID="checkSslWithoutVersion"></a> +<h2>checkSslWithoutVersion</h2> +<b>checkSslWithoutVersion</b>(<i>reportError, context, config</i>) + +<p> + Function to check for SSL use with no version specified. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.jinja2Templates.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.jinja2Templates</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.jinja2Templates</h1> + +<p> +Module implementing a check for not auto escaping in jinja2. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkJinja2Autoescape">checkJinja2Autoescape</a></td> +<td>Function to check for not auto escaping in jinja2.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkJinja2Autoescape" ID="checkJinja2Autoescape"></a> +<h2>checkJinja2Autoescape</h2> +<b>checkJinja2Autoescape</b>(<i>reportError, context, config</i>) + +<p> + Function to check for not auto escaping in jinja2. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.makoTemplates.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.makoTemplates</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.makoTemplates</h1> + +<p> +Module implementing a check for use of mako templates. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkMakoTemplateUsage">checkMakoTemplateUsage</a></td> +<td>Function to check for use of mako templates.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkMakoTemplateUsage" ID="checkMakoTemplateUsage"></a> +<h2>checkMakoTemplateUsage</h2> +<b>checkMakoTemplateUsage</b>(<i>reportError, context, config</i>) + +<p> + Function to check for use of mako templates. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.sshNoHostKeyVerification.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.sshNoHostKeyVerification</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.sshNoHostKeyVerification</h1> + +<p> +Module implementing a check for use of mako templates. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkSshNoHostKeyVerification">checkSshNoHostKeyVerification</a></td> +<td>Function to check for use of mako templates.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkSshNoHostKeyVerification" ID="checkSshNoHostKeyVerification"></a> +<h2>checkSshNoHostKeyVerification</h2> +<b>checkSshNoHostKeyVerification</b>(<i>reportError, context, config</i>) + +<p> + Function to check for use of mako templates. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,129 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.tryExcept</h1> + +<p> +Module implementing checks for insecure except blocks. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkTryExceptContinue">checkTryExceptContinue</a></td> +<td>Function to check for a continue in the except block.</td> +</tr> +<tr> +<td><a href="#checkTryExceptPass">checkTryExceptPass</a></td> +<td>Function to check for a pass in the except block.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkTryExceptContinue" ID="checkTryExceptContinue"></a> +<h2>checkTryExceptContinue</h2> +<b>checkTryExceptContinue</b>(<i>reportError, context, config</i>) + +<p> + Function to check for a continue in the except block. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkTryExceptPass" ID="checkTryExceptPass"></a> +<h2>checkTryExceptPass</h2> +<b>checkTryExceptPass</b>(<i>reportError, context, config</i>) + +<p> + Function to check for a pass in the except block. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,231 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.weakCryptographicKey</h1> + +<p> +Module implementing checks for weak cryptographic key use. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#_classifyKeySize">_classifyKeySize</a></td> +<td>Function to classify a key and report an error if insufficient.</td> +</tr> +<tr> +<td><a href="#_weakCryptoKeySizeCryptography">_weakCryptoKeySizeCryptography</a></td> +<td>Function to check 'cryptography.hazmat' for weak key use.</td> +</tr> +<tr> +<td><a href="#_weakCryptoKeySizePycrypto">_weakCryptoKeySizePycrypto</a></td> +<td>Function to check 'pycrypto' for weak key use.</td> +</tr> +<tr> +<td><a href="#checkWeakCryptographicKey">checkWeakCryptographicKey</a></td> +<td>Function to check for weak cryptographic key use.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="_classifyKeySize" ID="_classifyKeySize"></a> +<h2>_classifyKeySize</h2> +<b>_classifyKeySize</b>(<i>reportError, config, keyType, keySize, node</i>) + +<p> + Function to classify a key and report an error if insufficient. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +<dt><i>keyType</i> (str)</dt> +<dd> +type of key to be classified ('DSA', 'RSA', 'EC') +</dd> +<dt><i>keySize</i> (int)</dt> +<dd> +size of the key to be classified +</dd> +<dt><i>node</i> (ast.Call)</dt> +<dd> +node the key was extracted from (needed for reporting) +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating an error was reported +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="_weakCryptoKeySizeCryptography" ID="_weakCryptoKeySizeCryptography"></a> +<h2>_weakCryptoKeySizeCryptography</h2> +<b>_weakCryptoKeySizeCryptography</b>(<i>reportError, context, config</i>) + +<p> + Function to check 'cryptography.hazmat' for weak key use. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating an error was reported +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="_weakCryptoKeySizePycrypto" ID="_weakCryptoKeySizePycrypto"></a> +<h2>_weakCryptoKeySizePycrypto</h2> +<b>_weakCryptoKeySizePycrypto</b>(<i>reportError, context, config</i>) + +<p> + Function to check 'pycrypto' for weak key use. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating an error was reported +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="checkWeakCryptographicKey" ID="checkWeakCryptographicKey"></a> +<h2>checkWeakCryptographicKey</h2> +<b>checkWeakCryptographicKey</b>(<i>reportError, context, config</i>) + +<p> + Function to check for weak cryptographic key use. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.yamlLoad.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,100 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.yamlLoad</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.Checks.yamlLoad</h1> + +<p> +Module implementing checks for the use of yaml load functions. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#checkYamlLoad">checkYamlLoad</a></td> +<td>Function to check for the use of of yaml load functions.</td> +</tr> +<tr> +<td><a href="#getChecks">getChecks</a></td> +<td>Public method to get a dictionary with checks handled by this module.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="checkYamlLoad" ID="checkYamlLoad"></a> +<h2>checkYamlLoad</h2> +<b>checkYamlLoad</b>(<i>reportError, context, config</i>) + +<p> + Function to check for the use of of yaml load functions. +</p> +<dl> + +<dt><i>reportError</i> (func)</dt> +<dd> +function to be used to report errors +</dd> +<dt><i>context</i> (SecurityContext)</dt> +<dd> +security context object +</dd> +<dt><i>config</i> (dict)</dt> +<dd> +dictionary with configuration data +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getChecks" ID="getChecks"></a> +<h2>getChecks</h2> +<b>getChecks</b>(<i></i>) + +<p> + Public method to get a dictionary with checks handled by this module. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing checker lists containing checker function and + list of codes +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,261 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityChecker</h1> + +<p> +Module implementing the security checker. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#SecurityChecker">SecurityChecker</a></td> +<td>Class implementing a checker for security issues.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="SecurityChecker" ID="SecurityChecker"></a> +<h2>SecurityChecker</h2> + +<p> + Class implementing a checker for security issues. +</p> +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> + +<table> +<tr><td>Codes</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#SecurityChecker.__init__">SecurityChecker</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#SecurityChecker.__generateTree">__generateTree</a></td> +<td>Private method to generate an AST for our source.</td> +</tr> +<tr> +<td><a href="#SecurityChecker.__ignoreCode">__ignoreCode</a></td> +<td>Private method to check if the message code should be ignored.</td> +</tr> +<tr> +<td><a href="#SecurityChecker.__reportInvalidSyntax">__reportInvalidSyntax</a></td> +<td>Private method to report a syntax error.</td> +</tr> +<tr> +<td><a href="#SecurityChecker.getConfig">getConfig</a></td> +<td>Public method to get the configuration dictionary.</td> +</tr> +<tr> +<td><a href="#SecurityChecker.reportError">reportError</a></td> +<td>Public method to record an issue.</td> +</tr> +<tr> +<td><a href="#SecurityChecker.run">run</a></td> +<td>Public method to check the given source against security related conditions.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="SecurityChecker.__init__" ID="SecurityChecker.__init__"></a> +<h4>SecurityChecker (Constructor)</h4> +<b>SecurityChecker</b>(<i>source, filename, select, ignore, expected, repeat, args</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>source</i> (list of str)</dt> +<dd> +source code to be checked +</dd> +<dt><i>filename</i> (str)</dt> +<dd> +name of the source file +</dd> +<dt><i>select</i> (list of str)</dt> +<dd> +list of selected codes +</dd> +<dt><i>ignore</i> (list of str)</dt> +<dd> +list of codes to be ignored +</dd> +<dt><i>expected</i> (list of str)</dt> +<dd> +list of expected codes +</dd> +<dt><i>repeat</i> (bool)</dt> +<dd> +flag indicating to report each occurrence of a code +</dd> +<dt><i>args</i> (dict)</dt> +<dd> +dictionary of arguments for the security checks +</dd> +</dl> +<a NAME="SecurityChecker.__generateTree" ID="SecurityChecker.__generateTree"></a> +<h4>SecurityChecker.__generateTree</h4> +<b>__generateTree</b>(<i></i>) + +<p> + Private method to generate an AST for our source. +</p> +<dl> +<dt>Returns:</dt> +<dd> +generated AST +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +ast.AST +</dd> +</dl> +<a NAME="SecurityChecker.__ignoreCode" ID="SecurityChecker.__ignoreCode"></a> +<h4>SecurityChecker.__ignoreCode</h4> +<b>__ignoreCode</b>(<i>code</i>) + +<p> + Private method to check if the message code should be ignored. +</p> +<dl> + +<dt><i>code</i> (str)</dt> +<dd> +message code to check for +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating to ignore the given code +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<a NAME="SecurityChecker.__reportInvalidSyntax" ID="SecurityChecker.__reportInvalidSyntax"></a> +<h4>SecurityChecker.__reportInvalidSyntax</h4> +<b>__reportInvalidSyntax</b>(<i></i>) + +<p> + Private method to report a syntax error. +</p> +<a NAME="SecurityChecker.getConfig" ID="SecurityChecker.getConfig"></a> +<h4>SecurityChecker.getConfig</h4> +<b>getConfig</b>(<i></i>) + +<p> + Public method to get the configuration dictionary. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary containing the configuration +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<a NAME="SecurityChecker.reportError" ID="SecurityChecker.reportError"></a> +<h4>SecurityChecker.reportError</h4> +<b>reportError</b>(<i>lineNumber, offset, code, severity, confidence, *args</i>) + +<p> + Public method to record an issue. +</p> +<dl> + +<dt><i>lineNumber</i> (int)</dt> +<dd> +line number of the issue +</dd> +<dt><i>offset</i> (int)</dt> +<dd> +position within line of the issue +</dd> +<dt><i>code</i> (str)</dt> +<dd> +message code +</dd> +<dt><i>severity</i> (str)</dt> +<dd> +severity code (H = high, M = medium, L = low, + U = undefined) +</dd> +<dt><i>confidence</i> (str)</dt> +<dd> +confidence code (H = high, M = medium, L = low, + U = undefined) +</dd> +<dt><i>args</i> (list)</dt> +<dd> +arguments for the message +</dd> +</dl> +<a NAME="SecurityChecker.run" ID="SecurityChecker.run"></a> +<h4>SecurityChecker.run</h4> +<b>run</b>(<i></i>) + +<p> + Public method to check the given source against security related + conditions. +</p> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,670 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityContext</h1> + +<p> +Module implementing a context class for security related checks. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#SecurityContext">SecurityContext</a></td> +<td>Class implementing a context class for security related checks.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="SecurityContext" ID="SecurityContext"></a> +<h2>SecurityContext</h2> + +<p> + Class implementing a context class for security related checks. +</p> +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#SecurityContext.__init__">SecurityContext</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#SecurityContext.__getLiteralValue">__getLiteralValue</a></td> +<td>Private method to turn AST literals into native Python types.</td> +</tr> +<tr> +<td><a href="#SecurityContext.__repr__">__repr__</a></td> +<td>Special method to generate representation of object for printing or interactive use.</td> +</tr> +<tr> +<td><a href="#SecurityContext.bytesVal">bytesVal</a></td> +<td>Public method to get the value of a standalone bytes object.</td> +</tr> +<tr> +<td><a href="#SecurityContext.callArgs">callArgs</a></td> +<td>Public method to get a list of function args.</td> +</tr> +<tr> +<td><a href="#SecurityContext.callArgsCount">callArgsCount</a></td> +<td>Public method to get the number of args a function call has.</td> +</tr> +<tr> +<td><a href="#SecurityContext.callFunctionName">callFunctionName</a></td> +<td>Public method to get the name (not FQ) of a function call.</td> +</tr> +<tr> +<td><a href="#SecurityContext.callFunctionNameQual">callFunctionNameQual</a></td> +<td>Public method to get the FQ name of a function call.</td> +</tr> +<tr> +<td><a href="#SecurityContext.callKeywords">callKeywords</a></td> +<td>Public method to get a dictionary of keyword parameters.</td> +</tr> +<tr> +<td><a href="#SecurityContext.checkCallArgValue">checkCallArgValue</a></td> +<td>Public method to check for a value of a named argument in a function call.</td> +</tr> +<tr> +<td><a href="#SecurityContext.functionDefDefaultsQual">functionDefDefaultsQual</a></td> +<td>Public method to get a list of fully qualified default values in a function def.</td> +</tr> +<tr> +<td><a href="#SecurityContext.getCallArgAtPosition">getCallArgAtPosition</a></td> +<td>Public method to get a positional argument at the specified position (if it exists).</td> +</tr> +<tr> +<td><a href="#SecurityContext.getCallArgValue">getCallArgValue</a></td> +<td>Public method to get the value of a named argument in a function call.</td> +</tr> +<tr> +<td><a href="#SecurityContext.getLinenoForCallArg">getLinenoForCallArg</a></td> +<td>Public method to get the line number for a specific named argument.</td> +</tr> +<tr> +<td><a href="#SecurityContext.getOffsetForCallArg">getOffsetForCallArg</a></td> +<td>Public method to get the offset for a specific named argument.</td> +</tr> +<tr> +<td><a href="#SecurityContext.isModuleBeingImported">isModuleBeingImported</a></td> +<td>Public method to check for the given module is currently being imported.</td> +</tr> +<tr> +<td><a href="#SecurityContext.isModuleImportedExact">isModuleImportedExact</a></td> +<td>Public method to check if a given module has been imported; only exact matches.</td> +</tr> +<tr> +<td><a href="#SecurityContext.isModuleImportedLike">isModuleImportedLike</a></td> +<td>Public method to check if a given module has been imported; given module exists.</td> +</tr> +<tr> +<td><a href="#SecurityContext.node">node</a></td> +<td>Public method to get the raw AST node associated with the context.</td> +</tr> +<tr> +<td><a href="#SecurityContext.statement">statement</a></td> +<td>Public method to get the raw AST for the current statement.</td> +</tr> +<tr> +<td><a href="#SecurityContext.stringVal">stringVal</a></td> +<td>Public method to get the value of a standalone unicode or string object.</td> +</tr> +<tr> +<td><a href="#SecurityContext.stringValAsEscapedBytes">stringValAsEscapedBytes</a></td> +<td>Public method to get the escaped value of the object.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="SecurityContext.__init__" ID="SecurityContext.__init__"></a> +<h4>SecurityContext (Constructor)</h4> +<b>SecurityContext</b>(<i>contextObject=None</i>) + +<p> + Constructor +</p> +<p> + Initialize the class with a context dictionary or an empty + dictionary. +</p> +<dl> + +<dt><i>contextObject</i> (dict)</dt> +<dd> +context dictionary to be used to populate the + class +</dd> +</dl> +<a NAME="SecurityContext.__getLiteralValue" ID="SecurityContext.__getLiteralValue"></a> +<h4>SecurityContext.__getLiteralValue</h4> +<b>__getLiteralValue</b>(<i>literal</i>) + +<p> + Private method to turn AST literals into native Python types. +</p> +<dl> + +<dt><i>literal</i> (ast.AST)</dt> +<dd> +AST literal to be converted +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +converted Python object +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +Any +</dd> +</dl> +<a NAME="SecurityContext.__repr__" ID="SecurityContext.__repr__"></a> +<h4>SecurityContext.__repr__</h4> +<b>__repr__</b>(<i></i>) + +<p> + Special method to generate representation of object for printing or + interactive use. +</p> +<dl> +<dt>Returns:</dt> +<dd> +string representation of the object +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<a NAME="SecurityContext.bytesVal" ID="SecurityContext.bytesVal"></a> +<h4>SecurityContext.bytesVal</h4> +<b>bytesVal</b>(<i></i>) + +<p> + Public method to get the value of a standalone bytes object. +</p> +<dl> +<dt>Returns:</dt> +<dd> +value of a standalone bytes object +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bytes +</dd> +</dl> +<a NAME="SecurityContext.callArgs" ID="SecurityContext.callArgs"></a> +<h4>SecurityContext.callArgs</h4> +<b>callArgs</b>(<i></i>) + +<p> + Public method to get a list of function args. +</p> +<dl> +<dt>Returns:</dt> +<dd> +list of function args +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list +</dd> +</dl> +<a NAME="SecurityContext.callArgsCount" ID="SecurityContext.callArgsCount"></a> +<h4>SecurityContext.callArgsCount</h4> +<b>callArgsCount</b>(<i></i>) + +<p> + Public method to get the number of args a function call has. +</p> +<dl> +<dt>Returns:</dt> +<dd> +number of args a function call has +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +int +</dd> +</dl> +<a NAME="SecurityContext.callFunctionName" ID="SecurityContext.callFunctionName"></a> +<h4>SecurityContext.callFunctionName</h4> +<b>callFunctionName</b>(<i></i>) + +<p> + Public method to get the name (not FQ) of a function call. +</p> +<dl> +<dt>Returns:</dt> +<dd> +name (not FQ) of a function call +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<a NAME="SecurityContext.callFunctionNameQual" ID="SecurityContext.callFunctionNameQual"></a> +<h4>SecurityContext.callFunctionNameQual</h4> +<b>callFunctionNameQual</b>(<i></i>) + +<p> + Public method to get the FQ name of a function call. +</p> +<dl> +<dt>Returns:</dt> +<dd> +FQ name of a function call +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<a NAME="SecurityContext.callKeywords" ID="SecurityContext.callKeywords"></a> +<h4>SecurityContext.callKeywords</h4> +<b>callKeywords</b>(<i></i>) + +<p> + Public method to get a dictionary of keyword parameters. +</p> +<dl> +<dt>Returns:</dt> +<dd> +dictionary of keyword parameters +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +dict +</dd> +</dl> +<a NAME="SecurityContext.checkCallArgValue" ID="SecurityContext.checkCallArgValue"></a> +<h4>SecurityContext.checkCallArgValue</h4> +<b>checkCallArgValue</b>(<i>argumentName, argumentValues=None</i>) + +<p> + Public method to check for a value of a named argument in a function + call. +</p> +<dl> + +<dt><i>argumentName</i> (str)</dt> +<dd> +name of the argument to be checked +</dd> +<dt><i>argumentValues</i> (Any or list of Any)</dt> +<dd> +value or list of values to test against +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +True if argument found and matched, False if found and not + matched, None if argument not found at all +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool or None +</dd> +</dl> +<a NAME="SecurityContext.functionDefDefaultsQual" ID="SecurityContext.functionDefDefaultsQual"></a> +<h4>SecurityContext.functionDefDefaultsQual</h4> +<b>functionDefDefaultsQual</b>(<i></i>) + +<p> + Public method to get a list of fully qualified default values in a + function def. +</p> +<dl> +<dt>Returns:</dt> +<dd> +list of fully qualified default values in a function def +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +list +</dd> +</dl> +<a NAME="SecurityContext.getCallArgAtPosition" ID="SecurityContext.getCallArgAtPosition"></a> +<h4>SecurityContext.getCallArgAtPosition</h4> +<b>getCallArgAtPosition</b>(<i>positionNum</i>) + +<p> + Public method to get a positional argument at the specified position + (if it exists). +</p> +<dl> + +<dt><i>positionNum</i> (int)</dt> +<dd> +index of the argument to get the value for +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +value of the argument at the specified position if it exists +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +Any or None +</dd> +</dl> +<a NAME="SecurityContext.getCallArgValue" ID="SecurityContext.getCallArgValue"></a> +<h4>SecurityContext.getCallArgValue</h4> +<b>getCallArgValue</b>(<i>argumentName</i>) + +<p> + Public method to get the value of a named argument in a function call. +</p> +<dl> + +<dt><i>argumentName</i> (str)</dt> +<dd> +name of the argument to get the value for +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +value of the named argument +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +Any +</dd> +</dl> +<a NAME="SecurityContext.getLinenoForCallArg" ID="SecurityContext.getLinenoForCallArg"></a> +<h4>SecurityContext.getLinenoForCallArg</h4> +<b>getLinenoForCallArg</b>(<i>argumentName</i>) + +<p> + Public method to get the line number for a specific named argument. +</p> +<dl> + +<dt><i>argumentName</i> (str)</dt> +<dd> +name of the argument to get the line number for +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +line number of the found argument or -1 +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +int +</dd> +</dl> +<a NAME="SecurityContext.getOffsetForCallArg" ID="SecurityContext.getOffsetForCallArg"></a> +<h4>SecurityContext.getOffsetForCallArg</h4> +<b>getOffsetForCallArg</b>(<i>argumentName</i>) + +<p> + Public method to get the offset for a specific named argument. +</p> +<dl> + +<dt><i>argumentName</i> (str)</dt> +<dd> +name of the argument to get the line number for +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +offset of the found argument or -1 +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +int +</dd> +</dl> +<a NAME="SecurityContext.isModuleBeingImported" ID="SecurityContext.isModuleBeingImported"></a> +<h4>SecurityContext.isModuleBeingImported</h4> +<b>isModuleBeingImported</b>(<i>module</i>) + +<p> + Public method to check for the given module is currently being + imported. +</p> +<dl> + +<dt><i>module</i> (str)</dt> +<dd> +module name to look for +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating the given module was found +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<a NAME="SecurityContext.isModuleImportedExact" ID="SecurityContext.isModuleImportedExact"></a> +<h4>SecurityContext.isModuleImportedExact</h4> +<b>isModuleImportedExact</b>(<i>module</i>) + +<p> + Public method to check if a given module has been imported; only exact + matches. +</p> +<dl> + +<dt><i>module</i> (str)</dt> +<dd> +module name to look for +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating the given module was found +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<a NAME="SecurityContext.isModuleImportedLike" ID="SecurityContext.isModuleImportedLike"></a> +<h4>SecurityContext.isModuleImportedLike</h4> +<b>isModuleImportedLike</b>(<i>module</i>) + +<p> + Public method to check if a given module has been imported; given + module exists. +</p> +<dl> + +<dt><i>module</i> (str)</dt> +<dd> +module name to look for +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating the given module was found +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<a NAME="SecurityContext.node" ID="SecurityContext.node"></a> +<h4>SecurityContext.node</h4> +<b>node</b>(<i></i>) + +<p> + Public method to get the raw AST node associated with the context. +</p> +<dl> +<dt>Returns:</dt> +<dd> +raw AST node associated with the context +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +ast.AST +</dd> +</dl> +<a NAME="SecurityContext.statement" ID="SecurityContext.statement"></a> +<h4>SecurityContext.statement</h4> +<b>statement</b>(<i></i>) + +<p> + Public method to get the raw AST for the current statement. +</p> +<dl> +<dt>Returns:</dt> +<dd> +raw AST for the current statement +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +ast.AST +</dd> +</dl> +<a NAME="SecurityContext.stringVal" ID="SecurityContext.stringVal"></a> +<h4>SecurityContext.stringVal</h4> +<b>stringVal</b>(<i></i>) + +<p> + Public method to get the value of a standalone unicode or string + object. +</p> +<dl> +<dt>Returns:</dt> +<dd> +value of a standalone unicode or string object +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<a NAME="SecurityContext.stringValAsEscapedBytes" ID="SecurityContext.stringValAsEscapedBytes"></a> +<h4>SecurityContext.stringValAsEscapedBytes</h4> +<b>stringValAsEscapedBytes</b>(<i></i>) + +<p> + Public method to get the escaped value of the object. +</p> +<p> + Turn the value of a string or bytes object into a byte sequence with + unknown, control, and \\ characters escaped. +</p> +<p> + This function should be used when looking for a known sequence in a + potentially badly encoded string in the code. +</p> +<dl> +<dt>Returns:</dt> +<dd> +sequence of printable ascii bytes representing original string +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityDefaults.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,44 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityDefaults</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityDefaults</h1> + +<p> +Module implementing the default values for some check modules. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>SecurityDefaults</td></tr> +</table> +<h3>Classes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,380 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityNodeVisitor</h1> + +<p> +Module implementing an AST node visitor for security checks. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#SecurityNodeVisitor">SecurityNodeVisitor</a></td> +<td>Class implementing an AST node visitor for security checks.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> +<tr><td>None</td></tr> +</table> +<hr /> +<hr /> +<a NAME="SecurityNodeVisitor" ID="SecurityNodeVisitor"></a> +<h2>SecurityNodeVisitor</h2> + +<p> + Class implementing an AST node visitor for security checks. +</p> +<h3>Derived from</h3> +object +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> + +<tr> +<td><a href="#SecurityNodeVisitor.__init__">SecurityNodeVisitor</a></td> +<td>Constructor</td> +</tr> +<tr> +<td><a href="#SecurityNodeVisitor.__postVisit">__postVisit</a></td> +<td>Private method to clean up after a node was visited.</td> +</tr> +<tr> +<td><a href="#SecurityNodeVisitor.__preVisit">__preVisit</a></td> +<td>Private method to set up a context for the visit method.</td> +</tr> +<tr> +<td><a href="#SecurityNodeVisitor.__runChecks">__runChecks</a></td> +<td>Private method to run all enabled checks for a given check type.</td> +</tr> +<tr> +<td><a href="#SecurityNodeVisitor.generic_visit">generic_visit</a></td> +<td>Public method to drive the node visitor.</td> +</tr> +<tr> +<td><a href="#SecurityNodeVisitor.visit">visit</a></td> +<td>Public method to inspected an AST node.</td> +</tr> +<tr> +<td><a href="#SecurityNodeVisitor.visit_Bytes">visit_Bytes</a></td> +<td>Public method defining a visitor for Bytes nodes.</td> +</tr> +<tr> +<td><a href="#SecurityNodeVisitor.visit_Call">visit_Call</a></td> +<td>Public method defining a visitor for AST Call nodes.</td> +</tr> +<tr> +<td><a href="#SecurityNodeVisitor.visit_ClassDef">visit_ClassDef</a></td> +<td>Public method defining a visitor for AST ClassDef nodes.</td> +</tr> +<tr> +<td><a href="#SecurityNodeVisitor.visit_Constant">visit_Constant</a></td> +<td>Public method defining a visitor for Constant nodes.</td> +</tr> +<tr> +<td><a href="#SecurityNodeVisitor.visit_FunctionDef">visit_FunctionDef</a></td> +<td>Public method defining a visitor for AST FunctionDef nodes.</td> +</tr> +<tr> +<td><a href="#SecurityNodeVisitor.visit_Import">visit_Import</a></td> +<td>Public method defining a visitor for AST Import nodes.</td> +</tr> +<tr> +<td><a href="#SecurityNodeVisitor.visit_ImportFrom">visit_ImportFrom</a></td> +<td>Public method defining a visitor for AST Import nodes.</td> +</tr> +<tr> +<td><a href="#SecurityNodeVisitor.visit_Str">visit_Str</a></td> +<td>Public method defining a visitor for String nodes.</td> +</tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<a NAME="SecurityNodeVisitor.__init__" ID="SecurityNodeVisitor.__init__"></a> +<h4>SecurityNodeVisitor (Constructor)</h4> +<b>SecurityNodeVisitor</b>(<i>checker, secCheckers, filename</i>) + +<p> + Constructor +</p> +<dl> + +<dt><i>checker</i> (SecurityChecker)</dt> +<dd> +reference to the main security checker object +</dd> +<dt><i>secCheckers</i> (dict)</dt> +<dd> +dictionary containing the available checker routines +</dd> +<dt><i>filename</i> (str)</dt> +<dd> +name of the checked file +</dd> +</dl> +<a NAME="SecurityNodeVisitor.__postVisit" ID="SecurityNodeVisitor.__postVisit"></a> +<h4>SecurityNodeVisitor.__postVisit</h4> +<b>__postVisit</b>(<i>node</i>) + +<p> + Private method to clean up after a node was visited. +</p> +<dl> + +<dt><i>node</i> (ast.AST)</dt> +<dd> +AST node that was visited +</dd> +</dl> +<a NAME="SecurityNodeVisitor.__preVisit" ID="SecurityNodeVisitor.__preVisit"></a> +<h4>SecurityNodeVisitor.__preVisit</h4> +<b>__preVisit</b>(<i>node</i>) + +<p> + Private method to set up a context for the visit method. +</p> +<dl> + +<dt><i>node</i> (ast.AST)</dt> +<dd> +node to base the context on +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +flag indicating to visit the node +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bool +</dd> +</dl> +<a NAME="SecurityNodeVisitor.__runChecks" ID="SecurityNodeVisitor.__runChecks"></a> +<h4>SecurityNodeVisitor.__runChecks</h4> +<b>__runChecks</b>(<i>checkType</i>) + +<p> + Private method to run all enabled checks for a given check type. +</p> +<dl> + +<dt><i>checkType</i> (str)</dt> +<dd> +type of checks to be run +</dd> +</dl> +<a NAME="SecurityNodeVisitor.generic_visit" ID="SecurityNodeVisitor.generic_visit"></a> +<h4>SecurityNodeVisitor.generic_visit</h4> +<b>generic_visit</b>(<i>node</i>) + +<p> + Public method to drive the node visitor. +</p> +<dl> + +<dt><i>node</i> (ast.AST)</dt> +<dd> +node to be inspected +</dd> +</dl> +<a NAME="SecurityNodeVisitor.visit" ID="SecurityNodeVisitor.visit"></a> +<h4>SecurityNodeVisitor.visit</h4> +<b>visit</b>(<i>node</i>) + +<p> + Public method to inspected an AST node. +</p> +<dl> + +<dt><i>node</i> (ast.AST)</dt> +<dd> +AST node to be inspected +</dd> +</dl> +<a NAME="SecurityNodeVisitor.visit_Bytes" ID="SecurityNodeVisitor.visit_Bytes"></a> +<h4>SecurityNodeVisitor.visit_Bytes</h4> +<b>visit_Bytes</b>(<i>node</i>) + +<p> + Public method defining a visitor for Bytes nodes. +</p> +<p> + This adds relevant information about node to + the context for use in tests which inspect strings. +</p> +<dl> + +<dt><i>node</i> (ast.Bytes)</dt> +<dd> +reference to the node being inspected +</dd> +</dl> +<a NAME="SecurityNodeVisitor.visit_Call" ID="SecurityNodeVisitor.visit_Call"></a> +<h4>SecurityNodeVisitor.visit_Call</h4> +<b>visit_Call</b>(<i>node</i>) + +<p> + Public method defining a visitor for AST Call nodes. +</p> +<p> + Add relevant information about the node to the context for use in tests + which inspect function calls. +</p> +<dl> + +<dt><i>node</i> (ast.Call)</dt> +<dd> +reference to the node being inspected +</dd> +</dl> +<a NAME="SecurityNodeVisitor.visit_ClassDef" ID="SecurityNodeVisitor.visit_ClassDef"></a> +<h4>SecurityNodeVisitor.visit_ClassDef</h4> +<b>visit_ClassDef</b>(<i>node</i>) + +<p> + Public method defining a visitor for AST ClassDef nodes. +</p> +<p> + Add class name to current namespace for all descendants. +</p> +<dl> + +<dt><i>node</i> (ast.ClassDef)</dt> +<dd> +reference to the node being inspected +</dd> +</dl> +<a NAME="SecurityNodeVisitor.visit_Constant" ID="SecurityNodeVisitor.visit_Constant"></a> +<h4>SecurityNodeVisitor.visit_Constant</h4> +<b>visit_Constant</b>(<i>node</i>) + +<p> + Public method defining a visitor for Constant nodes. +</p> +<p> + This calls the appropriate method for the node type. + It maintains compatibility with <3.6 and 3.8+ +</p> +<dl> + +<dt><i>node</i> (ast.Constant)</dt> +<dd> +reference to the node being inspected +</dd> +</dl> +<a NAME="SecurityNodeVisitor.visit_FunctionDef" ID="SecurityNodeVisitor.visit_FunctionDef"></a> +<h4>SecurityNodeVisitor.visit_FunctionDef</h4> +<b>visit_FunctionDef</b>(<i>node</i>) + +<p> + Public method defining a visitor for AST FunctionDef nodes. +</p> +<p> + Add relevant information about the node to the context for use in tests + which inspect function definitions. Add the function name to the + current namespace for all descendants. +</p> +<dl> + +<dt><i>node</i> (ast.FunctionDef)</dt> +<dd> +reference to the node being inspected +</dd> +</dl> +<a NAME="SecurityNodeVisitor.visit_Import" ID="SecurityNodeVisitor.visit_Import"></a> +<h4>SecurityNodeVisitor.visit_Import</h4> +<b>visit_Import</b>(<i>node</i>) + +<p> + Public method defining a visitor for AST Import nodes. +</p> +<dl> + +<dt><i>node</i> (ast.Import)</dt> +<dd> +reference to the node being inspected +</dd> +</dl> +<a NAME="SecurityNodeVisitor.visit_ImportFrom" ID="SecurityNodeVisitor.visit_ImportFrom"></a> +<h4>SecurityNodeVisitor.visit_ImportFrom</h4> +<b>visit_ImportFrom</b>(<i>node</i>) + +<p> + Public method defining a visitor for AST Import nodes. +</p> +<p> + This adds relevant information about the node to + the context for use in tests which inspect imports. +</p> +<dl> + +<dt><i>node</i> (ast.ImportFrom)</dt> +<dd> +reference to the node being inspected +</dd> +</dl> +<a NAME="SecurityNodeVisitor.visit_Str" ID="SecurityNodeVisitor.visit_Str"></a> +<h4>SecurityNodeVisitor.visit_Str</h4> +<b>visit_Str</b>(<i>node</i>) + +<p> + Public method defining a visitor for String nodes. +</p> +<p> + This adds relevant information about node to + the context for use in tests which inspect strings. +</p> +<dl> + +<dt><i>node</i> (ast.Str)</dt> +<dd> +reference to the node being inspected +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/eric6/Documentation/Source/eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils.html Wed Jun 17 17:14:12 2020 +0200 @@ -0,0 +1,565 @@ +<!DOCTYPE html> +<html><head> +<title>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils</title> +<meta charset="UTF-8"> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body> +<a NAME="top" ID="top"></a> +<h1>eric6.Plugins.CheckerPlugins.CodeStyleChecker.Security.SecurityUtils</h1> + +<p> +Module implementing utility functions used by the security checks. +</p> +<h3>Global Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Classes</h3> + +<table> + +<tr> +<td><a href="#InvalidModulePath">InvalidModulePath</a></td> +<td>Class defining an exception for invalid module paths.</td> +</tr> +</table> +<h3>Functions</h3> + +<table> + +<tr> +<td><a href="#_get">_get</a></td> +<td></td> +</tr> +<tr> +<td><a href="#concatString">concatString</a></td> +<td>Function to build a string from an ast.BinOp chain.</td> +</tr> +<tr> +<td><a href="#deepgetattr">deepgetattr</a></td> +<td>Function to recurs through an attribute chain to get the ultimate value.</td> +</tr> +<tr> +<td><a href="#escapedBytesRepresentation">escapedBytesRepresentation</a></td> +<td>Function to escape bytes for comparison with other strings.</td> +</tr> +<tr> +<td><a href="#getAttrQualName">getAttrQualName</a></td> +<td>Function to get a the full name for the attribute node.</td> +</tr> +<tr> +<td><a href="#getCallName">getCallName</a></td> +<td>Function to extract the call name from an ast.Call node.</td> +</tr> +<tr> +<td><a href="#getCalledName">getCalledName</a></td> +<td>Function to get the function name from an ast.Call node.</td> +</tr> +<tr> +<td><a href="#getModuleQualnameFromPath">getModuleQualnameFromPath</a></td> +<td>Function to get the module's qualified name by analysis of the path.</td> +</tr> +<tr> +<td><a href="#getQualAttr">getQualAttr</a></td> +<td>Function to extract the qualified name from an ast.Attribute node.</td> +</tr> +<tr> +<td><a href="#linerange">linerange</a></td> +<td>Function to get line number range from a node.</td> +</tr> +<tr> +<td><a href="#linerange_fix">linerange_fix</a></td> +<td>Function to get a line number range working around a known Python bug with multi-line strings.</td> +</tr> +<tr> +<td><a href="#namespacePathJoin">namespacePathJoin</a></td> +<td>Function to extend a given namespace path.</td> +</tr> +<tr> +<td><a href="#namespacePathSplit">namespacePathSplit</a></td> +<td>Function to split a namespace path into a head and tail.</td> +</tr> +</table> +<hr /> +<hr /> +<a NAME="InvalidModulePath" ID="InvalidModulePath"></a> +<h2>InvalidModulePath</h2> + +<p> + Class defining an exception for invalid module paths. +</p> +<h3>Derived from</h3> +Exception +<h3>Class Attributes</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Class Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> +<h3>Static Methods</h3> + +<table> +<tr><td>None</td></tr> +</table> + +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="_get" ID="_get"></a> +<h2>_get</h2> +<b>_get</b>(<i>node, bits, stop=None</i>) + +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="concatString" ID="concatString"></a> +<h2>concatString</h2> +<b>concatString</b>(<i>node, stop=None</i>) + +<p> + Function to build a string from an ast.BinOp chain. +</p> +<p> + This will build a string from a series of ast.Str/ast.Constant nodes + wrapped in ast.BinOp nodes. Something like "a" + "b" + "c" or "a %s" % val + etc. The provided node can be any participant in the BinOp chain. +</p> +<dl> + +<dt><i>node</i> (ast.BinOp or ast.Str/ast.Constant)</dt> +<dd> +node to be processed +</dd> +<dt><i>stop</i> (ast.BinOp or ast.Str/ast.Constant)</dt> +<dd> +base node to stop at +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +tuple containing the root node of the expression and the string + value +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +tuple of (ast.AST, str) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="deepgetattr" ID="deepgetattr"></a> +<h2>deepgetattr</h2> +<b>deepgetattr</b>(<i>obj, attr</i>) + +<p> + Function to recurs through an attribute chain to get the ultimate value. +</p> +<dl> + +<dt><i>obj</i> (ast.Name or ast.Attribute)</dt> +<dd> +reference to the object to be recursed +</dd> +<dt><i>attr</i> (ast.Attribute)</dt> +<dd> +attribute chain to be parsed +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +ultimate value +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +ast.AST +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="escapedBytesRepresentation" ID="escapedBytesRepresentation"></a> +<h2>escapedBytesRepresentation</h2> +<b>escapedBytesRepresentation</b>(<i>b</i>) + +<p> + Function to escape bytes for comparison with other strings. +</p> +<p> + In practice it turns control characters into acceptable codepoints then + encodes them into bytes again to turn unprintable bytes into printable + escape sequences. +</p> +<p> + This is safe to do for the whole range 0..255 and result matches + unicode_escape on a unicode string. +</p> +<dl> + +<dt><i>b</i> (bytes)</dt> +<dd> +bytes object to be escaped +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +escaped bytes object +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +bytes +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getAttrQualName" ID="getAttrQualName"></a> +<h2>getAttrQualName</h2> +<b>getAttrQualName</b>(<i>node, aliases</i>) + +<p> + Function to get a the full name for the attribute node. +</p> +<p> + This will resolve a pseudo-qualified name for the attribute + rooted at node as long as all the deeper nodes are Names or + Attributes. This will give you how the code referenced the name but + will not tell you what the name actually refers to. If we + encounter a node without a static name we punt with an + empty string. If this encounters something more complex, such as + foo.mylist[0](a,b) we just return empty string. +</p> +<dl> + +<dt><i>node</i> (ast.Attribute)</dt> +<dd> +attribute node to be treated +</dd> +<dt><i>aliases</i> (dict)</dt> +<dd> +dictionary of import aliases +</dd> +</dl> +<dl> +<dt>Returns:</dt> +<dd> +qualified name of the attribute +</dd> +</dl> +<dl> +<dt>Return Type:</dt> +<dd> +str +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +<hr /> +<a NAME="getCallName" ID="getCallName"></a> +<h2>getCallName</h2> +<b>getCallName</b>(<i>node, aliases</i>) + +<p> + Function to extract the call name from an ast.Call node. +</p> +<dl> + +<dt><i>node</i> (ast.Call)</dt> +<