clang 23.0.0git
SSAFBuiltinForceLinker.h File Reference

This file pulls in all built-in SSAF extractor and format registrations by referencing their anchor symbols, preventing the static linker from discarding the containing object files. More...

Go to the source code of this file.

Variables

volatile int SSAFJSONFormatAnchorSource
static int SSAFJSONFormatAnchorDestination
volatile int SSAFAnalysisRegistryAnchorSource
static int SSAFAnalysisRegistryAnchorDestination
volatile int UnsafeBufferUsageSSAFJSONFormatAnchorSource
static int UnsafeBufferUsageSSAFJSONFormatAnchorDestination
volatile int UnsafeBufferUsageTUSummaryExtractorAnchorSource
static int UnsafeBufferUsageTUSummaryExtractorAnchorDestination
volatile int UnsafeBufferUsageAnalysisAnchorSource
static int UnsafeBufferUsageAnalysisAnchorDestination
volatile int PointerFlowSSAFJSONFormatAnchorSource
static int PointerFlowSSAFJSONFormatAnchorDestination
volatile int PointerFlowTUSummaryExtractorAnchorSource
static int PointerFlowTUSummaryExtractorAnchorDestination
volatile int PointerFlowAnalysisAnchorSource
static int PointerFlowAnalysisAnchorDestination
volatile int CallGraphExtractorAnchorSource
static int CallGraphExtractorAnchorDestination
volatile int CallGraphJSONFormatAnchorSource
static int CallGraphJSONFormatAnchorDestination

Detailed Description

This file pulls in all built-in SSAF extractor and format registrations by referencing their anchor symbols, preventing the static linker from discarding the containing object files.

Include this header (with IWYU pragma: keep) in any translation unit that must guarantee these registrations are active — typically the entry point of a binary that uses clangScalableStaticAnalysisFrameworkCore.

Definition in file SSAFBuiltinForceLinker.h.

Variable Documentation

◆ CallGraphExtractorAnchorDestination

int CallGraphExtractorAnchorDestination
static
Initial value:
=
volatile int CallGraphExtractorAnchorSource

Definition at line 70 of file SSAFBuiltinForceLinker.h.

◆ CallGraphExtractorAnchorSource

volatile int CallGraphExtractorAnchorSource
extern

Definition at line 104 of file CallGraphExtractor.cpp.

◆ CallGraphJSONFormatAnchorDestination

int CallGraphJSONFormatAnchorDestination
static
Initial value:

Definition at line 75 of file SSAFBuiltinForceLinker.h.

◆ CallGraphJSONFormatAnchorSource

volatile int CallGraphJSONFormatAnchorSource
extern

Definition at line 174 of file CallGraphJSONFormat.cpp.

◆ PointerFlowAnalysisAnchorDestination

int PointerFlowAnalysisAnchorDestination
static
Initial value:

Definition at line 65 of file SSAFBuiltinForceLinker.h.

◆ PointerFlowAnalysisAnchorSource

volatile int PointerFlowAnalysisAnchorSource
extern

Definition at line 120 of file PointerFlowAnalysis.cpp.

◆ PointerFlowSSAFJSONFormatAnchorDestination

int PointerFlowSSAFJSONFormatAnchorDestination
static
Initial value:

Definition at line 55 of file SSAFBuiltinForceLinker.h.

◆ PointerFlowSSAFJSONFormatAnchorSource

volatile int PointerFlowSSAFJSONFormatAnchorSource
extern

Definition at line 130 of file PointerFlowFormat.cpp.

◆ PointerFlowTUSummaryExtractorAnchorDestination

int PointerFlowTUSummaryExtractorAnchorDestination
static
Initial value:

Definition at line 61 of file SSAFBuiltinForceLinker.h.

◆ PointerFlowTUSummaryExtractorAnchorSource

volatile int PointerFlowTUSummaryExtractorAnchorSource
extern

Definition at line 354 of file PointerFlowExtractor.cpp.

◆ SSAFAnalysisRegistryAnchorDestination

int SSAFAnalysisRegistryAnchorDestination
static
Initial value:
=
volatile int SSAFAnalysisRegistryAnchorSource

Definition at line 32 of file SSAFBuiltinForceLinker.h.

◆ SSAFAnalysisRegistryAnchorSource

volatile int SSAFAnalysisRegistryAnchorSource
extern

Definition at line 19 of file AnalysisRegistry.cpp.

◆ SSAFJSONFormatAnchorDestination

int SSAFJSONFormatAnchorDestination
static
Initial value:
=
volatile int SSAFJSONFormatAnchorSource

Definition at line 27 of file SSAFBuiltinForceLinker.h.

◆ SSAFJSONFormatAnchorSource

volatile int SSAFJSONFormatAnchorSource
extern

Definition at line 15 of file JSONFormatImpl.cpp.

◆ UnsafeBufferUsageAnalysisAnchorDestination

int UnsafeBufferUsageAnalysisAnchorDestination
static
Initial value:

Definition at line 49 of file SSAFBuiltinForceLinker.h.

◆ UnsafeBufferUsageAnalysisAnchorSource

volatile int UnsafeBufferUsageAnalysisAnchorSource
extern

Definition at line 197 of file UnsafeBufferUsageAnalysis.cpp.

◆ UnsafeBufferUsageSSAFJSONFormatAnchorDestination

int UnsafeBufferUsageSSAFJSONFormatAnchorDestination
static
Initial value:

Definition at line 38 of file SSAFBuiltinForceLinker.h.

◆ UnsafeBufferUsageSSAFJSONFormatAnchorSource

volatile int UnsafeBufferUsageSSAFJSONFormatAnchorSource
extern

Definition at line 84 of file UnsafeBufferUsageFormat.cpp.

◆ UnsafeBufferUsageTUSummaryExtractorAnchorDestination

int UnsafeBufferUsageTUSummaryExtractorAnchorDestination
static
Initial value:

Definition at line 45 of file SSAFBuiltinForceLinker.h.

◆ UnsafeBufferUsageTUSummaryExtractorAnchorSource

volatile int UnsafeBufferUsageTUSummaryExtractorAnchorSource
extern

Definition at line 98 of file UnsafeBufferUsageExtractor.cpp.