Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9f1180c authored by Onkar Shinde's avatar Onkar Shinde Committed by Aditya Wazir
Browse files

Refactored mediaplayer_fuzzer

The following are the updates to the fuzzer:
1. API and Parameter Randomization.
2. Coverage improved from 47% to 60% with initial corpus feed.

execs/s: 10
Test: ./mediaplayer_fuzzer corpus/
Bug: 313038371

Change-Id: Ife29936adffa7d8c4cab32f1db20baaa7e9f2f8f
parent d2a7ec7e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -159,10 +159,13 @@ cc_fuzz {
        "libmediaplayerserviceFuzzer_defaults",
    ],
    static_libs: [
        "libgmock",
        "libgtest_ndk_c++",
        "libplayerservice_datasource",
        "libstagefright_nuplayer",
        "libstagefright_rtsp",
        "libstagefright_timedtext",
        "libbinder_random_parcel",
    ],
    shared_libs: [
        "android.hardware.media.c2@1.0",
@@ -191,7 +194,10 @@ cc_fuzz {
        "libpowermanager",
        "libstagefright_httplive",
        "libaudiohal@7.0",
        "libmediaextractorservice",
    ],
    corpus: ["corpus/*"],
    include_dirs: ["frameworks/av/services/mediaextractor"],
}

cc_fuzz {
Loading