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
18 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>BuiltinDecl (infer.IR.BuiltinDecl)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><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; <a href="../index.html">IR</a> &#x00BB; BuiltinDecl</nav><h1>Module <code>IR.BuiltinDecl</code></h1></header><aside><p>Procnames for the builtin functions supported</p></aside><div><div class="spec include"><div class="doc"><details open="open"><summary><span class="def"><code><span class="keyword">include</span> <a href="../BUILTINS/index.html#module-type-S">BUILTINS.S</a> <span class="keyword">with</span> <span class="keyword">type</span> <a href="../BUILTINS/module-type-S/index.html#type-t">t</a> = <a href="../Procname/index.html#type-t">Procname.t</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="../Procname/index.html#type-t">Procname.t</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-__objc_bridge_transfer"><a href="#val-__objc_bridge_transfer" class="anchor"></a><code><span class="keyword">val</span> __objc_bridge_transfer : <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_autorelease_pool_pop"><a href="#val-objc_autorelease_pool_pop" class="anchor"></a><code><span class="keyword">val</span> objc_autorelease_pool_pop : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-objc_autorelease_pool_push"><a href="#val-objc_autorelease_pool_push" class="anchor"></a><code><span class="keyword">val</span> objc_autorelease_pool_push : <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-is_declared"><a href="#val-is_declared" class="anchor"></a><code><span class="keyword">val</span> is_declared : <a href="../Procname/index.html#type-t">Procname.t</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-__erlang_pattern_fail"><a href="#val-__erlang_pattern_fail" class="anchor"></a><code><span class="keyword">val</span> __erlang_pattern_fail : <a href="index.html#type-t">t</a></code></dt><dd><p>all patterns in a function failed to match</p></dd></dl><dl><dt class="spec value" id="val-__infer_initializer_list"><a href="#val-__infer_initializer_list" class="anchor"></a><code><span class="keyword">val</span> __infer_initializer_list : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-__infer_skip_function"><a href="#val-__infer_skip_function" class="anchor"></a><code><span class="keyword">val</span> __infer_skip_function : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-__infer_skip_gcc_asm_stmt"><a href="#val-__infer_skip_gcc_asm_stmt" class="anchor"></a><code><span class="keyword">val</span> __infer_skip_gcc_asm_stmt : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-__infer_generic_selection_expr"><a href="#val-__infer_generic_selection_expr" class="anchor"></a><code><span class="keyword">val</span> __infer_generic_selection_expr : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-__atomic_fetch_max"><a href="#val-__atomic_fetch_max" class="anchor"></a><code><span class="keyword">val</span> __atomic_fetch_max : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-__atomic_fetch_min"><a href="#val-__atomic_fetch_min" class="anchor"></a><code><span class="keyword">val</span> __atomic_fetch_min : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-__atomic_fetch_nand"><a href="#val-__atomic_fetch_nand" class="anchor"></a><code><span class="keyword">val</span> __atomic_fetch_nand : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-__atomic_max_fetch"><a href="#val-__atomic_max_fetch" class="anchor"></a><code><span class="keyword">val</span> __atomic_max_fetch : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-__atomic_min_fetch"><a href="#val-__atomic_min_fetch" class="anchor"></a><code><span class="keyword">val</span> __atomic_min_fetch : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-__atomic_nand_fetch"><a href="#val-__atomic_nand_fetch" class="anchor"></a><code><span class="keyword">val</span> __atomic_nand_fetch : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-__c11_atomic_fetch_max"><a href="#val-__c11_atomic_fetch_max" class="anchor"></a><code><span class="keyword">val</span> __c11_atomic_fetch_max : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-__c11_atomic_fetch_min"><a href="#val-__c11_atomic_fetch_min" class="anchor"></a><code><span class="keyword">val</span> __c11_atomic_fetch_min : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-__opencl_atomic_fetch_max"><a href="#val-__opencl_atomic_fetch_max" class="anchor"></a><code><span class="keyword">val</span> __opencl_atomic_fetch_max : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-__opencl_atomic_fetch_min"><a href="#val-__opencl_atomic_fetch_min" class="anchor"></a><code><span class="keyword">val</span> __opencl_atomic_fetch_min : <a href="../Procname/index.html#type-t">Procname.t</a></code></dt><dt class="spec value" id="val-match_builtin"><a href="#val-match_builtin" class="anchor"></a><code><span class="keyword">val</span> match_builtin : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span class="type-var">'a</span> <span>&#45;&gt;</span> string <span>&#45;&gt;</span> bool</code></dt></dl></div></body></html>