13 releases
0.1.22 | Aug 7, 2023 |
---|---|
0.1.21 | Aug 4, 2023 |
0.1.20 | Jul 27, 2023 |
0.1.15 | May 27, 2023 |
0.1.11 | Feb 24, 2023 |
#965 in WebAssembly
1,564 downloads per month
Used in 2 crates
13KB
239 lines
Rust API for building Wasm Coredump.
Examples
let mut coredump_builder = wasm_coredump_builder::CoredumpBuilder::new()
.executable_name("/usr/bin/true.exe");
{
let mut thread_builder = wasm_coredump_builder::ThreadBuilder::new()
.thread_name("main");
let coredump_frame = wasm_coredump_builder::FrameBuilder::new()
.codeoffset(123)
.funcidx(6)
.build();
thread_builder.add_frame(coredump_frame);
coredump_builder.add_thread(thread_builder.build());
}
let coredump = coredump_builder.serialize().unwrap();
Dependencies
~460KB
~11K SLoC