mirror of
https://github.com/github/codeql.git
synced 2026-07-15 16:29:39 +02:00
Merge remote-tracking branch 'github/main' into kaspersv/overlay-java-annotations
This commit is contained in:
@@ -374,5 +374,10 @@ class BaseSsaImplicitInit extends BaseSsaVariable instanceof Impl::WriteDefiniti
|
||||
/** An SSA phi node. */
|
||||
class BaseSsaPhiNode extends BaseSsaVariable instanceof Impl::PhiNode {
|
||||
/** Gets an input to the phi node defining the SSA variable. */
|
||||
BaseSsaVariable getAPhiInput() { phiHasInputFromBlock(this, result, _) }
|
||||
BaseSsaVariable getAPhiInput() { this.hasInputFromBlock(result, _) }
|
||||
|
||||
/** Holds if `inp` is an input to the phi node along the edge originating in `bb`. */
|
||||
predicate hasInputFromBlock(BaseSsaVariable inp, BasicBlock bb) {
|
||||
phiHasInputFromBlock(this, inp, bb)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,8 +63,6 @@ module SsaFlow {
|
||||
|
||||
cached
|
||||
private module Cached {
|
||||
private import semmle.code.java.controlflow.internal.GuardsLogic as GuardsLogic
|
||||
|
||||
cached
|
||||
newtype TNode =
|
||||
TExprNode(Expr e) {
|
||||
|
||||
@@ -17,7 +17,7 @@ module Private {
|
||||
|
||||
class Expr = J::Expr;
|
||||
|
||||
class Guard = G::Guard_v2;
|
||||
class Guard = G::Guards_v2::Guard;
|
||||
|
||||
class ConstantIntegerExpr = RU::ConstantIntegerExpr;
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ module Private {
|
||||
|
||||
class ConstantIntegerExpr = RU::ConstantIntegerExpr;
|
||||
|
||||
class Guard = G::Guard_v2;
|
||||
class Guard = G::Guards_v2::Guard;
|
||||
|
||||
class SsaVariable = Ssa::SsaVariable;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user