diff options
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -807,7 +807,7 @@ uc_vm_get_error_context(uc_vm *vm) size_t offset, i; /* skip to first non-native function call frame */ - for (i = vm->callframes.count; i > 0; i--) + for (i = vm->callframes.count; i > 1; i--) if (vm->callframes.entries[i - 1].closure) break; |