system/osi/test/fuzzers/Android.bp
0 → 100644
+8
−0
system/osi/test/fuzzers/alarm/Android.bp
0 → 100644
+21
−0
+151
−0
+14
−0
+132
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Added fuzzers, most of which may be run either on host or on device.
Note that coverage will differ based on arch. Additionally, alarm
will not successfully run on host due to the reliance on hooking
system functions, and compat may not be useful on-device, as libosi's
compat.h function definitions, and therefore the fuzzer calls, are
wrapped in an '#if __GLIBC__'.
Test: Tested on a Pixel 3a with no starting corpus and a short run,
resulting in the following statistics:
- alarm 15% cov ~280 exec/s
- allocation_tracker: 61% cov ~2.5k exec/s
- allocator: 34% cov ~24k exec/s
- array: 22% cov ~16k exec/s
- buffer: 22% cov ~26k exec/s
- compat: N/A N/A
- fixed_queue: 45% cov ~8k exec/s
- future 22% cov ~83k exec/s
- list 46% cov ~21k exec/s
- ringbuffer 38% cov ~20k exec/s
Signed-off-by:
Michael Ensing <michael.ensing@leviathansecurity.com>
Change-Id: I9203c804941beaa470940452f39bf352d725eb02