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

Commit 0ad7c8b0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "rpc_fuzzer: Add new trusty binder rpc fuzzers that use multiple...

Merge "rpc_fuzzer: Add new trusty binder rpc fuzzers that use multiple connections" into main am: 0b3e8b2a am: 5d935b31 am: 4e008845 am: 8e93cbb1

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2763649



Change-Id: I1d40edb61ea5ec5f5d8003ebb40fc3fd20e3cf30
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 0b07ac0a 8e93cbb1
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ cc_fuzz {
        "-DTRUSTY_APP_PORT=\"com.android.trusty.binder.test.service\"",
        "-DTRUSTY_APP_UUID=\"d42f06c5-9dc5-455b-9914-cf094116cfa8\"",
        "-DTRUSTY_APP_FILENAME=\"binder-test-service.syms.elf\"",
        "-DTRUSTY_APP_MAX_CONNECTIONS=1",
    ],
}

@@ -35,5 +36,30 @@ cc_fuzz {
        "-DTRUSTY_APP_PORT=\"com.android.trusty.binderRpcTestService.V0\"",
        "-DTRUSTY_APP_UUID=\"87e424e5-69d7-4bbd-8b7c-7e24812cbc94\"",
        "-DTRUSTY_APP_FILENAME=\"binderRpcTestService.syms.elf\"",
        "-DTRUSTY_APP_MAX_CONNECTIONS=1",
    ],
}

cc_fuzz {
    name: "trusty_binder_fuzzer_multi_connection",
    defaults: ["trusty_fuzzer_defaults"],
    srcs: [":trusty_tipc_fuzzer"],
    cflags: [
        "-DTRUSTY_APP_PORT=\"com.android.trusty.binder.test.service\"",
        "-DTRUSTY_APP_UUID=\"d42f06c5-9dc5-455b-9914-cf094116cfa8\"",
        "-DTRUSTY_APP_FILENAME=\"binder-test-service.syms.elf\"",
        "-DTRUSTY_APP_MAX_CONNECTIONS=10",
    ],
}

cc_fuzz {
    name: "trusty_binder_rpc_fuzzer_multi_connection",
    defaults: ["trusty_fuzzer_defaults"],
    srcs: [":trusty_tipc_fuzzer"],
    cflags: [
        "-DTRUSTY_APP_PORT=\"com.android.trusty.binderRpcTestService.V0\"",
        "-DTRUSTY_APP_UUID=\"87e424e5-69d7-4bbd-8b7c-7e24812cbc94\"",
        "-DTRUSTY_APP_FILENAME=\"binderRpcTestService.syms.elf\"",
        "-DTRUSTY_APP_MAX_CONNECTIONS=10",
    ],
}