Skip to content

SSS: Add get-underlying-object utility #594

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

Conversation

smowton
Copy link
Contributor

@smowton smowton commented Mar 3, 2017

This looks through member expressions.

@smowton smowton force-pushed the sss_underlying_object branch from f0b0528 to 077420f Compare March 3, 2017 14:33
This looks through member expressions.
@smowton smowton force-pushed the sss_underlying_object branch from 077420f to a1f2074 Compare March 3, 2017 14:33
Copy link
Member

@peterschrammel peterschrammel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An alternative implementation of this is: https://github.com/diffblue/cbmc/blob/test-gen-support/src/util/std_expr.h#L2983
We'll have to decide which one to use.

@smowton
Copy link
Contributor Author

smowton commented Mar 8, 2017

Don't mind which we use in the end; can we have this in sss for now so we get a tree we can build against?

@peterschrammel peterschrammel merged commit 7d57fda into diffblue:security-scanner-support Mar 8, 2017
@tautschnig
Copy link
Collaborator

Sorry for joining the party late, but do people know about object_descriptor_exprt ? That should get you what you are looking for via .root_object()

NathanJPhillips pushed a commit to NathanJPhillips/cbmc that referenced this pull request Sep 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants