Provide a caching mechanism for duplicated code flow data #320
Labels
2.1.0-CSD.1
Will be fixed in SARIF v2.1.0 CSD.1.
design-approved
The TC approved the design and I can write the change draft
design-improvement
e-ballot
e-ballot-2
impact-non-breaking-change
merged
Changes merged into provisional draft.
resolved-fixed
sdk-code-complete
EBALLOT PROPOSAL: provide a mechanism for caching thread flow location data, which is often copious and highly duplicative when producing complex code/dataflow static analysis results.
API IMPACT:
Add
run.threadFlowLocations
, an array ofthreadFlowLocation
objects cached at the run level, analogous torun.files
andrun.logicalLocation
.Add
threadFlowLocation.index
, an index intorun.threadFlowLocations
.Add
externalPropertyFiles.threadFlowLocations
, allowing cached data to be stored in a separate file.NOTES:
A
result
-levelthreadFlowLocation
object can specify properties of its own, and also populate itsindex
property. The behavior in this case is that the cachedthreadFlowLocation
is used to initialize the localthreadFlowLocation
. Any local properties that diverge from the cached copy override the corresponding properties of the cached object. This allows producers to cache locations that share some common subset of properties while permitted the result-published locations to make minor updates to the cached version.The text was updated successfully, but these errors were encountered: