How to filter the result of hasFlowPath API
Offen
question
- Vorherrschende Sprache
- CodeQL
- Sterne
- 10.1k
- Forks
- 2.1k
- Ø Merge
- 2 T. 15 Std.
- Gemergte PRs (30 T.)
- 141
Beschreibung
I want to operate each node in the result of hasFlowPath(source, sink) data flow.
For example, I want to get every method call in the `A a to if(c)` data flow. The results I expect are getA, getB, getC. But the `hasFlowPath()` API only return the dataflow path which can not be
But the result of `hasFlowPath()` API contains only the nodes of the data flow, so there is no way to distinguish the method call node from it.
```
A a = getA();
B b = getB(a);
C c = getC(b);
if(c){
xx
}
```
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.