Files
codeql/python/ql/test/library-tests/ControlFlow/evaluation-order/OldCfgImpl.qll
2026-07-27 17:37:36 +02:00

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() }
}