package goblint

  1. Overview
  2. Docs
Static analysis framework for C

Install

dune-project
 Dependency

Authors

Maintainers

Sources

goblint-2.8.0.tbz
sha256=9175eec0143102243964e34a0786584fd590c60422009259c705a89a27f88de4
sha512=9d760007dd8d003cf596516444ed7acc7370fc3d446e75ac71b0176522c3baae090410762f9035e7aae4f6b0e394bf28bb5b1c08ca0476920b94aa919ef04f42

doc/src/goblint.std/gobRef.ml.html

Source file gobRef.ml

1
2
3
4
5
(** call [f], with [r] temporarily set to [x] *)
let wrap r x =
  let x0 = !r in
  r := x;
  Fun.protect ~finally:(fun () -> r := x0)