Aria Desires
Aria Desires
Nice! That said, it doesn't quite look like you're preserving your goal of preserving bytes "used for stackwalking". You're deleting anything that's: * used for non-trivial CFI (saved stack sizes...
I doubt this is a concern for your usecase, but just so you know it's a thing, apple arm64 needs some extra handling due to ptr auth: https://github.com/rust-minidump/rust-minidump/blob/ebd5dd0f50a6d2f86286181e268a73d44ede7f58/minidump-processor/src/stackwalker/arm64_old.rs#L249-L261
@Swatinem is the guards you added in #404 sufficient for this usecase or would y'all still like more precise control?
Oh actually it looks like HANDLE_DATA_STREAM actually uses this functionality: ```C typedef struct _MINIDUMP_HANDLE_DESCRIPTOR { ULONG64 Handle; RVA TypeNameRva; RVA ObjectNameRva; ULONG32 Attributes; ULONG32 GrantedAccess; ULONG32 HandleCount; ULONG32 PointerCount; }...
Actually ok this is a bit ambiguous. To be clear I just mean "don't crash, just silently omit the new data". *really* properly implementing it requires a versioning scheme, which...
We already depend on `reqwest` for breakpad-symbols, presumably somewhere in there is an easy way to spin up a local static file server?
Using rust is desirable to me because it ensures minimal system dev dependencies and more robust portability. A bit more work, but worth the effort.
sfz does indeed seems to work well. I have it experimentally added to `socc-pair` now. If you run `socc-pair --mock-server` it will now: * do a dummy run of minidump-stackwalk...
The upshot of this is that I can now easily: * force minidump-stackwalk to get all its symbols via the "download" path on every execution (without actually hitting the network)...
I fixed the timeout thing -- the problem was that I was only spinning up the server *after* the mock run, so there was literally nothing listening on that port,...