Skip to content

C#: Replace CFG with the shared implementation#21565

Draft
aschackmull wants to merge 29 commits intogithub:mainfrom
aschackmull:csharp/cfg2
Draft

C#: Replace CFG with the shared implementation#21565
aschackmull wants to merge 29 commits intogithub:mainfrom
aschackmull:csharp/cfg2

Conversation

@aschackmull
Copy link
Contributor

No description provided.

michaelnebel and others added 29 commits March 24, 2026 09:01
…o extend OperatorCall and add AssignOperation classes.
…nments (those that was previously covered by expanded assignments).
…ove hack that rotates children of assignments.
@github-actions github-actions bot added the C# label Mar 24, 2026
@github-actions github-actions bot added the Java label Mar 24, 2026
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
*/

private import csharp
private import csharp as CS
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