mirror of
https://github.com/github/codeql.git
synced 2026-03-30 20:28:15 +02:00
1.2 KiB
1.2 KiB
9.0.0
Breaking Changes
- The Java control flow graph (CFG) implementation has been completely
rewritten. The CFG now includes additional nodes to more accurately represent
certain constructs. This also means that any existing code that implicitly
relies on very specific details about the CFG may need to be updated.
The CFG now only includes the nodes that are reachable from the entry point.
Additionally, the following breaking changes have been made:
ControlFlowNode.asCallhas been removed - useCall.getControlFlowNodeinstead.ControlFlowNode.getEnclosingStmthas been removed.ControlFlow::ExprNodehas been removed.ControlFlow::StmtNodehas been removed.ControlFlow::Nodehas been removed - this was merely an alias ofControlFlowNode, which is still available.- Previously deprecated predicates on
BasicBlockhave been removed.
Minor Analysis Improvements
- Inline expectations test comments, which are of the form
// $ tagor// $ tag=value, are now parsed more strictly and will not be recognized if there isn't a space after the$symbol. - The class
Assignmentnow extendsBinaryExpr. Uses ofBinaryExprmay in some cases need slight adjustment.