Skip to content

Commit

Permalink
runtime/track_memory_map: consider inability to interpret syscall fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
fw-immunant committed Oct 18, 2023
1 parent e7cb6c3 commit 8f99d07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/track_memory_map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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(&regs, pkey, &event, &event_info, mode)) {
fprintf(stderr, "could not interpret syscall!\n");
return false;
}

if (!is_op_permitted(map, event, &event_info)) {
Expand Down

0 comments on commit 8f99d07

Please sign in to comment.