We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code causes AliasAnalysis to throw an exception. I'm running AliasAnalysis.exe test.bpl, that is, without any additional arguments.
AliasAnalysis.exe test.bpl
function {:inline} {:aliasingQuery} aliasQ(p: Ref, q: Ref) : bool { p == q } type Ref; var m: [Ref]int; procedure Write1(r: Ref); implementation Write1(r: Ref) { m := m[r := 1]; return; } procedure Main(); implementation Main() { var a : Ref; call Write1(a); assert aliasQ(a, a); }
The text was updated successfully, but these errors were encountered:
As mentioned in email, try changing map update to "m[r] := 1".
Sorry, something went wrong.
No branches or pull requests
The following code causes AliasAnalysis to throw an exception. I'm running
AliasAnalysis.exe test.bpl
, that is, without any additional arguments.The text was updated successfully, but these errors were encountered: