File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -206,8 +206,15 @@ static void initialise_domain(
206
206
207
207
/* ******************************************************************\
208
208
\*******************************************************************/
209
- typedef std::unordered_set<instruction_iteratort,
210
- instruction_iterator_hashert>
209
+
210
+ struct order_by_location_number {
211
+ bool operator ()(instruction_iteratort a, instruction_iteratort b)
212
+ {
213
+ return a->location_number < b->location_number ;
214
+ }
215
+ };
216
+
217
+ typedef std::set<instruction_iteratort,order_by_location_number>
211
218
solver_work_set_t ;
212
219
213
220
@@ -1357,7 +1364,7 @@ taint_summary_ptrt taint_summarise_function(
1357
1364
*log << " <h2>Called sumfn::taint::taint_summarise_function( "
1358
1365
<< to_html_text (as_string (function_id)) << " )</h2>\n "
1359
1366
;
1360
-
1367
+
1361
1368
goto_functionst::function_mapt const & functions =
1362
1369
instrumented_program.goto_functions .function_map ;
1363
1370
auto const fn_iter = functions.find (function_id);
@@ -1426,6 +1433,7 @@ taint_summary_ptrt taint_summarise_function(
1426
1433
{
1427
1434
instruction_iteratort const src_instr_it = *work_set.cbegin ();
1428
1435
work_set.erase (work_set.cbegin ());
1436
+
1429
1437
++steps;
1430
1438
1431
1439
taint_map_from_lvalues_to_svaluest const & src_value =
You can’t perform that action at this time.
0 commit comments