-
Notifications
You must be signed in to change notification settings - Fork 0
/
excluded.sml
132 lines (128 loc) · 3.2 KB
/
excluded.sml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
structure excluded = struct
open mlibUseful;
val exclude_descs =
[(*
Header unions
FAIL: Could not parse .*\/(.*?)\. Unknown declaration element type: HeaderUnion
*)
("adding header unions to HOL4P4",
["header-bool-bmv2",
"issue1879-bmv2",
"issue561-1-bmv2",
"issue561-2-bmv2",
"issue561-3-bmv2",
"issue561-5-bmv2",
"issue561-4-bmv2",
"issue561-7-bmv2",
"issue561-6-bmv2",
"union1-bmv2",
"union3-bmv2",
"union2-bmv2",
"union-valid-bmv2",
"union-bmv2"]),
(*
Variable-width integers
FAIL: Could not parse .*\/(.*?)\. .*varbit.*
*)
("adding dynamically-sized bit-strings to HOL4P4",
["checksum1-bmv2",
"equality-varbit-bmv2",
"equality-bmv2",
"issue1025-bmv2",
"issue447-1-bmv2",
"issue447-2-bmv2",
"issue447-3-bmv2",
"issue447-4-bmv2",
"issue447-bmv2",
"issue447-5-bmv2",
"test-parserinvalidargument-error-bmv2",
"checksum2-bmv2",
"checksum3-bmv2"]),
(*
Header stacks
FAIL: Could not parse .*\/(.*?)\. .*? \["header_stack".*
*)
("adding header stacks to HOL4P4",
["array-copy-bmv2",
"header-stack-ops-bmv2",
"stack_complex-bmv2",
"runtime-index-2-bmv2",
"subparser-with-header-stack-bmv2",
"ternary2-bmv2"]),
(*
V1Model hash extern (manually spotted)
*)
("modeling V1Model hash extern in HOL4P4",
["constant-in-calculation-bmv2"]),
(*
Signed integers
FAIL: Could not parse .*\/(.*?)\. .*?: \["int".*
*)
("adding signed integers to HOL4P4",
["arith5-bmv2",
"arith1-bmv2",
"concat-signed",
"runtime-index-bmv2",
(* Manually spotted *)
"saturated-bmv2"]),
(*
Enumeration type declarations (manually spotted)
*)
("adding support for enumeration type declarations in the import tool",
["decl-soundness",
"enum-bmv2"]),
(*
To-bool cast (manually spotted)
*)
("supporting to-bool cast in HOL4P4",
["issue1814-1-bmv2"]),
(*
To-struct cast (manually spotted)
*)
("supporting to-struct cast in HOL4P4",
["recursive-casts"]),
(*
Top-level extern instantiations (manually spotted)
*)
("supporting top-level extern instantiations in import tool",
["issue1097-2-bmv2"]),
(*
Counter extern of V1Model (manually spotted)
*)
("adding counter extern to V1Model model",
["issue1566-bmv2"]),
(*
Return struct of table application
*)
("adding support for desugaring more table application expressions to import tool",
["hit_ebpf",
"key-issue-1020_ebpf",
"switch_ebpf"]),
(*
Set expressions in select expression
FAIL: Could not parse .*\/(.*?)\. .*?: \["range".*
*)
("adding set expressions in select expressions to HOL4P4",
["issue995-bmv2",
"issue1000-bmv2",
"issue-2123-2-bmv2",
"issue-2123-3-bmv2"]),
(*
Exit statement
FAIL: Could not parse .*\/(.*?)\. .*?: unknown statement name: exit.*
*)
("adding exit statement to HOL4P4",
["issue2225-bmv2"]),
(*
"Don't care" (underscore) argument (manually spotted)
*)
("fixing don't-care function arguments in import tool",
["issue774-4-bmv2"])
];
fun get_error_desc testname [] = NONE
| get_error_desc testname (h::t) =
if List.exists (fn el => el = testname) (snd h)
then SOME (fst h)
else get_error_desc testname t
;
end