<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2005/05/1ca9bd6f3b9a39adfd50b76211716499"
  from="Michael Furr &lt;furr@c...&gt;"
  author="Michael Furr"
  date="2005-05-31T01:30:32"
  subject="SAFFIRE: type checking the OCaml/C FFI"
  prev="2005/05/20438c0b2e980762a54275f588cde59a"
  next="2005/05/a73b2155e460db4b5837c8bae9a9d16c"
  prev-thread="2005/05/d298027f22c532037195c387de551c13"
  next-thread="2005/05/a73b2155e460db4b5837c8bae9a9d16c"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="SAFFIRE: type checking the OCaml/C FFI">
<msg 
  url="2005/05/1ca9bd6f3b9a39adfd50b76211716499"
  from="Michael Furr &lt;furr@c...&gt;"
  author="Michael Furr"
  date="2005-05-31T01:30:32"
  subject="SAFFIRE: type checking the OCaml/C FFI">
</msg>
</thread>

<contents>

Announcing,

     SAFFIRE: Static Analysis of Foreign Function InteRfacEs

Saffire is a static analysis program that detects bugs in programs that
use the OCaml/C foreign function interface. Saffire works by performing
type inference across both OCaml and C to make sure that values are used
consistently across the language boundary. For instance, if a OCaml passes
a record to a C function, that C function should not treat the data as an
integer. Saffire also tracks what C variables point into the OCaml heap
and ensure they are always registered with CAMLparam/local before any
allocation functions are called.

Saffire is currently only a proof of concept implementation and does not
handle every corner of the OCaml grammar.  For example, polymorphic
variants and objects are not supported.  For a detailed list of what is
and what is not currently supported, please see the website below.  For a
more complete discussion on how Saffire works, you may be interested in
reading our upcoming PLDI paper (also available from the site).

Saffire is implemented as a combination of camlp4 and a CIL module and is
freely available/redistributable.  The license is the same as CIL
(standard 3-clause BSD).

http://www.cs.umd.edu/~furr/saffire/

Cheers,
-Mike


</contents>

</message>

