You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
c[0] is not symbolic due to the effects of sprintf. Writing an exhaustive wrapper for sprintf is hard, however, we can at least clear the symbolic memory written by sprintf to avoid (a) solving invalid queries and (b) polluting the path constraints.
One possible fix could be this one. Let me know if this ok or how to improve it.
P.s. I had to make this declaration to make the compiler happy (see the attribute), however, maybe we want to move it somewhere else.
The text was updated successfully, but these errors were encountered:
Consider the following example (inspired by a real-world program):
c[0]
is not symbolic due to the effects ofsprintf
. Writing an exhaustive wrapper forsprintf
is hard, however, we can at least clear the symbolic memory written bysprintf
to avoid (a) solving invalid queries and (b) polluting the path constraints.One possible fix could be this one. Let me know if this ok or how to improve it.
P.s. I had to make this declaration to make the compiler happy (see the attribute), however, maybe we want to move it somewhere else.
The text was updated successfully, but these errors were encountered: