File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,8 @@ struct static_verifier_resultt
44
44
statust status;
45
45
source_locationt source_location;
46
46
irep_idt function_id;
47
+ ai_history_baset::trace_sett unknown_histories;
48
+ ai_history_baset::trace_sett false_histories;
47
49
};
48
50
49
51
static statust
@@ -98,6 +100,14 @@ static static_verifier_resultt check_assertion(
98
100
auto dp = ai.abstract_state_before (assert_location);
99
101
100
102
result.status = check_assertion (*dp, e, ns);
103
+ if (result.status == statust::FALSE )
104
+ {
105
+ result.false_histories = trace_set;
106
+ }
107
+ else if (result.status == statust::UNKNOWN)
108
+ {
109
+ result.unknown_histories = trace_set;
110
+ }
101
111
}
102
112
else
103
113
{
@@ -122,9 +132,11 @@ static static_verifier_resultt check_assertion(
122
132
break ;
123
133
case statust::FALSE :
124
134
++false_traces;
135
+ result.false_histories .insert (trace_ptr);
125
136
break ;
126
137
case statust::UNKNOWN:
127
138
++unknown_traces;
139
+ result.unknown_histories .insert (trace_ptr);
128
140
break ;
129
141
default :
130
142
UNREACHABLE;
You can’t perform that action at this time.
0 commit comments