1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 23:21:22 +03:00
systemd/.lgtm/cpp-queries
Frantisek Sumsal c8fec8bf9b lgtm: detect more possible problematic scenarios
1) don't ignore stack-allocated variables, since they may hide
   heap-allocated stuff (compound types)
2) check if there's a return between the variable declaration and its
   initialization; if so, treat the variable as uninitialized
3) introduction of 2) increased the query runtime exponentially, so
   introduce some optimizations to bring it back to some reasonable
   values
2021-12-05 22:47:14 +01:00
..
PotentiallyDangerousFunction.ql lgtm: don't treat the custom note as a list of tags 2021-12-02 16:56:54 +01:00
UninitializedVariableWithCleanup.ql lgtm: detect more possible problematic scenarios 2021-12-05 22:47:14 +01:00