Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there an open-source equivalent of this anywhere? I have seen DXR/LXR but I think they use an "approximate" parser. So it will get confused by functions in different scopes with the same name, and so forth.

This actually uses clang which can do the analysis exactly.



I was pleasantly surprised to see that DXR uses clang too, these days: https://github.com/mozilla/dxr/tree/testing/plugins/clang




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: