cargo-valgrind
cargo-valgrind copied to clipboard
A cargo subcommand, that runs valgrind and displays its output in a helpful manner.
I wonder do you have any plans to support valgrind's callgrind and cachegrind? I know that there's a [`cargo-profiler`](https://github.com/svenstaro/cargo-profiler) crate doing this, but the output from their tool doesn't contains...
Thank you for an excellent tool! As I was running this on our integration tests I experienced a crash with the following message: ``` cargo-valgrind: version 2.0.3 XML format mismatch...
Reporting this here, since cargo-valgrind asked me nicely to do so. Project: https://github.com/barafael/crisp/tree/cargo-valgrind-bug. There is a note in `main.rs` with a possibly related call to `free`. Gist of trace (because...
### Use [`strong-xml`](https://crates.io/strong-xml) instead of `serde` `serde` doesn't work very well with XML, see [here](https://docs.rs/serde-xml-rs/0.5.1/serde_xml_rs/#caveats). This PR uses `strong-xml` instead, and [`strum`](https://crates.io/strum) for parsing enums from strings. `strong-xml`'s `#[derive(XmlRead)]` is...
Hello, thank your for your project. I am encountering an issue where my program relies on the crate [env_logger](https://crates.io/crates/env_logger). It will respect my session's ``RUST_LOG`` variable and what logs to...
Hi There, I was working with your nice tool and got a message saying that I should submit an issue. Here you are (huge XML follows). This is my project/branch...
See #59 for reasons, why it is disabled. We need a different way of communicating the issues to the user, even if there are no read permissions.
As noted in this line: https://github.com/jfrimmel/cargo-valgrind/blob/2da5213228f05f0cbd19819fd0ad51788230bf62/src/main.rs#L99 the program needs a drop guard for cases, when the main program dies (e.g. it was killed with `Ctrl+C`). The current behavior is, that...
If you have an invalid free, `cargo-valgrind` currently exits with an error. This is due to a changed Valgrind XML: ```xml ... ... InvalidFree Invalid free() / delete / delete[]...
If the program under test produces a stack overflow, the following output is printed: ``` Finished dev [unoptimized + debuginfo] target(s) in 0.24s Analyzing `target/debug/huge_box` ==5113== If you believe this...