Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAddress Sanitizer is Failing to Compile with libfuzzer With Optimization and with Doc Tests in Any Mode #55960
Comments
This comment has been minimized.
This comment has been minimized.
|
Duplicate of #53945 |
Aaron1011
marked this as
a duplicate of
#53945
Nov 14, 2018
This comment has been minimized.
This comment has been minimized.
|
Closing. |
nagisa
closed this
Nov 16, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
brunoczim commentedNov 14, 2018
•
edited
Using
rustc 1.32.0-nightly (9fefb6766 2018-11-13)NOTE: target is
x86_64-unknown-linux-gnu. Adding a flag with a target does not change the outcome.Clone this repository: https://github.com/brunoczim/lockfree
Run
RUSTFLAGS='-Z sanitizer=address' ASAN_OPTIONS=detect_odr_violation=0 cargo test --docOutput I get is (I had to put it in a gist because of size): https://gist.github.com/brunoczim/d4b70359cf3dc0124ea06d47bc4d8f24
(Optional) Install
cargo-fuzz(Optional) Run
cargo fuzz run queue --release --sanitizer=address(you may replace queue with any target). The output I get is: