8000 Overlay: Add QL for QL query to warn about possible non-inlining across overlay frontier by kaspersv · Pull Request #19590 · github/codeql · GitHub
[go: up one dir, main page]

Skip to content

Overlay: Add QL for QL query to warn about possible non-inlining across overlay frontier #19590

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 17, 2025
Merged
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
QL: Improve toString for overlay annotations
  • Loading branch information
kaspersv committed Jun 10, 2025
commit 23e789b421d5ceca2149cd66ed7ca2cd784b8d64
6 changes: 3 additions & 3 deletions ql/ql/src/codeql_ql/ast/Ast.qll
Original file line number Diff line number Diff line change
Expand Up @@ -2613,21 +2613,21 @@ class NoOpt extends Annotation {
class OverlayCaller extends Annotation {
OverlayCaller() { this.getName() = "overlay" and this.getArgs(0) instanceof CallerArg }

override string toString() { result = "caller" }
override string toString() { result = "overlay[caller]" }
}

/** An `overlay[local]` annotation. */
class OverlayLocal extends Annotation {
OverlayLocal() { this.getName() = "overlay" and this.getArgs(0) instanceof LocalArg }

override string toString() { result = "local" }
override string toString() { result = "overlay[local]" }
}

/** An `overlay[local?]` annotation. */
class OverlayLocalQ extends Annotation {
OverlayLocalQ() { this.getName() = "overlay" and this.getArgs(0) instanceof LocalQArg }

override string toString() { result = "local?" }
override string toString() { result = "overlay[local?]" }
}

/** A `language[monotonicAggregates]` annotation. */
Expand Down
Loading
0