How to filter the result of hasFlowPath API
未关闭
question
- 主要语言
- CodeQL
- 星标
- 10.1k
- 派生
- 2.1k
- 平均合并
- 2 天 15 小时
- 30 天内合并 PR
- 141
描述
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
}
```
贡献指南
评估
这个 Issue 还没有评估数据。