logoalt Hacker News

maweki11/20/20241 replyview on HN

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.


Replies

eddd-ddde11/20/2024

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.

show 3 replies