File tree Expand file tree Collapse file tree 2 files changed +25
-4
lines changed
tests/regression/46-apron2 Expand file tree Collapse file tree 2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -469,10 +469,9 @@ struct
469469 | None -> None
470470 | Some st ->
471471 let ad = ask.f (Queries. ReachableFrom e) in
472- if Queries.AD. is_top ad then
473- None
474- else
475- Some (Queries.AD. join ad st)
472+ (* See https://github.com/goblint/analyzer/issues/1535 *)
473+ let ad = Queries.AD. remove UnknownPtr ad in
474+ Some (Queries.AD. join ad st)
476475 in
477476 List. fold_right reachable es (Some (Queries.AD. empty () ))
478477
Original file line number Diff line number Diff line change 1+ // SKIP PARAM: --set ana.activated[+] apron --set sem.int.signed_overflow assume_none
2+ #include <pthread.h>
3+ #include <goblint.h>
4+ #include <stdio.h>
5+
6+ int debug ;
7+ int other ;
8+
9+ int main () {
10+ int top ;
11+
12+ // Needed so Base & DefExc doesn't find this information because it invalidates less
13+ if (top ) {
14+ debug = 3 ;
15+ }
16+
17+ fscanf (stdin , "%d" , & other );
18+
19+ // Fails as debug is invalidated
20+ __goblint_check (debug <= 3 );
21+ return 0 ;
22+ }
You can’t perform that action at this time.
0 commit comments