package pfff

  1. Overview
  2. Docs
Tools and APIs for program analysis, code visualization, refactoring

Install

Dune Dependency

Authors

Maintainers

Sources

0.39.5.tar.gz
md5=e23dbd320a8681b74315162a02bf97a7
sha512=2998432bcd6d9a459331d733c4446d35459d42787fcf2fd332d3ec5131a4d358bb8f060b45d38696bcd584e1eaa8c1b21b82d7d3005e83c1ecefd22fec842ee7

doc/pfff-lang_c-analyze/Datalog_c/index.html

Module Datalog_c

type fact = Datalog_code.fact
type env = {
  1. scope : string;
  2. c_file_readable : Common.filename;
  3. long_format : bool;
  4. globals : Graph_code.graph;
  5. globals_renames : Ast_c.name -> Ast_c.name;
  6. locals : (string * Ast_c.type_ option) list ref;
  7. facts : fact list ref;
}
val instrs_of_expr : env -> Ast_c.expr -> Ast_cil.instr list
val long_format : bool ref
val facts_of_instr : env -> Ast_cil.instr -> fact list
val facts_of_def : env -> Ast_c.toplevel -> fact list
val return_fact : env -> Ast_cil.instr -> fact
OCaml

Innovation. Community. Security.