@@ -25,17 +25,16 @@ import java.io.{BufferedWriter, File, FileWriter}
25
25
class IndirectCallTests extends AnyFunSuite , BASILTest , TestCustomisation {
26
26
27
27
override def customiseTestsByName (name : String ) = name match {
28
- case " functionpointer/clang:BAP" | " functionpointer/clang_O2:BAP" | " functionpointer/clang_O2:GTIRB" |
29
- " functionpointer/clang_pic:BAP" | " functionpointer/gcc:BAP" | " functionpointer/gcc_O2:BAP" |
30
- " functionpointer/gcc_pic:BAP" | " indirect_call/clang:BAP" | " indirect_call/clang_pic:BAP" |
31
- " indirect_call/gcc:BAP" | " indirect_call/gcc_pic:BAP" | " indirect_call_outparam/clang:BAP" |
32
- " indirect_call_outparam/clang:GTIRB" | " indirect_call_outparam/gcc:BAP" | " indirect_call_outparam/gcc:GTIRB" |
33
- " jumptable/clang:BAP" | " jumptable/clang:GTIRB" | " jumptable/gcc:BAP" | " jumptable/gcc:GTIRB" |
34
- " jumptable2/clang:BAP" | " jumptable2/clang_O2:BAP" | " jumptable2/clang_pic:BAP" | " jumptable2/gcc:BAP" |
35
- " jumptable2/gcc_O2:BAP" | " jumptable2/gcc_pic:BAP" | " jumptable3/clang_O2:GTIRB" =>
36
- Mode .TempFailure (" appear to be failing after simplification pass" )
37
- case " jumptable3/clang:GTIRB" | " switch2/clang:GTIRB" =>
38
- Mode .TempFailure (" Unable to evaluate expr: bitvector size mismatch" )
28
+ case " indirect_call_outparam/clang:BAP" | " indirect_call_outparam/clang:GTIRB" | " indirect_call_outparam/gcc:BAP" |
29
+ " indirect_call_outparam/gcc:GTIRB" | " jumptable/clang:BAP" | " jumptable/clang:GTIRB" =>
30
+ Mode .TempFailure (" indirect call not resolved to correct target" )
31
+
32
+ case " jumptable3/clang:GTIRB" | " jumptable3/clang_O2:GTIRB" | " switch2/clang:GTIRB" =>
33
+ Mode .TempFailure (" indirect call not resolved to goto" )
34
+
35
+ case " jumptable/gcc:BAP" | " jumptable/gcc:GTIRB" =>
36
+ Mode .TempFailure (" Expected verification success, but got failure" )
37
+
39
38
case _ => Mode .Normal
40
39
}
41
40
0 commit comments