dhscanner-kbgen: knowledge base predicates for static code analysis
The knowledge base ( kb ) aims to be a data structure able to:
represent multiple facts about the source code repo
from various programming languages
each fact can be translated to a Prolog fact
facts can be combined to create predicates
predictaes can be combined to formulate security queries
Prolog facts describe relations between:
code locations
const strings
const integers
Prolog facts can be combined:
create expressive queries from simple facts
Prolog queries are easy to write:
you don't have to be a Prolog expert
copy-paste the basic facts to any LLM
explain in plain English your query's purpose
et voilà !
Downloads
- dhscanner-kbgen-1.0.7.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7 |
|---|---|
| Dependencies | aeson (<2.3), base (>=4.18 && <4.19), containers (<0.7), dhscanner-ast (>=1.1.2), dhscanner-bitcode (>=1.0.10) [details] |
| License | GPL-3.0-only |
| Copyright | (c) 2025 Oren Ish Shalom |
| Author | OrenGitHub |
| Maintainer | Oren Ish Shalom |
| Category | parsing |
| Home page | https://github.com/OrenGitHub/dhscanner |
| Uploaded | by OrenHackage at 2025-10-10T04:17:57Z |
| Distributions | |
| Downloads | 29 total (21 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating | |
| Status | Docs uploaded by user Build status unknown [no reports yet] |