Rust: Exclude flow summary nodes from DataFlowStep.ql

This commit is contained in:
Tom Hvitved
2025-05-21 11:04:53 +02:00
parent f093c496d5
commit 9ee0d2e6cf
4 changed files with 318 additions and 4146 deletions

View File

@@ -10,9 +10,7 @@ private import codeql.rust.elements.Locatable
private import codeql.Locations
import PathResolutionConsistency
class SourceLocatable instanceof Locatable {
string toString() { result = super.toString() }
class SourceLocatable extends Locatable {
Location getLocation() {
if super.getLocation().fromSource()
then result = super.getLocation()