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
6.8 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>JClasspath (infer.InferModules.JClasspath)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc %%VERSION%%"/><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">InferModules</a> &#x00BB; JClasspath</nav><h1>Module <code>InferModules.JClasspath</code></h1></header><dl><dt class="spec value" id="val-add_models"><a href="#val-add_models" class="anchor"></a><code><span class="keyword">val</span> add_models : string <span>&#45;&gt;</span> unit</code></dt><dd><p>Adds the set of procnames for the models of Java libraries so that methods with similar names are skipped during the capture</p></dd></dl><dl><dt class="spec value" id="val-is_model"><a href="#val-is_model" class="anchor"></a><code><span class="keyword">val</span> is_model : <a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> bool</code></dt><dd><p>Check if there is a model for the given procname</p></dd></dl><dl><dt class="spec type" id="type-file_entry"><a href="#type-file_entry" class="anchor"></a><code><span class="keyword">type</span> file_entry</code><code> = </code><table class="variant"><tr id="type-file_entry.Singleton" class="anchored"><td class="def constructor"><a href="#type-file_entry.Singleton" class="anchor"></a><code>| </code><code><span class="constructor">Singleton</span> <span class="keyword">of</span> <a href="../../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a></code></td></tr><tr id="type-file_entry.Duplicate" class="anchored"><td class="def constructor"><a href="#type-file_entry.Duplicate" class="anchor"></a><code>| </code><code><span class="constructor">Duplicate</span> <span class="keyword">of</span> <span><span>(string * <a href="../../../InferBase/InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a>)</span> list</span></code></td></tr></table></dt><dd><p>map entry for source files with potential basename collision within the same compiler call</p></dd></dl><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code><code> = string * <span><a href="index.html#type-file_entry">file_entry</a> <a href="../../../InferStdlib/InferStdlib/index.html#module-IStd">InferStdlib.IStd</a>.String.Map.t</span> * Javalib_pack.JBasics.ClassSet.t</code></dt></dl><dl><dt class="spec value" id="val-load_from_verbose_output"><a href="#val-load_from_verbose_output" class="anchor"></a><code><span class="keyword">val</span> load_from_verbose_output : string <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>load the list of source files and the list of classes from the javac verbose file</p></dd></dl><dl><dt class="spec value" id="val-load_from_arguments"><a href="#val-load_from_arguments" class="anchor"></a><code><span class="keyword">val</span> load_from_arguments : string <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>load the list of source files and the list of classes from Config.generated_classes</p></dd></dl><dl><dt class="spec type" id="type-classmap"><a href="#type-classmap" class="anchor"></a><code><span class="keyword">type</span> classmap</code><code> = <span><span>Javalib_pack.JCode.jcode Javalib_pack.Javalib.interface_or_class</span> Javalib_pack.JBasics.ClassMap.t</span></code></dt><dt class="spec type" id="type-program"><a href="#type-program" class="anchor"></a><code><span class="keyword">type</span> program</code></dt></dl><dl><dt class="spec value" id="val-get_classmap"><a href="#val-get_classmap" class="anchor"></a><code><span class="keyword">val</span> get_classmap : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> <a href="index.html#type-classmap">classmap</a></code></dt><dt class="spec value" id="val-get_models"><a href="#val-get_models" class="anchor"></a><code><span class="keyword">val</span> get_models : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> <a href="index.html#type-classmap">classmap</a></code></dt><dt class="spec value" id="val-cleanup"><a href="#val-cleanup" class="anchor"></a><code><span class="keyword">val</span> cleanup : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-load_program"><a href="#val-load_program" class="anchor"></a><code><span class="keyword">val</span> load_program : string <span>&#45;&gt;</span> Javalib_pack.JBasics.ClassSet.t <span>&#45;&gt;</span> <a href="index.html#type-program">program</a></code></dt><dd><p>load a java program</p></dd></dl><dl><dt class="spec value" id="val-lookup_node"><a href="#val-lookup_node" class="anchor"></a><code><span class="keyword">val</span> lookup_node : Javalib_pack.JBasics.class_name <span>&#45;&gt;</span> <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> <span><span>Javalib_pack.JCode.jcode Javalib_pack.Javalib.interface_or_class</span> option</span></code></dt><dd><p>retrieve a Java node from the classname</p></dd></dl><dl><dt class="spec value" id="val-add_missing_callee"><a href="#val-add_missing_callee" class="anchor"></a><code><span class="keyword">val</span> add_missing_callee : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> Javalib_pack.JBasics.class_name <span>&#45;&gt;</span> Javalib_pack.JBasics.method_signature <span>&#45;&gt;</span> unit</code></dt><dd><p>add the class name of method signature to the list of callees</p></dd></dl><dl><dt class="spec value" id="val-set_callee_translated"><a href="#val-set_callee_translated" class="anchor"></a><code><span class="keyword">val</span> set_callee_translated : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> <a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>set that the CFG for the procedure has been created</p></dd></dl><dl><dt class="spec value" id="val-iter_missing_callees"><a href="#val-iter_missing_callees" class="anchor"></a><code><span class="keyword">val</span> iter_missing_callees : <a href="index.html#type-program">program</a> <span>&#45;&gt;</span> <span>f:<span>(<a href="../../../InferIR/InferIR/Typ/Procname/index.html#type-t">InferIR.Typ.Procname.t</a> <span>&#45;&gt;</span> Javalib_pack.JBasics.class_name <span>&#45;&gt;</span> Javalib_pack.JBasics.method_signature <span>&#45;&gt;</span> unit)</span></span> <span>&#45;&gt;</span> unit</code></dt></dl></div></body></html>