Skip to content

Commit 728bbc3

Browse files
cristina-davidsmowton
authored andcommitted
Consider implicit exceptions when building the CFG from bytecode
1 parent db0b1f2 commit 728bbc3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/java_bytecode/java_bytecode_convert_method.cpp

+7
Original file line numberDiff line numberDiff line change
@@ -1046,6 +1046,13 @@ codet java_bytecode_convert_methodt::convert_instructions(
10461046
}
10471047

10481048
if(i_it->statement=="athrow" ||
1049+
i_it->statement=="putfield" ||
1050+
i_it->statement=="getfield" ||
1051+
i_it->statement=="checkcast" ||
1052+
i_it->statement=="newarray" ||
1053+
i_it->statement=="anewarray" ||
1054+
i_it->statement==patternt("?astore") ||
1055+
i_it->statement==patternt("?aload") ||
10491056
i_it->statement=="invokestatic" ||
10501057
i_it->statement=="invokevirtual" ||
10511058
i_it->statement=="invokespecial" ||

0 commit comments

Comments
 (0)