CBMC
load_java_class.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Unit test utilities
4 
5 Author: Diffblue Ltd.
6 
7 \*******************************************************************/
8 
12 
13 #ifndef CPROVER_JAVA_TESTING_UTILS_LOAD_JAVA_CLASS_H
14 #define CPROVER_JAVA_TESTING_UTILS_LOAD_JAVA_CLASS_H
15 
16 #include <util/symbol_table.h>
17 
19 
20 #include <memory>
21 
22 class cmdlinet;
23 class languaget;
24 
26  const std::string &java_class_name,
27  const std::string &class_path,
28  const std::string &main = "");
29 
31  const std::string &java_class_name,
32  const std::string &class_path,
33  const std::string &main,
34  std::unique_ptr<languaget> &&java_lang);
35 
37  const std::string &java_class_name,
38  const std::string &class_path,
39  const std::string &main,
40  std::unique_ptr<languaget> &&java_lang,
41  const cmdlinet &command_line);
42 
44  const std::string &java_class_name,
45  const std::string &class_path,
46  const std::string &main,
47  std::unique_ptr<languaget> &&java_lang,
48  const cmdlinet &command_line);
49 
51  const std::string &java_class_name,
52  const std::string &class_path,
53  const std::string &main);
54 
58  const std::string &java_class_name,
59  const std::string &class_path,
60  const std::vector<std::string> &command_line_flags,
61  const std::unordered_map<std::string, std::string> &command_line_options,
62  const std::string &main = "");
63 
65  const std::string &java_class_name,
66  const std::string &class_path,
67  const std::string &main = "");
68 
69 #endif // CPROVER_JAVA_TESTING_UTILS_LOAD_JAVA_CLASS_H
The symbol table.
Definition: symbol_table.h:14
int main(int argc, char *argv[])
Symbol Table + CFG.
symbol_tablet load_java_class_lazy(const std::string &java_class_name, const std::string &class_path, const std::string &main)
Go through the process of loading, type-checking and finalising loading a specific class file to buil...
symbol_tablet load_java_class(const std::string &java_class_name, const std::string &class_path, const std::string &main="")
Returns the symbol table from load_goto_model_from_java_class(const std::string &java_class_name,...
goto_modelt load_goto_model_from_java_class(const std::string &java_class_name, const std::string &class_path, const std::string &main, std::unique_ptr< languaget > &&java_lang, const cmdlinet &command_line)
Go through the process of loading, type-checking and finalising a specific class file to build a goto...
Author: Diffblue Ltd.