Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#39 #41

Open
MCFuzzer opened this issue Feb 19, 2019 · 0 comments
Open

#39 #41

MCFuzzer opened this issue Feb 19, 2019 · 0 comments
Labels
confirmed memory model This bug is related to memory model SeaHorn This is the bug in SeaHorn

Comments

@MCFuzzer
Copy link
Owner

void foo()
{
  static int last_align = -1;
  int dummy = 0;
  int align = (int)&dummy & 15;
  if (last_align < 0)
    last_align = align;
  else if (align != last_align)
    {__VERIFIER_error();}
}

int main()
{
	foo();
	foo();
	return 0;
}

OS: Ubuntu 18.04
Version: 21a1c0
Commandline: sea bpf <file_name.h>
Expected result: TRUE
Tool result: FALSE

@MCFuzzer MCFuzzer added SeaHorn This is the bug in SeaHorn memory model This bug is related to memory model confirmed labels Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed memory model This bug is related to memory model SeaHorn This is the bug in SeaHorn
Projects
None yet
Development

No branches or pull requests

1 participant