We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54d943d commit bf9a8c2Copy full SHA for bf9a8c2
src/java_bytecode/ci_lazy_methods_needed.cpp
@@ -34,8 +34,14 @@ bool ci_lazy_methods_neededt::add_needed_class(
34
{
35
if(!needed_classes.insert(class_symbol_name).second)
36
return false;
37
- const irep_idt clinit_name(id2string(class_symbol_name)+".<clinit>:()V");
+ const std::string &class_name_string = id2string(class_symbol_name);
38
+ const irep_idt clinit_name(class_name_string + ".<clinit>:()V");
39
if(symbol_table.symbols.count(clinit_name))
40
add_needed_method(clinit_name);
41
+
42
+ const irep_idt cprover_validate(
43
+ class_name_string + ".cproverNondetInitialize:()V");
44
+ if(symbol_table.symbols.count(cprover_validate))
45
+ add_needed_method(cprover_validate);
46
return true;
47
}
0 commit comments