
Dehydra is a lightweight, scriptable, general purpose static analysis tool capable of application-specific analyses of c and c++ code. in the simplest sense, dehydra can be thought of as a semantic grep tool. it presents a wealth of semantic information that can be queried with concise javascripts. it is also useful to find bugs in source code as it allows for much more error checking than c or c++ are capable of by themselves.
dehydra is built as a gcc plugin, thus it is easy to use for projects that already support gcc.