mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-23 14:34:25 +00:00
code format
This commit is contained in:
@ -276,9 +276,13 @@ gpointer instrument_cur(GumStalkerOutput *output) {
|
||||
gpointer curr = NULL;
|
||||
|
||||
if (output->encoding == GUM_INSTRUCTION_SPECIAL) {
|
||||
|
||||
curr = gum_thumb_writer_cur(output->writer.thumb);
|
||||
|
||||
} else {
|
||||
|
||||
curr = gum_arm_writer_cur(output->writer.arm);
|
||||
|
||||
}
|
||||
|
||||
return curr;
|
||||
|
@ -65,9 +65,7 @@ static char **afl_init_argv(int *argc) {
|
||||
int rc = 0;
|
||||
|
||||
ssize_t num = read(0, in_buf, MAX_CMDLINE_LEN - 2);
|
||||
if (num < 0) {
|
||||
exit(1);
|
||||
}
|
||||
if (num < 1) { _exit(1); }
|
||||
in_buf[num] = '\0';
|
||||
in_buf[num + 1] = '\0';
|
||||
|
||||
|
Reference in New Issue
Block a user