|
clang 23.0.0git
|
#include "clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsage.h"#include "clang/ScalableStaticAnalysisFramework/Analyses/UnsafeBufferUsage/UnsafeBufferUsageTest.h"#include "clang/ScalableStaticAnalysisFramework/Core/Model/EntityId.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.
Classes | |
| struct | UnsafeBufferUsageJSONFormatInfo |
Typedefs | |
| using | Array = llvm::json::Array |
| using | Object = llvm::json::Object |
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 |
| using Array = llvm::json::Array |
Definition at line 19 of file UnsafeBufferUsage.cpp.
| using Object = llvm::json::Object |
Definition at line 20 of file UnsafeBufferUsage.cpp.
|
static |
Definition at line 83 of file UnsafeBufferUsage.cpp.
References clang::Data, and deserializeImpl().
Referenced by UnsafeBufferUsageJSONFormatInfo::UnsafeBufferUsageJSONFormatInfo().
|
static |
Definition at line 50 of file UnsafeBufferUsage.cpp.
References clang::Data, and SummarySerializationKey.
Referenced by deserialize(), and clang::ssaf::serializeDeserializeRoundTrip().
|
static |
References UnsafeBufferUsageEntitySummary::Name.
|
static |
Definition at line 38 of file UnsafeBufferUsage.cpp.
References SummarySerializationKey.
Referenced by clang::ssaf::serializeDeserializeRoundTrip(), and UnsafeBufferUsageJSONFormatInfo::UnsafeBufferUsageJSONFormatInfo().
|
staticconstexpr |
Definition at line 22 of file UnsafeBufferUsage.cpp.
Referenced by deserializeImpl(), and serialize().
| volatile int UnsafeBufferUsageSSAFJSONFormatAnchorSource = 0 |
Definition at line 101 of file UnsafeBufferUsage.cpp.