Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit e80b658

Browse files
authored
expose new minimized stack fields in the crash report model (#719)
1 parent 2b61256 commit e80b658

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

docs/webhook_events.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,28 @@ Each event will be submitted via HTTP POST to the user provided URL.
154154
"title": "Job Id",
155155
"type": "string"
156156
},
157+
"minimized_stack": {
158+
"items": {
159+
"type": "string"
160+
},
161+
"title": "Minimized Stack",
162+
"type": "array"
163+
},
164+
"minimized_stack_function_names": {
165+
"items": {
166+
"type": "string"
167+
},
168+
"title": "Minimized Stack Function Names",
169+
"type": "array"
170+
},
171+
"minimized_stack_function_names_sha256": {
172+
"title": "Minimized Stack Function Names Sha256",
173+
"type": "string"
174+
},
175+
"minimized_stack_sha256": {
176+
"title": "Minimized Stack Sha256",
177+
"type": "string"
178+
},
157179
"scariness_description": {
158180
"title": "Scariness Description",
159181
"type": "string"
@@ -1236,6 +1258,28 @@ Each event will be submitted via HTTP POST to the user provided URL.
12361258
"title": "Job Id",
12371259
"type": "string"
12381260
},
1261+
"minimized_stack": {
1262+
"items": {
1263+
"type": "string"
1264+
},
1265+
"title": "Minimized Stack",
1266+
"type": "array"
1267+
},
1268+
"minimized_stack_function_names": {
1269+
"items": {
1270+
"type": "string"
1271+
},
1272+
"title": "Minimized Stack Function Names",
1273+
"type": "array"
1274+
},
1275+
"minimized_stack_function_names_sha256": {
1276+
"title": "Minimized Stack Function Names Sha256",
1277+
"type": "string"
1278+
},
1279+
"minimized_stack_sha256": {
1280+
"title": "Minimized Stack Sha256",
1281+
"type": "string"
1282+
},
12391283
"scariness_description": {
12401284
"title": "Scariness Description",
12411285
"type": "string"
@@ -4618,6 +4662,28 @@ Each event will be submitted via HTTP POST to the user provided URL.
46184662
"title": "Job Id",
46194663
"type": "string"
46204664
},
4665+
"minimized_stack": {
4666+
"items": {
4667+
"type": "string"
4668+
},
4669+
"title": "Minimized Stack",
4670+
"type": "array"
4671+
},
4672+
"minimized_stack_function_names": {
4673+
"items": {
4674+
"type": "string"
4675+
},
4676+
"title": "Minimized Stack Function Names",
4677+
"type": "array"
4678+
},
4679+
"minimized_stack_function_names_sha256": {
4680+
"title": "Minimized Stack Function Names Sha256",
4681+
"type": "string"
4682+
},
4683+
"minimized_stack_sha256": {
4684+
"title": "Minimized Stack Sha256",
4685+
"type": "string"
4686+
},
46214687
"scariness_description": {
46224688
"title": "Scariness Description",
46234689
"type": "string"

src/pytypes/onefuzztypes/models.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,10 @@ class Report(BaseModel):
251251
job_id: UUID
252252
scariness_score: Optional[int]
253253
scariness_description: Optional[str]
254+
minimized_stack: Optional[List[str]]
255+
minimized_stack_sha256: Optional[str]
256+
minimized_stack_function_names: Optional[List[str]]
257+
minimized_stack_function_names_sha256: Optional[str]
254258

255259

256260
class NoReproReport(BaseModel):

0 commit comments

Comments
 (0)