Frama-C API - Sarif_result
type t = {
ruleId : string;
kind : Result_kind.t;
level : Result_level.t;
message : Message.t;
analysisTarget : ArtifactLocation.t;
locations : Location.t list;
instanceGuid : string;
correlationGuid : string;
occurrenceCount : int;
partialFingerprints : Additional_properties.t;
fingerprints : Additional_properties.t;
stacks : Stack.t list;
codeFlows : CodeFlow.t list;
graphs : Graph_dictionary.t;
graphTraversals : GraphTraversal.t list;
suppressionStates : Result_suppressionState.t list;
baselineState : Result_baselineState.t;
attachments : Attachment.t list;
workItemsUris : string list;
conversionProvenance : PhysicalLocation.t list;
fixes : Fix.t list;
properties : Properties.t;
}
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val create : ruleId:string -> ?kind:Result_kind.t -> ?level:Result_level.t -> ?message:Message.t -> ?analysisTarget:ArtifactLocation.t -> ?locations:Location.t list -> ?instanceGuid:string -> ?correlationGuid:string -> ?occurrenceCount:int -> ?partialFingerprints:Additional_properties.t -> ?fingerprints:Additional_properties.t -> ?stacks:Stack.t list -> ?codeFlows:CodeFlow.t list -> ?graphs:Graph_dictionary.t -> ?graphTraversals:GraphTraversal.t list -> ?relatedLocations:Location.t list -> ?suppressionStates:Result_suppressionState.t list -> ?baselineState:Result_baselineState.t -> ?attachments:Attachment.t list -> ?workItemsUris:string list -> ?conversionProvenance:PhysicalLocation.t list -> ?fixes:Fix.t list -> ?properties:Properties.t -> unit -> t