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

Does every pointer value have a cell/node associated with it? #68

Closed
zvonimir opened this issue Mar 28, 2020 · 2 comments
Closed

Does every pointer value have a cell/node associated with it? #68

zvonimir opened this issue Mar 28, 2020 · 2 comments
Labels

Comments

@zvonimir
Copy link

To me it seems that when SeaDSA finishes, all pointer values in a program should have a cell/node associated with them. Unless, of course, there are bugs in SeaDSA.
Is that right or am I missing something?
Thanks!

@agurfinkel
Copy link
Contributor

Yes.

At first, SeaDSA runs over every pointer producing instruction and allocates a node for it and a associates a cell with the instruction.

After that, the nodes are propagated and merged and moved between different functions (in context sensitive version).

@zvonimir
Copy link
Author

zvonimir commented Mar 29, 2020

Thanks! Makes sense. Btw, that was not completely the case with LLVM DSA, but I would guess that was due to bugs in there.

shaobo-he added a commit to smackers/smack that referenced this issue Mar 29, 2020
sea-dsa's nodes/cells should not be null for valid values.
See: seahorn/sea-dsa#68
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants