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

Use minimized stack for crash site if no ASAN logs available #2962

Merged
merged 2 commits into from
Apr 4, 2023

Conversation

Porges
Copy link
Member

@Porges Porges commented Apr 4, 2023

Closes #841.

If all we have is a call stack, use the top of the "minimized stack" as the crash site, not the top of the full stack.

This only happens if we don't have ASAN logs available for the crash.

@Porges Porges changed the title Use minimized stack for crash site Use minimized stack for crash site if no ASAN logs available Apr 4, 2023
@codecov-commenter
Copy link

codecov-commenter commented Apr 4, 2023

Codecov Report

Merging #2962 (a2c5f70) into main (34b513e) will increase coverage by 0.02%.
The diff coverage is 52.00%.

@@            Coverage Diff             @@
##             main    #2962      +/-   ##
==========================================
+ Coverage   29.07%   29.10%   +0.02%     
==========================================
  Files         304      304              
  Lines       36335    36337       +2     
==========================================
+ Hits        10566    10577      +11     
+ Misses      25769    25760       -9     
Impacted Files Coverage Δ
...nt/onefuzz-task/src/tasks/report/dotnet/generic.rs 0.00% <0.00%> (ø)
src/agent/onefuzz/src/input_tester.rs 0.00% <0.00%> (ø)
src/agent/stacktrace-parser/src/lib.rs 88.65% <100.00%> (+0.33%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Porges Porges force-pushed the use-minimized-stack-for-crash-site branch from 109db37 to a2c5f70 Compare April 4, 2023 04:02
@Porges Porges enabled auto-merge (squash) April 4, 2023 04:13
tevoinea and others added 2 commits April 4, 2023 11:09
* Add new command

* Update remaining jinja templates and references to use scriban

* Do not enforce that key exists in dictionary when doing strict validation
@Porges Porges merged commit 810ccff into main Apr 4, 2023
@Porges Porges deleted the use-minimized-stack-for-crash-site branch April 4, 2023 20:40
This was referenced Apr 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use the top of the filtered stack for crash_site
3 participants