Files
codeql/cpp/ql/test/library-tests/dataflow/dataflow-edge-tests/tryExcept.c
2018-08-02 17:53:23 +01:00

17 lines
210 B
C

// semmle-extractor-options: --microsoft
void ProbeFunction();
void sink();
void f() {
int x, y = 0;
__try {
ProbeFunction(0);
x = y;
ProbeFunction(0);
}
__except (0) {
sink(x);
}
}