Skip to content

Commit 1035257

Browse files
authored
[s360] Ignore irrelevant LLVM+Python warnings (#27)
Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051172 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051182 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051183 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051185 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051188 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051189 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051199 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051208 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051210 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051213 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051217 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051218 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051219 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051220 Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2051221 Ignore irrelevant S360 warnings. They're irrelevant because the warnings involve code which is run as part of llvm unit tests, and/or are not used by or shipped with .NET for Android: * This part of the regular expression may cause exponential backtracking on strings starting with `#include lldb`` and containing many repetitions of `/`. in external/llvm/lldb/scripts/analyze-project-deps.py * Call to deprecated function tempfile.mktemp may be insecure. in external/llvm/lldb/examples/python/gdbremote.py * Call to deprecated function tempfile.mktemp may be insecure. in external/llvm/lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py * This part of the regular expression may cause exponential backtracking on strings starting with `enum\t0:` and containing many repetitions of `0`. in external/llvm/clang/docs/tools/dump_format_style.py * Call to deprecated function tempfile.mktemp may be insecure. in external/llvm/compiler-rt/test/sanitizer_common/android_commands/android_common.py * This part of the regular expression may cause exponential backtracking on strings starting with `label= \t%tmpa` and containing many repetitions of `0`. in external/llvm/llvm/utils/DSAclean.py * Use of unapproved hash algorithm or API SHA1. in external/llvm/clang/utils/CaptureCmd * Call to deprecated function tempfile.mktemp may be insecure. in external/llvm/lldb/examples/python/delta.py * This path depends on a [user-provided value](1). in external/llvm/llvm/tools/sancov/coverage-report-server.py * This part of the regular expression may cause exponential backtracking on strings starting with `{{{{` and containing many repetitions of `a}}}}{{{{`. in external/llvm/llvm/utils/lit/lit/BooleanExpression.py * Use of unapproved hash algorithm or API SHA1. in external/llvm/libcxx/utils/adb_run.py * This part of the regular expression may cause exponential backtracking on strings containing many repetitions of `+`. in external/llvm/llvm/utils/lit/lit/BooleanExpression.py * Use of unapproved hash algorithm or API MD5. in external/llvm/lldb/utils/lldb-repro/lldb-repro.py * This part of the regular expression may cause exponential backtracking on strings containing many repetitions of `/`. in external/llvm/clang/tools/scan-build-py/tests/unit/test_report.py * This part of the regular expression may cause exponential backtracking on strings containing many repetitions of `/`. in external/llvm/clang/tools/scan-build-py/tests/unit/test_analyze.py
1 parent 5d8ce9b commit 1035257

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.lgtm.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
paths:
2+
exclude:
3+
# we don't ship lldb
4+
- external/llvm/lldb
5+
# we don't ship clang docs
6+
- external/llvm/clang/docs
7+
# we don't ship tests
8+
- external/llvm/compiler-rt/test
9+
# we don't ship these either
10+
- external/llvm/clang/tools
11+
- external/llvm/llvm/tools
12+
- external/llvm/llvm/utils/
13+
- external/llvm/clang/utils/CaptureCmd # not used by anything?!
14+
# we don't ship "rando" tools either
15+
- external/llvm/llvm/tools

0 commit comments

Comments
 (0)