Skip to content
Snippets Groups Projects
Commit d3d1ef47 authored by Valentin Perrelle's avatar Valentin Perrelle Committed by David Bühler
Browse files

[Dive] Compute values for each cells composing a scattered node

parent 1a7a041f
No related branches found
No related tags found
No related merge requests found
......@@ -301,7 +301,12 @@ let build_all_scattered_node context callstack kinstr lval =
let is_folded_base = is_folded context in
try
let cells = enumerate_cells ~is_folded_base ~limit:20 lval kinstr in
List.map (add_or_update_node context callstack) cells
let add node_kind =
let node = add_or_update_node context callstack node_kind in
update_node_values node kinstr lval;
node
in
List.map add cells
with NotACell ->
Self.warning "Unable to enumerate cells for %a"
Cil_printer.pp_lval lval;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment