diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-04-07 14:54:52 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-04-07 15:13:02 +0200 |
commit | e0e9431c2715ec60b469258336bd6a35b344fee3 (patch) | |
tree | c3478ac21ea8e78c711579cce69be0268e2f5bc4 /.gitignore | |
parent | 2b59140b2c00987b9d8c2c908d2d44c67786e71e (diff) |
vm: move unhandled exception reporting out of `uc_vm_execute_chunk()`
Move the invocation of the unhandled exception callback handler out of
`uc_vm_execute_chunk()` into both `uc_vm_execute()` and `uc_vm_invoke()`
in order to consistently report exceptions exactly once regardless of
whether a native or managed code function is executed as topmost VM
call.
This solves cases where the unhandled exception callback was either
called multiple times or never at all.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions