-
Notifications
You must be signed in to change notification settings - Fork 2k
C#: Replace CFG with the shared implementation #21565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 8 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
93a594e
Cfg: Support Throw expressions.
aschackmull a53cffc
Cfg: Support GotoStmt.
aschackmull 0b6c416
Cfg: Support short-circuiting compound assignments.
aschackmull 035b83c
C#: Introduce ControlFlowElementOrCallable.
aschackmull 6ffed85
Cfg/Java: Move InstanceOfExpr CFG into shared lib.
aschackmull 88aaff8
Cfg: Extend consistency checks.
aschackmull 61976e3
C#: Rename ControlFlow::Node to ControlFlowNode.
aschackmull b85b02a
Cfg: Add dominance predicates to shared ControlFlowNode.
aschackmull 03f6bdb
C#: Update some references in preparation for CFG swap.
aschackmull b878ae3
C#: Update some references to ControlFlow::Nodes.
aschackmull 13a4141
C#: Rename remaining references to ControlFlow::Nodes.
aschackmull 9cf9a36
C#: Rename ControlFlow::BasicBlock to BasicBlock.
aschackmull ff978d1
C#: Replace CFG.
aschackmull b179033
C#: Fix test.
aschackmull 700d56f
C#: Fix UncheckedCastInEquals.
aschackmull ac88b73
C#: Bugfix in enclosing callable.
aschackmull 093eb57
C#: Fix CFG position of property setter calls.
aschackmull 43fe411
C#: Accept SSA location changes.
aschackmull 1a6670a
C#: Phi nodes are not expected to have associated Elements.
aschackmull 6010640
C#: Accept bugfix.
aschackmull a5c99f9
C#: Accept harmless CFG changes.
aschackmull 5d58909
C#: Accept CFG changes.
aschackmull 49cc931
C#: Compile-time constants no longer have CFG nodes.
aschackmull e90243c
C#: Accept irrelevant changes.
aschackmull 88256ee
C#: GuardedExpr no longer contains expressions guarded solely by disj…
aschackmull 773881f
C#: Accept data flow inconsistency check for read+write calls.
aschackmull a997d9f
C#: Accept fixed consistency check.
aschackmull a695819
C#: Accept CFG changes for "first" relation.
aschackmull a7d4b00
C#: Accept changed location for phi nodes.
aschackmull 371bc30
C#: CFG and data flow nodes now exist for LHSs.
aschackmull 1d9c0ae
C#: Fix perf.
aschackmull bfbd0f7
C#: Fix some bad join orders.
aschackmull bbd403d
C#: Rework DataFlowCallable-to-cfg relation in terms of basic blocks …
aschackmull 2d5a184
C#: Accept new CFG in tests.
aschackmull aaf9bb2
C#: Accept fewer CallContextSpecificCall due to no splitting.
aschackmull 452913f
C#: Improve perf of UnsynchronizedStaticAccess.ql.
aschackmull d5c9fd1
C#/Cfg: A bit more qldoc.
aschackmull 88160ef
C#: Add change note.
aschackmull e928c22
C#/Cfg: Some simple review fixes.
aschackmull 3ceb96a
C#: Eliminate Completion.qll.
aschackmull b6f50f5
C#: Simplify.
aschackmull 9de02b7
Cfg: Use consistent casing in additional node tags.
aschackmull a2a4e82
C#: Deprecate ControlFlowElement.getAControlFlowNode and remove some …
aschackmull 67c0515
Cfg: Undo consistency check change.
aschackmull File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
csharp/ql/lib/semmle/code/csharp/controlflow/ControlFlowGraph.qll
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.