|
clang 23.0.0git
|
#include "SSAFAnalysesCommon.h"#include "clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.h"#include "clang/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevelFormat.h"#include "clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.h"#include "clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.h"#include "clang/ScalableStaticAnalysisFramework/Core/Serialization/JSONFormat.h"#include "llvm/Support/Error.h"#include "llvm/Support/JSON.h"#include <cstdint>Go to the source code of this file.
Functions | |
| static Object | serialize (const EntitySummary &S, JSONFormat::EntityIdToJSONFn Fn) |
| static llvm::Expected< std::unique_ptr< EntitySummary > > | deserializeImpl (const Object &Data, JSONFormat::EntityIdFromJSONFn Fn) |
| static llvm::Expected< std::unique_ptr< EntitySummary > > | deserialize (const Object &Data, EntityIdTable &, JSONFormat::EntityIdFromJSONFn Fn) |
| static llvm::Registry< JSONFormat::FormatInfo >::Add< UnsafeBufferUsageJSONFormatInfo > | RegisterUnsafeBufferUsageJSONFormatInfo (UnsafeBufferUsageEntitySummary::Name, "JSON Format info for UnsafeBufferUsageEntitySummary") |
Variables | |
| static constexpr llvm::StringLiteral | SummarySerializationKey = "UnsafeBuffers" |
| volatile int | UnsafeBufferUsageSSAFJSONFormatAnchorSource = 0 |
|
static |
Definition at line 66 of file UnsafeBufferUsageFormat.cpp.
References clang::Data, and deserializeImpl().
|
static |
Definition at line 43 of file UnsafeBufferUsageFormat.cpp.
References clang::Data, clang::ssaf::entityPointerLevelFromJSON(), clang::ssaf::makeSawButExpectedError(), and SummarySerializationKey.
Referenced by deserialize(), and clang::ssaf::serializeDeserializeRoundTrip().
|
static |
|
static |
Definition at line 32 of file UnsafeBufferUsageFormat.cpp.
References clang::ssaf::entityPointerLevelToJSON(), and SummarySerializationKey.
Referenced by clang::ssaf::serializeDeserializeRoundTrip().
|
staticconstexpr |
Definition at line 24 of file UnsafeBufferUsageFormat.cpp.
Referenced by deserializeImpl(), and serialize().
| volatile int UnsafeBufferUsageSSAFJSONFormatAnchorSource = 0 |
Definition at line 86 of file UnsafeBufferUsageFormat.cpp.