Fuzzing rust-minidump for Embarrassment and Crashes – Part 2
Going into this project I was very high on the idea of "different architectures should get completely independent stackwalker backend implementations" (although they call in to some agnostic machinery for CFI/symbols/registers). There are lots of platform-specific hacks and making everything super abstract is a big mess!<p>But geez I have been burned a few too many times on the parts that <i>are</i> the same between some arches accidentally diverging because I forgot to copy-paste between them. :(<p>(breakpad also has this approach and you can <i>reaaaallly</i> see the pain of this approach as every stackwalker has gotten wildly inconsistent TLC so some have tons of fancy machinery and some are super barebones. Makes it hard to tell if the divergence is intentional or just an artifact of independent code.)