mirror of
https://github.com/github/codeql.git
synced 2026-01-27 21:33:03 +01:00
This implements calculation of the control-flow graph in QL. The new code is not enabled yet as we'll need more extractor changes first. The `SyntheticDestructorCalls.qll` file is a temporary solution that can be removed when the extractor produces this information directly.
25 lines
340 B
C++
25 lines
340 B
C++
// semmle-extractor-options: --microsoft
|
|
void ms_try_except(int j) {
|
|
int x;
|
|
|
|
__try {
|
|
__try {
|
|
x = 1;
|
|
}
|
|
__except (j) {
|
|
x = 2;
|
|
}
|
|
|
|
__try {
|
|
x = 3;
|
|
}
|
|
__finally {
|
|
x = 4;
|
|
}
|
|
} __except (j - 1) {
|
|
x = 5;
|
|
}
|
|
;
|
|
}
|
|
|