@@ -2,6 +2,18 @@ syntax = "proto3";
2
2
3
3
package objdiff.report ;
4
4
5
+ // Project progress report
6
+ message Report {
7
+ // Overall progress info
8
+ Measures measures = 1 ;
9
+ // Units within this report
10
+ repeated ReportUnit units = 2 ;
11
+ // Report version
12
+ uint32 version = 3 ;
13
+ // Progress categories
14
+ repeated ReportCategory categories = 4 ;
15
+ }
16
+
5
17
// Progress info for a report or unit
6
18
message Measures {
7
19
// Overall match percent, including partially matched functions and data
@@ -38,18 +50,6 @@ message Measures {
38
50
uint32 complete_units = 16 ;
39
51
}
40
52
41
- // Project progress report
42
- message Report {
43
- // Overall progress info
44
- Measures measures = 1 ;
45
- // Units within this report
46
- repeated ReportUnit units = 2 ;
47
- // Report version
48
- uint32 version = 3 ;
49
- // Progress categories
50
- repeated ReportCategory categories = 4 ;
51
- }
52
-
53
53
message ReportCategory {
54
54
// The ID of the category
55
55
string id = 1 ;
@@ -108,57 +108,3 @@ message ReportItemMetadata {
108
108
// The virtual address of the function or section
109
109
optional uint64 virtual_address = 2 ;
110
110
}
111
-
112
- // A pair of reports to compare and generate changes
113
- message ChangesInput {
114
- // The previous report
115
- Report from = 1 ;
116
- // The current report
117
- Report to = 2 ;
118
- }
119
-
120
- // Changes between two reports
121
- message Changes {
122
- // The progress info for the previous report
123
- Measures from = 1 ;
124
- // The progress info for the current report
125
- Measures to = 2 ;
126
- // Units that changed
127
- repeated ChangeUnit units = 3 ;
128
- }
129
-
130
- // A changed unit
131
- message ChangeUnit {
132
- // The name of the unit
133
- string name = 1 ;
134
- // The previous progress info (omitted if new)
135
- optional Measures from = 2 ;
136
- // The current progress info (omitted if removed)
137
- optional Measures to = 3 ;
138
- // Sections that changed
139
- repeated ChangeItem sections = 4 ;
140
- // Functions that changed
141
- repeated ChangeItem functions = 5 ;
142
- // Extra metadata for this unit
143
- optional ReportUnitMetadata metadata = 6 ;
144
- }
145
-
146
- // A changed section or function
147
- message ChangeItem {
148
- // The name of the item
149
- string name = 1 ;
150
- // The previous progress info (omitted if new)
151
- optional ChangeItemInfo from = 2 ;
152
- // The current progress info (omitted if removed)
153
- optional ChangeItemInfo to = 3 ;
154
- // Extra metadata for this item
155
- optional ReportItemMetadata metadata = 4 ;
156
- }
157
-
158
- // Progress info for a section or function
159
- message ChangeItemInfo {
160
- // The overall match percent for this item
161
- float fuzzy_match_percent = 1 ;
162
- // The size of the item in bytes
163
- uint64 size = 2 ;
164
- }
0 commit comments