package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

Dune Dependency

Authors

Maintainers

Sources

goblint-2.4.0.tbz
sha256=99b78e6def71534d195eef9084baa26d8334b36084e120aa6afb300c9bf8afa6
sha512=f3162bd95a03c00358a2991f6152fc6169205bfb4c55e2c483e98cc3935673df9656d025b6f1ea0fa5f1bd0aee037d4f483966b0d2907e3fa9bf11a93a3392af

doc/goblint.backtrace/Goblint_backtrace/index.html

Module Goblint_backtraceSource

Backtraces with custom marks.

Mark definition

Sourcetype mark = ..

Extensible type of marks.

Sourceval register_mark_printer : (mark -> string option) -> unit

Register printing function for custom mark. The function should return None for other marks.

Sourceval mark_to_string : mark -> string

Convert mark to string using registered printers, or mark_to_string_default if unhandled.

Sourceval mark_to_string_default : mark -> string

Convert mark to default string.

Mark usage

Sourceval add_mark : exn -> mark -> unit

Add mark to exception.

Sourceval protect : mark:(unit -> mark) -> finally:(unit -> unit) -> (unit -> 'a) -> 'a

Fun.protect with additional ~mark addition to all exceptions.

Sourceval print_marktrace : Stdlib.out_channel -> exn -> unit

Print trace of marks of an exception.

Used by default for uncaught exceptions.

Sourceval find_marks : exn -> mark list

Find all marks of an exception.

OCaml

Innovation. Community. Security.