You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
14 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Biabduction__BuiltinDefn (infer.Biabduction__BuiltinDefn)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../index.html">infer</a> &#x00BB; Biabduction__BuiltinDefn</nav><h1>Module <code>Biabduction__BuiltinDefn</code></h1></header><div><div class="spec include"><div class="doc"><p>Models for the builtin functions supported</p><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <a href="../IR/BUILTINS/index.html#module-type-S">IR.BUILTINS.S</a> <span class="keyword">with</span> <span class="keyword">type</span> <a href="../IR/BUILTINS/module-type-S/index.html#type-t">t</a> = <a href="../Biabduction/Builtin/index.html#type-registered">Biabduction.Builtin.registered</a></code></span></summary><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = <a href="../Biabduction/Builtin/index.html#type-registered">Biabduction.Builtin.registered</a></code></dt></dl><dl><dt class="spec value" id="val-__array_access"><a href="#val-__array_access" class="anchor"></a><code><span class="keyword">val</span> __array_access : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__assert_fail"><a href="#val-__assert_fail" class="anchor"></a><code><span class="keyword">val</span> __assert_fail : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__builtin_va_arg"><a href="#val-__builtin_va_arg" class="anchor"></a><code><span class="keyword">val</span> __builtin_va_arg : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__builtin_va_copy"><a href="#val-__builtin_va_copy" class="anchor"></a><code><span class="keyword">val</span> __builtin_va_copy : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__builtin_va_end"><a href="#val-__builtin_va_end" class="anchor"></a><code><span class="keyword">val</span> __builtin_va_end : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__builtin_va_start"><a href="#val-__builtin_va_start" class="anchor"></a><code><span class="keyword">val</span> __builtin_va_start : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__builtin_offsetof"><a href="#val-__builtin_offsetof" class="anchor"></a><code><span class="keyword">val</span> __builtin_offsetof : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__cast"><a href="#val-__cast" class="anchor"></a><code><span class="keyword">val</span> __cast : <a href="index.html#type-t">t</a></code></dt><dd><p><code>__cast(val,typ)</code> implements java's <code>typ(val)</code></p></dd></dl><dl><dt class="spec value" id="val-__cxx_typeid"><a href="#val-__cxx_typeid" class="anchor"></a><code><span class="keyword">val</span> __cxx_typeid : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__delete"><a href="#val-__delete" class="anchor"></a><code><span class="keyword">val</span> __delete : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__delete_array"><a href="#val-__delete_array" class="anchor"></a><code><span class="keyword">val</span> __delete_array : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__delete_locked_attribute"><a href="#val-__delete_locked_attribute" class="anchor"></a><code><span class="keyword">val</span> __delete_locked_attribute : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__exit"><a href="#val-__exit" class="anchor"></a><code><span class="keyword">val</span> __exit : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__free_cf"><a href="#val-__free_cf" class="anchor"></a><code><span class="keyword">val</span> __free_cf : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__get_array_length"><a href="#val-__get_array_length" class="anchor"></a><code><span class="keyword">val</span> __get_array_length : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__get_type_of"><a href="#val-__get_type_of" class="anchor"></a><code><span class="keyword">val</span> __get_type_of : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__global_access"><a href="#val-__global_access" class="anchor"></a><code><span class="keyword">val</span> __global_access : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__infer_assume"><a href="#val-__infer_assume" class="anchor"></a><code><span class="keyword">val</span> __infer_assume : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__infer_fail"><a href="#val-__infer_fail" class="anchor"></a><code><span class="keyword">val</span> __infer_fail : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__infer_skip"><a href="#val-__infer_skip" class="anchor"></a><code><span class="keyword">val</span> __infer_skip : <a href="index.html#type-t">t</a></code></dt><dd><p>used to represent behavior that is not modeled in infer</p></dd></dl><dl><dt class="spec value" id="val-__instanceof"><a href="#val-__instanceof" class="anchor"></a><code><span class="keyword">val</span> __instanceof : <a href="index.html#type-t">t</a></code></dt><dd><p><code>__instanceof(val,typ)</code> implements java's <code>val instanceof typ</code></p></dd></dl><dl><dt class="spec value" id="val-__method_set_ignore_attribute"><a href="#val-__method_set_ignore_attribute" class="anchor"></a><code><span class="keyword">val</span> __method_set_ignore_attribute : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__new"><a href="#val-__new" class="anchor"></a><code><span class="keyword">val</span> __new : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__new_array"><a href="#val-__new_array" class="anchor"></a><code><span class="keyword">val</span> __new_array : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__objc_alloc_no_fail"><a href="#val-__objc_alloc_no_fail" class="anchor"></a><code><span class="keyword">val</span> __objc_alloc_no_fail : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__objc_dictionary_literal"><a href="#val-__objc_dictionary_literal" class="anchor"></a><code><span class="keyword">val</span> __objc_dictionary_literal : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__placement_delete"><a href="#val-__placement_delete" class="anchor"></a><code><span class="keyword">val</span> __placement_delete : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__placement_new"><a href="#val-__placement_new" class="anchor"></a><code><span class="keyword">val</span> __placement_new : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__print_value"><a href="#val-__print_value" class="anchor"></a><code><span class="keyword">val</span> __print_value : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__require_allocated_array"><a href="#val-__require_allocated_array" class="anchor"></a><code><span class="keyword">val</span> __require_allocated_array : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__set_array_length"><a href="#val-__set_array_length" class="anchor"></a><code><span class="keyword">val</span> __set_array_length : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__set_file_attribute"><a href="#val-__set_file_attribute" class="anchor"></a><code><span class="keyword">val</span> __set_file_attribute : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__set_locked_attribute"><a href="#val-__set_locked_attribute" class="anchor"></a><code><span class="keyword">val</span> __set_locked_attribute : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__set_mem_attribute"><a href="#val-__set_mem_attribute" class="anchor"></a><code><span class="keyword">val</span> __set_mem_attribute : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__set_observer_attribute"><a href="#val-__set_observer_attribute" class="anchor"></a><code><span class="keyword">val</span> __set_observer_attribute : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__set_unsubscribed_observer_attribute"><a href="#val-__set_unsubscribed_observer_attribute" class="anchor"></a><code><span class="keyword">val</span> __set_unsubscribed_observer_attribute : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__set_wont_leak_attribute"><a href="#val-__set_wont_leak_attribute" class="anchor"></a><code><span class="keyword">val</span> __set_wont_leak_attribute : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__split_get_nth"><a href="#val-__split_get_nth" class="anchor"></a><code><span class="keyword">val</span> __split_get_nth : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__throw"><a href="#val-__throw" class="anchor"></a><code><span class="keyword">val</span> __throw : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-__unwrap_exception"><a href="#val-__unwrap_exception" class="anchor"></a><code><span class="keyword">val</span> __unwrap_exception : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-abort"><a href="#val-abort" class="anchor"></a><code><span class="keyword">val</span> abort : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-exit"><a href="#val-exit" class="anchor"></a><code><span class="keyword">val</span> exit : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-free"><a href="#val-free" class="anchor"></a><code><span class="keyword">val</span> free : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-fscanf"><a href="#val-fscanf" class="anchor"></a><code><span class="keyword">val</span> fscanf : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-fwscanf"><a href="#val-fwscanf" class="anchor"></a><code><span class="keyword">val</span> fwscanf : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-malloc"><a href="#val-malloc" class="anchor"></a><code><span class="keyword">val</span> malloc : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-malloc_no_fail"><a href="#val-malloc_no_fail" class="anchor"></a><code><span class="keyword">val</span> malloc_no_fail : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-nsArray_arrayWithObjects"><a href="#val-nsArray_arrayWithObjects" class="anchor"></a><code><span class="keyword">val</span> nsArray_arrayWithObjects : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-nsArray_arrayWithObjectsCount"><a href="#val-nsArray_arrayWithObjectsCount" class="anchor"></a><code><span class="keyword">val</span> nsArray_arrayWithObjectsCount : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-objc_cpp_throw"><a href="#val-objc_cpp_throw" class="anchor"></a><code><span class="keyword">val</span> objc_cpp_throw : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-pthread_create"><a href="#val-pthread_create" class="anchor"></a><code><span class="keyword">val</span> pthread_create : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-scanf"><a href="#val-scanf" class="anchor"></a><code><span class="keyword">val</span> scanf : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-sscanf"><a href="#val-sscanf" class="anchor"></a><code><span class="keyword">val</span> sscanf : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-swscanf"><a href="#val-swscanf" class="anchor"></a><code><span class="keyword">val</span> swscanf : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-vfscanf"><a href="#val-vfscanf" class="anchor"></a><code><span class="keyword">val</span> vfscanf : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-vfwscanf"><a href="#val-vfwscanf" class="anchor"></a><code><span class="keyword">val</span> vfwscanf : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-vscanf"><a href="#val-vscanf" class="anchor"></a><code><span class="keyword">val</span> vscanf : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-vsscanf"><a href="#val-vsscanf" class="anchor"></a><code><span class="keyword">val</span> vsscanf : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-vswscanf"><a href="#val-vswscanf" class="anchor"></a><code><span class="keyword">val</span> vswscanf : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-vwscanf"><a href="#val-vwscanf" class="anchor"></a><code><span class="keyword">val</span> vwscanf : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-wscanf"><a href="#val-wscanf" class="anchor"></a><code><span class="keyword">val</span> wscanf : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-zero_initialization"><a href="#val-zero_initialization" class="anchor"></a><code><span class="keyword">val</span> zero_initialization : <a href="index.html#type-t">t</a></code></dt></dl></details></div></div></div><dl><dt class="spec value" id="val-init"><a href="#val-init" class="anchor"></a><code><span class="keyword">val</span> init : unit <span>&#45;&gt;</span> unit</code></dt><dd><p>Clients of Builtin module should call this before Builtin module is used. WARNING: builtins are not guaranteed to be registered with the Builtin module until after init has been called.</p></dd></dl></div></body></html>