mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
C++: Initial version of CFG.qll
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.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class C {
|
||||
public:
|
||||
C(int x, int y);
|
||||
};
|
||||
|
||||
void f() {
|
||||
int i, j, k, l;
|
||||
C c(i + j, k - l);
|
||||
}
|
||||
Reference in New Issue
Block a user