Skip to content

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

@JLLeitschuh

Description

@JLLeitschuh

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:

  • Java 8 Streams APIs
  • Java 8 CompletableFuture
  • RX Java
  • Third party library implementations of Proimise

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions