Update java/ql/src/experimental/quantum/Analysis/ArtifactReuse.qll

Co-authored-by: Anders Schack-Mulligen <aschackmull@users.noreply.github.com>
This commit is contained in:
Michael Nebel
2025-09-02 10:39:37 +02:00
committed by GitHub
parent 77113b2e42
commit a732b36fa8

View File

@@ -15,8 +15,6 @@ private module WrapperConfig implements DataFlow::ConfigSig {
// if I know the source, otherwise, it has to be through an additional flow step, which
// we filter as a source, i.e., references are only allowed as sources only,
// no inferrece? Not sure if that would work
//or
// source.(DataFlow::PostUpdateNode).getPreUpdateNode().asExpr() = c.getAnArgument()
// Filter out sources that are known additional flow steps, as these are likely not the
// kind of wrapper source we are looking for.
not exists(AdditionalFlowInputStep s | s.getOutput() = source)