Skip to content

Commit

Permalink
Fix os_sche_exit() mock
Browse files Browse the repository at this point in the history
  • Loading branch information
yogh333 committed Aug 28, 2024
1 parent b56fcfc commit 290c24f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fuzzing/src/os_mocks.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ unsigned int os_serial(unsigned char *serial, unsigned int maxlength) {
}

void __attribute__((noreturn)) os_sched_exit(bolos_task_status_t exit_code) {
exit(exit_code);
//exit(exit_code);
return;
}

void os_longjmp(unsigned int exception) {
Expand Down

0 comments on commit 290c24f

Please sign in to comment.