codeql
codeql copied to clipboard
Python: Add dataflow consistency query
As a real consistency query, so it will be run as part of ALL tests. (which might make CI take longer, but the value is nice I think)
I've made a dummy consistency query in https://github.com/github/codeql/pull/8458 to convince reviewers that these consistency queries are actually run :blush:
AHA, a few inconsistencies uncovered :detective: @yoff maybe we can work together on fixing these?
Interesting. There are a few instances of Node has multiple PostUpdateNodes. The rest are missing toStrings.
It seems we have very few failure modes:
Call should have one enclosing callable but has 0.(Lots)Node steps to itself(Lots)Store step does not preserve enclosing callable.(Just a few)
I wonder what is going on here? We should not have semantic changes, should we? Is this to do with the missing file?
I wonder what is going on here? We should not have semantic changes, should we? Is this to do with the missing file?
same problem as https://github.com/github/codeql/pull/14037
same problem as #1403
Ah, so updating should fix it.
woops, git merge did things to C++ which was certainly not intended