peter-villadsen/codeql-ada — CodeQL support for Ada language
Oct 24 find · published Oct 11Peter Villadsen built CodeQL support for Ada using Libadalang with an extractor requiring no build or compiler, a QL library, and control flow and data flow analysis including taint tracking.Includes 28 queries for reliability and security checks, tested on five open-source Ada projects, runs on Linux x86-64 with CLI 2.25.6.
Peter Villadsen built CodeQL support for Ada using Libadalang, AdaCore's Ada front end, requiring no build or compiler. The extractor resolves names and types from GNAT project files, includes a QL library modeled on the Java one with classes for subprograms, calls, parameters and types, and implements control flow, data flow and taint tracking following record components, arrays, containers, package variables and dispatching calls. The pack includes 28 queries for reliability, maintainability and security checks tested on five open-source Ada projects. Currently pre-1.0 and Linux x86-64 only with CLI 2.25.6, it lets developers analyze Ada codebases for vulnerabilities and quality issues using CodeQL's familiar framework.
Comments
Sign in to join the conversation.