Vexu / arocc

A C compiler written in Zig.
http://aro.vexu.eu/
MIT License
1.15k stars 56 forks source link

Proposal: add static analyzer to aro #648

Open wrongnull opened 8 months ago

wrongnull commented 8 months ago

GCC and Clang have static analyzers. It would be great if aro will had its own. However, I'm not sure if this meets the goals of the project. If not, it might be worth trying to create a separate static analysis tool written in zig.

Vexu commented 8 months ago

It's not strictly a non-goal but I'm also not personally going to work on it any time soon.

ehaas commented 8 months ago

I have zero experience doing anything like this and also probably won't work on it any time soon. However if I were going to do it, my first attempt would probably entail trying to dump the parsed AST into something Frama-C can use.