File tree 2 files changed +10
-4
lines changed 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,11 @@ json_objectt show_goto_functions_jsont::convert(
48
48
json_function[" name" ]=json_stringt (id2string (function_name));
49
49
json_function[" isBodyAvailable" ]=
50
50
jsont::json_boolean (function.body_available ());
51
- bool is_internal=(has_prefix (id2string (function_name), CPROVER_PREFIX) ||
52
- function_name==goto_functions.entry_point ());
51
+ bool is_internal=
52
+ has_prefix (id2string (function_name), CPROVER_PREFIX) ||
53
+ has_prefix (id2string (function_name), " java::array[" ) ||
54
+ has_prefix (id2string (function_name), " java::org.cprover" ) ||
55
+ has_prefix (id2string (function_name), " java::java" );
53
56
json_function[" isInternal" ]=jsont::json_boolean (is_internal);
54
57
55
58
if (function.body_available ())
Original file line number Diff line number Diff line change @@ -49,8 +49,11 @@ xmlt show_goto_functions_xmlt::convert(
49
49
xml_function.set_attribute (" name" , id2string (function_name));
50
50
xml_function.set_attribute_bool (
51
51
" is_body_available" , function.body_available ());
52
- bool is_internal=(has_prefix (id2string (function_name), CPROVER_PREFIX) ||
53
- function_name==goto_functions.entry_point ());
52
+ bool is_internal=
53
+ has_prefix (id2string (function_name), CPROVER_PREFIX) ||
54
+ has_prefix (id2string (function_name), " java::array[" ) ||
55
+ has_prefix (id2string (function_name), " java::org.cprover" ) ||
56
+ has_prefix (id2string (function_name), " java::java" );
54
57
xml_function.set_attribute_bool (" is_internal" , is_internal);
55
58
56
59
if (function.body_available ())
You can’t perform that action at this time.
0 commit comments