You might be surprised to hear that most compilers and static analysis tools in general do not inspect (string and other) literals, while they do indeed inspect all the other parts and structure of the abstract syntax tree.
I know, but that's the point, if you can get a string into an AST you can just do the same thing with the string literals. It's not magic.
I know, but that's the point, if you can get a string into an AST you can just do the same thing with the string literals. It's not magic.