Skip to content

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

Draft
aschackmull wants to merge 16 commits intogithub:mainfrom
aschackmull:csharp/cfg
Draft

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

Conversation

@aschackmull
Copy link
Contributor

No description provided.

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) {

/** Provides an implementation of the AST signature for C#. */
private module Ast implements AstSig<Location> {
private import csharp as CS
}
}

/** A control flow element that may throw an exception. */
deprecated private predicate lastRefSkipUncertainReads(
Definition def, ControlFlow::BasicBlock bb, int i
) {
deprecated private predicate lastRefSkipUncertainReads(Definition def, BasicBlock bb, int i) {
*/

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

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants