You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let res = MinidumpWriter::new(pid, tid)
// ... some options, if you want, like:
.set_minidump_size_limit(my_limit)
// ... maybe some more options ...
.dump(destination)?;
This will write the resulting dump to destination but also returns a Vec<u8>-copy of it in memory to res.
Activity
msirringhaus commentedon Apr 28, 2022
For Linux at least it's basically these functions: https://github.com/rust-minidump/minidump-writer/blob/main/src/linux/minidump_writer.rs#L135-L212
So
This will write the resulting dump to
destinationbut also returns aVec<u8>-copy of it in memory tores.