1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00
systemd/.lgtm.yml

41 lines
1.1 KiB
YAML
Raw Normal View History

---
# vi: ts=2 sw=2 et:
2021-12-07 16:14:39 +03:00
# SPDX-License-Identifier: LGPL-2.1-or-later
# Explicitly enable certain checks which are hidden by default
queries:
- include: cpp/bad-strncpy-size
- include: cpp/declaration-hides-variable
- include: cpp/inconsistent-null-check
- include: cpp/mistyped-function-arguments
- include: cpp/nested-loops-with-same-variable
- include: cpp/sizeof-side-effect
- include: cpp/suspicious-pointer-scaling
- include: cpp/suspicious-pointer-scaling-void
- include: cpp/suspicious-sizeof
- include: cpp/unsafe-strcat
- include: cpp/unsafe-strncat
- include: cpp/unsigned-difference-expression-compared-zero
- include: cpp/unused-local-variable
- include:
tags:
- "security"
- "correctness"
severity: "error"
2018-07-23 19:37:29 +03:00
extraction:
cpp:
prepare:
packages:
2019-11-21 01:34:21 +03:00
- libpwquality-dev
- libfdisk-dev
- libp11-kit-dev
- libssl-dev
2021-05-17 11:36:30 +03:00
- python3-jinja2
after_prepare:
- pip3 install -r .github/workflows/requirements.txt --require-hashes
- export PATH="/opt/work/.local/bin:$PATH"
2018-12-08 14:51:56 +03:00
python:
python_setup:
version: 3