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-2.0.6.tbz
sha256=5577007bfac63c3f0609abdb74119fe674c9bc8529d790e90ef73a85964aa07a
sha512=f1a393fa92614ceaf857bec4df474d3e152c578d0ab5fdf791e9129668861ccaa37efae2f18aa539965d6c2ed4dabb47b4a5262aab55112e181935def06f18da

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

Module PtranalSource

Sourceval debug : bool Stdlib.ref

Print extra debugging info

Sourceval debug_constraints : bool Stdlib.ref

Debug constraints (print all constraints)

Sourceval debug_aliases : bool Stdlib.ref

Debug smart alias queries

Sourceval debug_may_aliases : bool Stdlib.ref

Debug may alias queries

Sourceval smart_aliases : bool Stdlib.ref
Sourceval print_constraints : bool Stdlib.ref

Print out the top level constraints

Sourceval analyze_mono : bool Stdlib.ref

Make the analysis monomorphic

Sourceval no_sub : bool Stdlib.ref

Disable subtyping

Sourceval no_flow : bool Stdlib.ref

Make the flow step a no-op

Sourceval show_progress : bool Stdlib.ref

Show the progress of the flow step

Sourceval conservative_undefineds : bool Stdlib.ref

Treat undefined functions conservatively

Sourceval callHasNoSideEffects : (GoblintCil.Cil.exp -> bool) Stdlib.ref

client can specify particular external functions that have no side effects

Sourceval analyze_file : GoblintCil.Cil.file -> unit

Analyze a file

Sourceval print_types : unit -> unit

Print the type of each lvalue in the program

Sourceexception UnknownLocation

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

Sourceval may_alias : GoblintCil.Cil.exp -> GoblintCil.Cil.exp -> bool
Sourceval resolve_funptr : GoblintCil.Cil.exp -> GoblintCil.Cil.fundec list
Sourcetype absloc

type for abstract locations

Sourceval absloc_of_varinfo : GoblintCil.Cil.varinfo -> absloc

Give an abstract location for a varinfo

Sourceval absloc_of_lval : GoblintCil.Cil.lval -> absloc

Give an abstract location for an Cil lvalue

Sourceval absloc_eq : absloc -> absloc -> bool

may the two abstract locations be aliased?

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

Print a string representing an absloc, for debugging.

Sourceval compute_results : bool -> unit

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

Sourceval compute_aliases : bool -> unit
OCaml

Innovation. Community. Security.