Skip to content

Commit deebfb6

Browse files
author
Daniel Kroening
authored
Merge pull request diffblue#53 from tautschnig/pointer-logic-bugfix
Evaluating object_size requires pointer_logic.objects fully populated
2 parents 52f0aa8 + cbcd92f commit deebfb6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/solvers/flattening/bv_pointers.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,9 @@ Function: bv_pointerst::post_process
899899

900900
void bv_pointerst::post_process()
901901
{
902+
// post-processing arrays may yield further objects, do this first
903+
SUB::post_process();
904+
902905
for(postponed_listt::const_iterator
903906
it=postponed_list.begin();
904907
it!=postponed_list.end();
@@ -907,6 +910,4 @@ void bv_pointerst::post_process()
907910

908911
// Clear the list to avoid re-doing in case of incremental usage.
909912
postponed_list.clear();
910-
911-
SUB::post_process();
912913
}

0 commit comments

Comments
 (0)