Skip to content

Commit ab59659

Browse files
Allow instrumentation of java.* and org.cprover.*
1 parent 7c04b5c commit ab59659

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/goto-instrument/cover_filter.cpp

+2-5
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,8 @@ bool internal_functions_filtert::operator()(
3232
if(goto_function.is_hidden())
3333
return false;
3434

35-
// ignore Java built-ins
36-
if(
37-
has_prefix(id2string(identifier), "java::array[") ||
38-
has_prefix(id2string(identifier), "java::org.cprover") ||
39-
has_prefix(id2string(identifier), "java::java."))
35+
// ignore Java built-ins (synthetic functions)
36+
if(has_prefix(id2string(identifier), "java::array["))
4037
return false;
4138

4239
// ignore if built-in library

0 commit comments

Comments
 (0)