State deletion in symbolic mode

Skip to first unread message

Y Bai

Sep 25, 2021, 7:20:16 PMSep 25
to S2E Developer Forum

I have a question about the state deconstruction. How does S2E manage the state deletion?

While I'm using TerminateState API function to terminate one state, I found some other previous forked states get deconstructed silently as well. These states do not have a inheritance relation to each other. 


Vitaly Chipounov

Sep 25, 2021, 7:33:04 PMSep 25
to, Y Bai


S2E does not terminate states unless TerminateState is called. By default, it is called after the script terminates, using the "s2ecmd kill" command [1]. So, if your program forks and the forked state causes the program to exit, that state will be killed by the script.



You received this message because you are a member of the S2E Developer Forum.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

You received this message because you are subscribed to the Google Groups "S2E Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
Reply all
Reply to author
0 new messages