We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1af8b9 commit 45753e5Copy full SHA for 45753e5
cpp/ql/lib/semmle/code/cpp/controlflow/SSAUtils.qll
@@ -154,7 +154,7 @@ library class SSAHelper extends int {
154
*/
155
private predicate frontier_phi_node(StackVariable v, BasicBlock b) {
156
exists(BasicBlock x |
157
- dominanceFrontier(x, pragma[only_bind_into](b)) and ssa_defn_rec(pragma[only_bind_into](v), x)
+ dominanceFrontier(x, b) and ssa_defn_rec(pragma[only_bind_into](v), pragma[only_bind_into](x))
158
) and
159
/* We can also eliminate those nodes where the variable is not live on any incoming edge */
160
live_at_start_of_bb(pragma[only_bind_into](v), b)
0 commit comments