File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ xmlt ai_domain_baset::output_xml(
37
37
{
38
38
std::ostringstream out;
39
39
output (out, ai, ns);
40
- xmlt xml (" domain " );
40
+ xmlt xml (" abstract_state " );
41
41
xml.data =out.str ();
42
42
return xml;
43
43
}
@@ -166,7 +166,7 @@ jsont ai_baset::output_json(
166
166
json_numbert (std::to_string (i_it->location_number ));
167
167
location[" sourceLocation" ]=
168
168
json_stringt (i_it->source_location .as_string ());
169
- location[" domain " ]=find_state (i_it).output_json (*this , ns);
169
+ location[" abstractState " ]=find_state (i_it).output_json (*this , ns);
170
170
171
171
// Ideally we need output_instruction_json
172
172
std::ostringstream out;
@@ -427,7 +427,12 @@ bool ai_baset::do_function_call(
427
427
assert (l_end->is_end_function ());
428
428
429
429
// do edge from end of function to instruction after call
430
- std::unique_ptr<statet> tmp_state (make_temporary_state (get_state (l_end)));
430
+ const statet &end_state=get_state (l_end);
431
+
432
+ if (end_state.is_bottom ())
433
+ return false ; // function exit point not reachable
434
+
435
+ std::unique_ptr<statet> tmp_state (make_temporary_state (end_state));
431
436
tmp_state->transform (l_end, l_return, *this , ns);
432
437
433
438
// Propagate those
You can’t perform that action at this time.
0 commit comments