xref: /aosp_15_r20/cts/hostsidetests/securitybulletin/securityPatch/CVE-2023-21276/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1/*
2package {
3    default_team: "trendy_team_platform_security",
4}
5
6 * Copyright (C) 2024 The Android Open Source Project
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at:
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 *
20 */
21
22cc_test {
23    name: "CVE-2023-21276",
24    defaults: [
25        "cts_hostsidetests_securitybulletin_defaults",
26    ],
27    srcs: [
28        "poc.cpp",
29        ":cts_hostsidetests_securitybulletin_memutils_track",
30    ],
31    include_dirs: [
32        "frameworks/base/libs/androidfw/include/androidfw",
33    ],
34    shared_libs: [
35        "libandroidfw",
36        "libbinder",
37        "libutils",
38    ],
39    cflags: [
40        "-DCHECK_UNINITIALIZED_MEMORY",
41    ],
42}
43