code format

This commit is contained in:
Dominik Maier
2020-06-15 11:08:24 +02:00
parent acb0a2f027
commit dc002b4b35
8 changed files with 15 additions and 17 deletions

View File

@ -36,13 +36,11 @@ static void at_exit() {
int i; int i;
char *ptr = getenv("__AFL_TARGET_PID1"); char *ptr = getenv("__AFL_TARGET_PID1");
if (ptr && *ptr && (i = atoi(ptr)) > 0) if (ptr && *ptr && (i = atoi(ptr)) > 0) kill(i, SIGKILL);
kill(i, SIGKILL);
ptr = getenv("__AFL_TARGET_PID2"); ptr = getenv("__AFL_TARGET_PID2");
if (ptr && *ptr && (i = atoi(ptr)) > 0) if (ptr && *ptr && (i = atoi(ptr)) > 0) kill(i, SIGKILL);
kill(i, SIGKILL);
// anything else? shared memory? // anything else? shared memory?