Ted Mielczarek

Results 181 comments of Ted Mielczarek

You might consider something akin to the way executable sections are hashed as part of Apple's code signature for Mach-O binaries. They're chunked into page-size chunks and each is hashed...

This crate doesn't currently have any facilities for writing or modifying minidumps, but if you read a minidump into memory and iterate over the contained memory regions, they provide access...

@jrmuizel Nice! If you wanted to compare your implementation against Microsoft's, [WinDbg's `.dump` command](https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/-dump--create-dump-file-) will let you select those options. You could debug a process, generate a standard minidump with...

Per our conversation on Discord, the Wayback Machine has a copy we could link instead: http://web.archive.org/web/20210227224734/https://www.debuginfo.com/articles/debuginfomatch.html

> 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,...

The current functionality is heavily influenced by Breakpad, where the primary motivation is "registers needed to unwind the stack", and the set of general-purpose registers for the context frame is...

IDK about doing this directly in Rust, but given that it's purely a testing tool, if I were you I would 100% punt to using `python3 -m http.server` for this...

> * the "real" server will also be there but ostensibly should be shadowed, this is kinda bad because missing things will still query the "real" server This isn't great...

I already wrote this, you removed it. :) https://github.com/luser/rust-minidump/blob/23c3ddccef84b3bc6d36a1d62d7fad746fe12346/minidump-tools/src/lib.rs#L232-L289 In fairness, my [`disasm`](https://github.com/luser/rust-disasm/) crate pulled in some annoying dependencies. I wrote it using `capstone`, but there's [a `yaxpeax` branch](https://github.com/luser/rust-disasm/tree/yaxpeax) that...

> From what it sounds like, minidump clients tend to write out the section of the binary that the crash occurred at, so even without pulling the binary down you...