diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-09-24 09:21:31 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-09-24 09:26:13 +0200 |
commit | 218e8221a80a8fcf8bfd6cc115d7a0ae00a65ead (patch) | |
tree | 98120146a73bbe413945690e4009e2b8249da01d /examples | |
parent | 5b908bdf64a586d27d5bdd1df8c72a7cd63b386a (diff) |
vm: clear exception information before calling managed code functions
If execution in an existing VM that threw an exception was resumed
through uc_vm_call() or uc_vm_invoke(), the exception was never cleared,
causing all subsequent calls to return with an exception status as well.
Ensure that any preexisting exception information is discarded before
executing the requested function in order to start from a clean state.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions