Skip to content

C#: Replace CFG with the shared implementation. - #21513

Closed
aschackmull wants to merge 15 commits into
github:mainfrom
aschackmull:csharp/cfg
Closed

C#: Replace CFG with the shared implementation.#21513
aschackmull wants to merge 15 commits into
github:mainfrom
aschackmull:csharp/cfg

Conversation

@aschackmull

Copy link
Copy Markdown
Contributor

No description provided.

Comment threadcsharp/ql/lib/semmle/code/csharp/commons/Constants.qll Fixed

/** Provides an implementation of the AST signature for C#. */
private module Ast implements AstSig<Location> {
private import csharp as CS
Comment threadcsharp/ql/lib/semmle/code/csharp/controlflow/Guards.qll Fixed
Comment threadcsharp/ql/lib/semmle/code/csharp/dataflow/internal/SsaImpl.qll Dismissed
*/

private import csharp
private import csharp as CS
@aschackmull
aschackmullforce-pushed the csharp/cfg branch 2 times, most recently from a78852c to e7f4f98CompareMarch 19, 2026 10:15
@hannahwidnersson-tech

This comment was marked as spam.

private predicate isConstantCondition0(ControlFlow::Node cfn, boolean b) {
exists(cfn.getASuccessorByType(any(ControlFlow::BooleanSuccessor t | t.getValue() = b))) and
strictcount(ControlFlow::SuccessorType t | exists(cfn.getASuccessorByType(t))) = 1
private predicate isConstantCondition0(ControlFlowNode cfn, boolean b) {
@aschackmull

Copy link
Copy Markdown
ContributorAuthor

Superseded.

@aschackmull
aschackmull deleted the csharp/cfg branch May 4, 2026 12:27
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@aschackmull@hannahwidnersson-tech@github-advanced-security