-
Notifications
You must be signed in to change notification settings - Fork 273
dirtyt
analysis and OTHER
instructions ?
#7072
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
Comments
dirtyt
analysis can miss some dirty localsdirtyt
analysis and OTHER
instructions ?
Using |
Notwithstanding what @martin-cs said: the changes in #7085 should be moved to the actual |
Agree with @tautschnig . Let's not have multiple copies of the same code again; it takes ages to de-duplicate them. |
So, who's moving this code then? Michael seems to be doing a bunch of stuff, should we assign Remi? |
I can take the action. If things break as a result I might need help. |
Could we also consider modifying |
On Tue, 2022-09-06 at 13:59 -0700, Rémi Delmas wrote:
I can take the action. If things break as a result I might need help.
Happy to help if needed.
|
Could we also consider modifying goto_programt::instructiont::apply
to traverse all subnodes of OTHER instructions and not just
ID_expression ?
Yes... unfortunately there is not a complete list of what this can be
or what the intended semantics are.
#4323 is my best attempt.
To be honest, I think we should just remove OTHER or at least give it a
semantics of "It is fine to ignore these" or "If you find an OTHER that
you do not recognise, it could do *anything*, including havoc and non-
termination".
|
Fixed by #7106 |
CBMC version: 5.63.0 (cbmc-5.63.0-41-g5a7a0a8801-dirty)
Operating system: macOS
dirtyt
usesgoto_programt::instructiont::apply
to search for dirty symbols in instructions.goto_programt::instructiont::apply
only visits the contents of anOTHER
instruction if itsstatement
attribute is anID_expression
:Since OTHER operations can also have
statement
be equal toID_array_set
,ID_array_copy
,ID_array_replace
,ID_asm
, etc. is it possible thatdirtyt
would miss anything of importance ?The text was updated successfully, but these errors were encountered: