logoalt Hacker News

mawekilast Wednesday at 2:52 PM1 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-dddelast Wednesday at 4:07 PM

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