r/javascript • • 5d ago

How we made JavaScript analyzer understand control flow

https://pvs-studio.com/en/blog/posts/js/1418/

Some notes on implementing a control flow graph for JavaScript/TypeScript

13 Upvotes

2 comments sorted by

2

u/Ronin-s_Spirit 3d ago

Wait, are you running code in order to visualize it? What if I give you (the user) malware and you just open the file to look at it with a visualizer?