github / github/codeql

How to filter the result of hasFlowPath API

Abierto
#10,659 3 comentarios 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
CodeQL
Estrellas
10.1k
Forks
2.1k
Merge medio
2 d 15 h
PR fusionados (30 d)
141

Descripción

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
}
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.