🌐 AI搜索 & 代理 主页
Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add dummy instantiations for other languages.
  • Loading branch information
aschackmull committed Dec 11, 2025
commit 063ce9bce7814e7d3920de2da19c838c5fc6de03
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,19 @@ module SourceSinkInterpretationInput implements
)
}

predicate barrierElement(
Element n, string output, string kind, Public::Provenance provenance, string model
) {
none()
}

predicate barrierGuardElement(
Element n, string input, Public::AcceptingValue acceptingvalue, string kind,
Public::Provenance provenance, string model
) {
none()
}

private newtype TInterpretNode =
TElement_(Element n) or
TNode_(Node n)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,19 @@ module SourceSinkInterpretationInput implements
)
}

predicate barrierElement(
Element n, string output, string kind, Public::Provenance provenance, string model
) {
none()
}

predicate barrierGuardElement(
Element n, string input, Public::AcceptingValue acceptingvalue, string kind,
Public::Provenance provenance, string model
) {
none()
}

class SourceOrSinkElement = Element;

private newtype TInterpretNode =
Expand Down
13 changes: 13 additions & 0 deletions go/ql/lib/semmle/go/dataflow/internal/FlowSummaryImpl.qll
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,19 @@ module SourceSinkInterpretationInput implements
)
}

predicate barrierElement(
Element n, string output, string kind, Public::Provenance provenance, string model
) {
none()
}

predicate barrierGuardElement(
Element n, string input, Public::AcceptingValue acceptingvalue, string kind,
Public::Provenance provenance, string model
) {
none()
}

// Note that due to embedding, which is currently implemented via some
// Methods having multiple qualified names, a given Method is liable to have
// more than one SourceOrSinkElement, one for each of the names it claims.
Expand Down
13 changes: 13 additions & 0 deletions swift/ql/lib/codeql/swift/dataflow/internal/FlowSummaryImpl.qll
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,19 @@ module SourceSinkInterpretationInput implements
)
}

predicate barrierElement(
Element n, string output, string kind, Public::Provenance provenance, string model
) {
none()
}

predicate barrierGuardElement(
Element n, string input, Public::AcceptingValue acceptingvalue, string kind,
Public::Provenance provenance, string model
) {
none()
}

private newtype TInterpretNode =
TElement_(Element n) or
TNode_(Node n) or
Expand Down