I want to know how may I have a codeql script so I can track all values belongs to std::string class
Example source codes are :
#include
int main(){
std::string name;
name = "Hall";
std::cout << name << std::endl;
name = "Hello!"
name = "0xdeadbeef"
return 0;
}
In the above case, I need an analysis script so it can gives me all three strings Hall , Hello and 0xdeadbeef .
Just could not find anything useful for that std::string in codeql .
Thanks!