mirror of
https://github.com/openharmony/ark_runtime_core.git
synced 2026-07-18 18:24:30 -04:00
14c9021696
Signed-off-by: wanyanglan <wanyanglan1@huawei.com> Change-Id: I2564094cef9c6c41263e37faf9ffbbec14223dc7
65 lines
1.8 KiB
C++
65 lines
1.8 KiB
C++
/*
|
|
* Copyright (c) 2021 Huawei Device Co., Ltd.
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#include "default_config.h"
|
|
|
|
namespace panda::verifier::config {
|
|
|
|
// NOLINTNEXTLINE(modernize-avoid-c-arrays)
|
|
const char G_VERIFIER_DEBUG_DEFAULT_CONFIG[] =
|
|
"debug {\n"
|
|
" options {\n"
|
|
" verifier {\n"
|
|
" allow {\n"
|
|
" undefined-method\n"
|
|
" field-access-violation\n"
|
|
" method-access-violation\n"
|
|
" error-in-exception-handler\n"
|
|
" permanent-runtime-exception\n"
|
|
" wrong-subclassing-in-method-args\n"
|
|
" }\n"
|
|
" }\n"
|
|
" }\n"
|
|
" method_options {\n"
|
|
" verifier {\n"
|
|
" default {\n"
|
|
" warning {\n"
|
|
" FIRST-LAST\n"
|
|
" }\n"
|
|
" hidden {\n"
|
|
" BadCallIncompatibleParameter\n"
|
|
" }\n"
|
|
" check {\n"
|
|
" cflow, resolve-id, typing\n"
|
|
" }\n"
|
|
" }\n"
|
|
" }\n"
|
|
" }\n"
|
|
" allowlist {\n"
|
|
" verifier {\n"
|
|
" method {\n"
|
|
" java.lang.Character::valueOf\n"
|
|
" object_wait::test2\n"
|
|
" java.lang.ThreadGroup::enumerate\n"
|
|
" }\n"
|
|
" class {\n"
|
|
" java.lang.ThreadGroup\n"
|
|
" }\n"
|
|
" }\n"
|
|
" }\n"
|
|
"}\n";
|
|
|
|
} // namespace panda::verifier::config
|