Add '!' to exit code printing message + formatting
This commit is contained in:
3
vuln.c
3
vuln.c
@@ -275,6 +275,7 @@ uint8_t run_jit(Instruction *program, size_t len) {
|
||||
|
||||
int main() {
|
||||
// TODO: signal handlers? SIGCHILD? seccomp?
|
||||
// TODO: colors in message, just so that every is pissed :D
|
||||
|
||||
setbuf(stdout, NULL);
|
||||
setbuf(stdin, NULL);
|
||||
@@ -297,7 +298,7 @@ int main() {
|
||||
|
||||
exit_code = run_jit(program, program_len);
|
||||
|
||||
printf("Your program exited with %d\n", exit_code);
|
||||
printf("Your program exited with %d!\n", exit_code);
|
||||
free(program);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user