2012-02-18 06:35:31 +08:00
|
|
|
//==--- InterCheckerAPI.h ---------------------------------------*- C++ -*-==//
|
|
|
|
//
|
2019-01-19 16:50:56 +08:00
|
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2012-02-18 06:35:31 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// This file allows introduction of checker dependencies. It contains APIs for
|
|
|
|
// inter-checker communications.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2014-08-14 00:25:19 +08:00
|
|
|
#ifndef LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H
|
|
|
|
#define LLVM_CLANG_LIB_STATICANALYZER_CHECKERS_INTERCHECKERAPI_H
|
2012-02-18 06:35:31 +08:00
|
|
|
namespace clang {
|
2015-04-18 01:00:16 +08:00
|
|
|
class CheckerManager;
|
|
|
|
|
2012-02-18 06:35:31 +08:00
|
|
|
namespace ento {
|
|
|
|
|
|
|
|
/// Register the checker which evaluates CString API calls.
|
|
|
|
void registerCStringCheckerBasic(CheckerManager &Mgr);
|
|
|
|
|
2018-08-07 06:03:42 +08:00
|
|
|
/// Register the part of MallocChecker connected to InnerPointerChecker.
|
|
|
|
void registerInnerPointerCheckerAux(CheckerManager &Mgr);
|
|
|
|
|
2012-02-18 06:35:31 +08:00
|
|
|
}}
|
|
|
|
#endif /* INTERCHECKERAPI_H_ */
|