arkcompiler_runtime_core/verifier/verify.cpp
chenyiyuan b6dd1322b5 Verify Constant Pool Support
Signed-off-by: chenyiyuan <chenyiyuan6@huawei.com>
Change-Id: I37eb1375440de5a8a28fc70ce223d9f4455c8293
2023-11-13 23:30:50 +08:00

24 lines
766 B
C++

/*
* Copyright (c) 2023 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 "verify.h"
#include "verifier.h"
bool Verify(const std::string &input_file)
{
panda::verifier::Verifier vf {input_file};
return vf.Verify();
}