Skip to content
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

Ssa: Update qltests including consistency checks #18869

Merged
merged 12 commits into from
Mar 5, 2025
Merged
Prev Previous commit
SSA: Add some qldoc.
  • Loading branch information
aschackmull committed Mar 4, 2025
commit 6c896026913237ee510d77d289d30019d8c1792a
2 changes: 2 additions & 0 deletions shared/ssa/codeql/ssa/Ssa.qll
Original file line number Diff line number Diff line change
@@ -1610,6 +1610,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {

SsaDefinitionExtNodeImpl() { this = TSsaDefinitionNode(def) }

/** Gets the corresponding `DefinitionExt`. */
DefinitionExt getDefExt() { result = def }

deprecated override DefinitionExt getDefinitionExt() { result = def }
@@ -1925,6 +1926,7 @@ module Make<LocationSig Location, InputSig<Location> Input> {
this = TRefPhiRead(_, result)
}

/** Holds if this reference is a synthesized phi read. */
predicate isPhiRead() { this = TRefPhiRead(_, _) }

/** Gets a textual representation of this SSA reference. */
Loading
Oops, something went wrong.