github / github/codeql

Java: Data Flow Tracking for Stream/Promise based data flow

Abierto
#4,988 1 comentario 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

**Description of the issue**

Data flow tracking doesn't currently work when the flow source uses non-procedural based data flow and instead uses stream or asynchronous paradigms.

A few examples:
- [x] Java 8 Streams APIs
- [ ] Java 8 `CompletableFuture`
- [ ] RX Java
- [ ] Third party library implementations of `Proimise`
- [x] Ratpack [Promise](https://ratpack.io/manual/current/api/ratpack/exec/Promise.html)

Javascript has support for this library.
https://github.com/github/codeql/blob/main/javascript/ql/src/semmle/javascript/Promises.qll

Having a similar generic & extendable API would be appreciated.

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.