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

1.8.0.tar.gz
md5=796ad26120b5c6b939a57e8623088aef
sha512=01a58ac6d928afead21c8a97af5865715114cd0562234d1d4aef9e4ac5d91415d040a15927c52cb896dbb39a53e915627f498ebe2d026a548c3ff597682041b2

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

Module PtranalSource

Sourceval debug : bool ref

Print extra debugging info

Sourceval debug_constraints : bool ref

Debug constraints (print all constraints)

Sourceval debug_aliases : bool ref

Debug smart alias queries

Sourceval debug_may_aliases : bool ref

Debug may alias queries

Sourceval smart_aliases : bool ref
Sourceval print_constraints : bool ref

Print out the top level constraints

Sourceval analyze_mono : bool ref

Make the analysis monomorphic

Sourceval no_sub : bool ref

Disable subtyping

Sourceval no_flow : bool ref

Make the flow step a no-op

Sourceval show_progress : bool ref

Show the progress of the flow step

Sourceval conservative_undefineds : bool ref

Treat undefined functions conservatively

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

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

Sourceval analyze_file : 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 : Cil.exp -> Cil.exp -> bool
Sourceval resolve_lval : Cil.lval -> Cil.varinfo list
Sourceval resolve_exp : Cil.exp -> Cil.varinfo list
Sourceval resolve_funptr : Cil.exp -> Cil.fundec list
Sourcetype absloc

type for abstract locations

Sourceval absloc_of_varinfo : Cil.varinfo -> absloc

Give an abstract location for a varinfo

Sourceval absloc_of_lval : 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 : Cil.exp -> absloc list
Sourceval absloc_e_transitive_points_to : Cil.exp -> absloc list
Sourceval absloc_lval_aliases : Cil.lval -> absloc list
Sourceval d_absloc : unit -> absloc -> 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
Sourceval feature : Feature.t
OCaml

Innovation. Community. Security.