From 8f99d07d35bd0aae3c47cf09242ad622c7c343e4 Mon Sep 17 00:00:00 2001 From: Frances Wingerter Date: Wed, 18 Oct 2023 11:50:54 -0400 Subject: [PATCH] runtime/track_memory_map: consider inability to interpret syscall fatal --- runtime/track_memory_map.c | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/track_memory_map.c b/runtime/track_memory_map.c index d88e5cc3c..36ff11839 100644 --- a/runtime/track_memory_map.c +++ b/runtime/track_memory_map.c @@ -418,6 +418,7 @@ bool track_memory_map(pid_t pid, struct memory_map *map, int *exit_status_out, e enum mmap_event event = EVENT_NONE; if (!interpret_syscall(®s, pkey, &event, &event_info, mode)) { fprintf(stderr, "could not interpret syscall!\n"); + return false; } if (!is_op_permitted(map, event, &event_info)) {