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.

5 lines
1.5 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferModules__CFrontend (infer.InferModules__CFrontend)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> &mdash; <span class="package">package <a href="../index.html">infer</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferModules__CFrontend</span></h1></header><div class="spec val" id="val-do_source_file"><a href="#val-do_source_file" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>do_source_file : <a href="../InferModules/CFrontend_config/index.html#type-translation_unit_context">InferModules.CFrontend_config.translation_unit_context</a> <span class="keyword">&#8209;&gt;</span> <a href="../../InferGenerated/InferGenerated/Clang_ast_t/index.html#type-decl">InferGenerated.Clang_ast_t.decl</a> <span class="keyword">&#8209;&gt;</span> unit</code></div><div class="doc"><p>Translate one file into a cfg. Create a tenv, cg and cfg file for a source file given its ast in
json format. Translate the json file into a cfg by adding all the type and class declarations to
the tenv, adding all the functions and methods declarations as procdescs to the cfg, and adding
the control flow graph of all the code of those functions and methods to the cfg.</p></div></div></body></html>