Skip to content

Commit

Permalink
our tests pass make test (random tests fail though for some reason)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Tietz committed Jan 25, 2024
1 parent c7b4256 commit a1caa65
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
4 changes: 2 additions & 2 deletions tests/regression/79-assembly/07-asm-exp-split.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ int main(void) {
__goblint_split_begin(x);
x = r ? 1 : 0;
asm("nop" : "=x" (x), "=x" (r));
__goblint_check(x == 0 || x == 1);
__goblint_check(x == 0 || x == 1); // UNKNOWN (without asm it would be known)
__goblint_split_end(x);
__goblint_check(x == 0 || x == 1); // UNKNOWN (intentionally)
__goblint_check(x == 0 || x == 1); // UNKNOWN
}
9 changes: 0 additions & 9 deletions tests/regression/79-assembly/100-invalidate-asm.c

This file was deleted.

4 changes: 2 additions & 2 deletions tests/regression/79-assembly/32-asm-mem-leak.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ void ok(void) {
void not_ok(void) {
char *x = malloc(64);
asm ("nop" : "=x" (x));
free(x);
return; //WARN
free(x); //WARN
return;
}

int main(void) {
Expand Down

0 comments on commit a1caa65

Please sign in to comment.