package goblint-cil

  1. Overview
  2. Docs
A front-end for the C programming language that facilitates program analysis and transformation

Install

Dune Dependency

Authors

Maintainers

Sources

goblint-cil-1.8.2.tbz
sha256=f4711e3fa53c482cdef2d7ed62b287d859ce55ef8b4ddfdc6071e81034c3bc89
sha512=8a861aa04aed7684a7c86207cfd5b63503984917fe53ae4866890242cb0db38d2c4f7bd5a5565fd094da064fb290e67071bae6874377e10d2005330c71cc13a2

doc/goblint-cil.pta/Ptranal/index.html

Module Ptranal

val debug : bool ref

Print extra debugging info

val debug_constraints : bool ref

Debug constraints (print all constraints)

val debug_aliases : bool ref

Debug smart alias queries

val debug_may_aliases : bool ref

Debug may alias queries

val smart_aliases : bool ref
val print_constraints : bool ref

Print out the top level constraints

val analyze_mono : bool ref

Make the analysis monomorphic

val no_sub : bool ref

Disable subtyping

val no_flow : bool ref

Make the flow step a no-op

val show_progress : bool ref

Show the progress of the flow step

val conservative_undefineds : bool ref

Treat undefined functions conservatively

val callHasNoSideEffects : (Cil.exp -> bool) ref

client can specify particular external functions that * have no side effects

val analyze_file : Cil.file -> unit

Analyze a file

val print_types : unit -> unit

Print the type of each lvalue in the program

exception UnknownLocation

If undefined functions are analyzed conservatively, any of the high-level queries may raise this exception

val may_alias : Cil.exp -> Cil.exp -> bool
val resolve_lval : Cil.lval -> Cil.varinfo list
val resolve_exp : Cil.exp -> Cil.varinfo list
val resolve_funptr : Cil.exp -> Cil.fundec list
type absloc

type for abstract locations

val absloc_of_varinfo : Cil.varinfo -> absloc

Give an abstract location for a varinfo

val absloc_of_lval : Cil.lval -> absloc

Give an abstract location for an Cil lvalue

val absloc_eq : absloc -> absloc -> bool

may the two abstract locations be aliased?

val absloc_e_points_to : Cil.exp -> absloc list
val absloc_e_transitive_points_to : Cil.exp -> absloc list
val absloc_lval_aliases : Cil.lval -> absloc list
val d_absloc : unit -> absloc -> Pretty.doc

Print a string representing an absloc, for debugging.

val compute_results : bool -> unit

Compute points to sets for variables. If true is passed, print the sets.

val compute_aliases : bool -> unit
val feature : Feature.t
OCaml

Innovation. Community. Security.