dhscanner-kbgen: knowledge base predicates for static code analysis

[ gpl, library, parsing ] [ Propose Tags ] [ Report a vulnerability ]
  • 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:

  • 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à !

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.0.0, 1.0.1
Dependencies aeson (<2.3), base (>=4.18 && <4.19), containers (<0.7), dhscanner-ast (>=1.1.0), dhscanner-bitcode (>=1.0.7) [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-09-02T12:26:54Z
Distributions
Downloads 0 total (0 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]