github / github/codeql

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

Ouverte
#4,988 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
question
Langage dominant
CodeQL
Étoiles
10.1k
Forks
2.1k
Merge moyen
2 j 15 h
PR mergées (30 j)
141

Description

**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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.