Skip to content

Commit 04de7dc

Browse files
Added callstack support back into spec and test cases.
Signed-off-by: Steve Springett <[email protected]>
1 parent 56dfd3d commit 04de7dc

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

schema/bom-1.5.proto

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,29 @@ message Evidence {
533533
repeated EvidenceCopyright copyright = 2;
534534
repeated EvidenceIdentity identity = 3;
535535
repeated EvidenceOccurrences occurrences = 4;
536+
optional Callstack callstack = 5;
537+
}
538+
539+
// Evidence of the components use through the callstack.
540+
message Callstack {
541+
repeated Frames frames = 1;
542+
543+
message Frames {
544+
// A package organizes modules into namespaces, providing a unique namespace for each type it contains.
545+
optional string package = 1;
546+
// A module or class that encloses functions/methods and other code.
547+
string module = 2;
548+
// A block of code designed to perform a particular task.
549+
optional string function = 3;
550+
// Optional arguments that are passed to the module or function.
551+
repeated string parameters = 4;
552+
// The line number the code that is called resides on.
553+
optional int32 line = 5;
554+
// The column the code that is called resides.
555+
optional int32 column = 6;
556+
// The full path and filename of the module.
557+
optional string fullFilename = 7;
558+
}
536559
}
537560

538561
message EvidenceIdentity {

0 commit comments

Comments
 (0)