mirror of
https://github.com/github/codeql.git
synced 2026-05-14 11:19:27 +02:00
17 lines
364 B
Plaintext
17 lines
364 B
Plaintext
/**
|
|
* Checks that every annotated CFG node belongs to a basic block.
|
|
*/
|
|
|
|
import python
|
|
import TimerUtils
|
|
import OldCfgImpl
|
|
|
|
private module Utils = EvalOrderCfgUtils<OldCfg>;
|
|
|
|
private import Utils
|
|
private import Utils::CfgTests
|
|
|
|
from CfgNode n, TestFunction f
|
|
where noBasicBlock(n, f)
|
|
select n, "CFG node in $@ does not belong to any basic block", f, f.getName()
|