News for hackers. Stuff that matters.
Re:Show HN: Globstar – Open-source static analysis toolkit by xxpor on Friday February 28, 2025 @01:20PM (#43208695)
Another rule engine checker that doesn't support the language that needs this type of thing the most: C

In this case, it's inexplicable to me since tree-sitter supports C fine.

Re:Show HN: Globstar – Open-source static analysis toolkit by sanketsaurav on Friday February 28, 2025 @01:47PM (#43208954)
Supporting C / C++ is in our roadmap. It needs some additional work to handle preprocessor directives [1] [2], which is why we didn't focus on it for the initial release.

[1] https://github.com/tree-sitter/tree-sitter-c/issues/13

[2] https://github.com/tree-sitter/tree-sitter-c/issues/108

Re:Show HN: Globstar – Open-source static analysis toolkit by xxpor on Saturday March 01, 2025 @09:08PM (#43226423)
Nice, subscribed.

I wonder how far you could get without solving #13, which does seem to be genuinely hard.

Re:Show HN: Globstar – Open-source static analysis toolkit by ievans on Friday February 28, 2025 @01:27PM (#43208767)
For C, you might be interested in https://github.com/weggli-rs/weggli or https://github.com/semgrep/semgrep (I work on the latter). Both are also tree-sitter based.