diff options
author | vanhauser-thc <vh@thc.org> | 2023-03-25 12:14:08 +0100 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-03-25 12:14:08 +0100 |
commit | 9bc5abc4eca13996fccc05b4ad08b7ac5a217e25 (patch) | |
tree | 7eefacd2f643f42c7bd82bbf970b77320a6ffd93 /utils/aflpp_driver/aflpp_driver_test.c | |
parent | b2f9802f9f0f54337c552d83a860f3e1a84d7191 (diff) | |
download | afl++-9bc5abc4eca13996fccc05b4ad08b7ac5a217e25.tar.gz |
reduce CI resources
Diffstat (limited to 'utils/aflpp_driver/aflpp_driver_test.c')
-rw-r--r-- | utils/aflpp_driver/aflpp_driver_test.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/aflpp_driver/aflpp_driver_test.c b/utils/aflpp_driver/aflpp_driver_test.c index 7cffa4a1..32119485 100644 --- a/utils/aflpp_driver/aflpp_driver_test.c +++ b/utils/aflpp_driver/aflpp_driver_test.c @@ -2,6 +2,8 @@ #include <stdlib.h> #include <stdint.h> +char *foo = NULL; + int __attribute__((noinline)) crashme(const uint8_t *Data, size_t Size) { if (Size < 5) return -1; @@ -10,7 +12,7 @@ int __attribute__((noinline)) crashme(const uint8_t *Data, size_t Size) { if (Data[1] == 'A') if (Data[2] == '$') if (Data[3] == '$') - if (Data[4] == '$') abort(); + if (Data[4] == '$') *foo = 1; return 0; |