mirror of
https://github.com/github/codeql.git
synced 2026-06-08 22:48:54 +02:00
These use the annotated, self-verifying test files to check various consistency requirements. Some of these may be expressing the same thing in different ways, but it's fairly cheap to keep them around, so I have not attempted to produce a minimal set of queries for this.
17 lines
432 B
Plaintext
17 lines
432 B
Plaintext
/**
|
|
* Implementation of the evaluation-order CFG signature using the existing
|
|
* Python control flow graph.
|
|
*/
|
|
|
|
private import python as PY
|
|
import TimerUtils
|
|
|
|
/** Existing Python CFG implementation of the evaluation-order signature. */
|
|
module OldCfg implements EvalOrderCfgSig {
|
|
class CfgNode = PY::ControlFlowNode;
|
|
|
|
class BasicBlock = PY::BasicBlock;
|
|
|
|
CfgNode scopeGetEntryNode(PY::Scope s) { result = s.getEntryNode() }
|
|
}
|