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 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 41 of file SSAFBuiltinForceLinker.h.

◆ CallGraphExtractorAnchorSource

volatile int CallGraphExtractorAnchorSource
extern

Definition at line 107 of file CallGraphExtractor.cpp.

◆ CallGraphJSONFormatAnchorDestination

int CallGraphJSONFormatAnchorDestination
static
Initial value:

Definition at line 46 of file SSAFBuiltinForceLinker.h.

◆ CallGraphJSONFormatAnchorSource

volatile int CallGraphJSONFormatAnchorSource
extern

Definition at line 174 of file CallGraphJSONFormat.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.

◆ UnsafeBufferUsageSSAFJSONFormatAnchorDestination

int UnsafeBufferUsageSSAFJSONFormatAnchorDestination
static
Initial value:

Definition at line 36 of file SSAFBuiltinForceLinker.h.

◆ UnsafeBufferUsageSSAFJSONFormatAnchorSource

volatile int UnsafeBufferUsageSSAFJSONFormatAnchorSource
extern

Definition at line 101 of file UnsafeBufferUsage.cpp.