How to filter the result of hasFlowPath API
Aperta
question
- Lingua principale
- CodeQL
- Stelle
- 10.1k
- Fork
- 2.1k
- Merge medio
- 2g 15h
- PR unite (30g)
- 141
Descrizione
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
}
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.