mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-06 13:51:28 +00:00
[LibOS] Assert that context != NULL in shim_signal.c: illegal_upcall()
This commit is contained in:
committed by
Dmitrii Kuvaiskii
parent
e7ab81758f
commit
fdc206d339
@@ -472,8 +472,9 @@ static void illegal_upcall (PAL_PTR event, PAL_NUM arg, PAL_CONTEXT * context)
|
||||
!context_is_internal(context) &&
|
||||
!(lookup_vma((void *) arg, &vma)) &&
|
||||
!(vma.flags & VMA_INTERNAL)) {
|
||||
if (context)
|
||||
debug("illegal instruction at 0x%08lx\n", context->IP);
|
||||
|
||||
assert(context);
|
||||
debug("illegal instruction at 0x%08lx\n", context->IP);
|
||||
|
||||
uint8_t * rip = (uint8_t*)context->IP;
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user