You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#include <iostream>
using namespace std;
class Test{
static void printMsg(){
cout << "Hello World!";
}
};
int main(){
Test *t;
t->printMsg();
}
The t->printMsg() appears to be invalid, but in C++ a static method can be accessed in this manner. Alter the UninitializedLocal.ql query to filter calls to static methods.
The text was updated successfully, but these errors were encountered:
The
t->printMsg()
appears to be invalid, but in C++ a static method can be accessed in this manner. Alter the UninitializedLocal.ql query to filter calls to static methods.The text was updated successfully, but these errors were encountered: