Lines Copies Function name ----- ------ ------------- 10300 (100%) 370 (100%) (TOTAL) 619 (6.0%) 1 (0.3%) rpassword::unix::read_password_from_stdin 508 (4.9%) 11 (3.0%) as core::ops::try_trait::Try>::branch 360 (3.5%) 2 (0.5%) std::io::read_until 293 (2.8%) 10 (2.7%) as core::ops::try_trait::FromResidual>>::from_residual 261 (2.5%) 1 (0.3%) core::char::methods::encode_utf8_raw 216 (2.1%) 2 (0.5%) std::io::append_to_string 193 (1.9%) 3 (0.8%) alloc::alloc::box_free 193 (1.9%) 1 (0.3%) alloc::alloc::Global::grow_impl 179 (1.7%) 3 (0.8%) core::result::Result::map_err 163 (1.6%) 1 (0.3%) alloc::raw_vec::RawVec::grow_amortized 157 (1.5%) 1 (0.3%) std::io::Write::write_all 156 (1.5%) 1 (0.3%) rpassword::unix::display_on_tty 152 (1.5%) 1 (0.3%) alloc::raw_vec::finish_grow 145 (1.4%) 1 (0.3%) alloc::raw_vec::RawVec::allocate_in 139 (1.3%) 1 (0.3%) rpassword::mock::read_password_with_reader 127 (1.2%) 3 (0.8%) core::option::Option::ok_or 121 (1.2%) 1 (0.3%) core::str::validations::next_code_point_reverse 116 (1.1%) 1 (0.3%) rpassword::prompt_password_stderr 116 (1.1%) 1 (0.3%) rpassword::prompt_password_stdout 97 (0.9%) 1 (0.3%) alloc::alloc::Global::alloc_impl 96 (0.9%) 2 (0.5%) core::result::Result::and_then 92 (0.9%) 1 (0.3%) as std::io::BufRead>::fill_buf 91 (0.9%) 1 (0.3%) std::io::Write::write_fmt 87 (0.8%) 3 (0.8%) core::fmt::ArgumentV1::new 82 (0.8%) 1 (0.3%) as core::fmt::Write>::write_str 72 (0.7%) 1 (0.3%) alloc::raw_vec::RawVec::current_memory 71 (0.7%) 1 (0.3%) rpassword::read_password_from_tty 71 (0.7%) 1 (0.3%) rpassword::unix::safe_tcgetattr 70 (0.7%) 1 (0.3%) core::cmp::max_by 70 (0.7%) 1 (0.3%) core::cmp::min_by 64 (0.6%) 2 (0.5%) std::fs::OpenOptions::open 63 (0.6%) 1 (0.3%) alloc::string::String::pop 63 (0.6%) 1 (0.3%) core::slice::::ends_with 62 (0.6%) 1 (0.3%) alloc::raw_vec::RawVec::into_box 60 (0.6%) 2 (0.5%) as core::slice::index::SliceIndex<[T]>>::get_unchecked 59 (0.6%) 1 (0.3%) core::fmt::Arguments::new_v1 58 (0.6%) 2 (0.5%) core::ptr::metadata::from_raw_parts 58 (0.6%) 2 (0.5%) core::ptr::metadata::from_raw_parts_mut 58 (0.6%) 1 (0.3%) core::slice::iter::Iter::make_slice 56 (0.5%) 1 (0.3%) core::alloc::layout::Layout::array 56 (0.5%) 1 (0.3%) rpassword::zero_on_drop::Inner::zero_memory 54 (0.5%) 2 (0.5%) as core::slice::index::SliceIndex<[T]>>::index 53 (0.5%) 1 (0.3%) std::io::error::Error::kind 51 (0.5%) 3 (0.8%) core::slice::index:: for [T]>::index 50 (0.5%) 1 (0.3%) core::slice::iter::IterMut::post_inc_start 48 (0.5%) 2 (0.5%) std::io::append_to_string::{{closure}} 48 (0.5%) 1 (0.3%) ::clone 48 (0.5%) 1 (0.3%) std::io::buffered::bufreader::BufReader::with_capacity 47 (0.5%) 1 (0.3%) core::mem::replace 47 (0.5%) 1 (0.3%) core::option::Option::unwrap_unchecked 47 (0.5%) 1 (0.3%) core::slice::iter::Iter::pre_dec_end 45 (0.4%) 4 (1.1%) core::ptr::unique::Unique::cast 45 (0.4%) 1 (0.3%) core::slice::iter::Iter::new 45 (0.4%) 1 (0.3%) core::slice::iter::IterMut::new 43 (0.4%) 2 (0.5%) as core::ops::try_trait::Try>::branch 43 (0.4%) 2 (0.5%) alloc::raw_vec::finish_grow::{{closure}} 43 (0.4%) 1 (0.3%) as core::iter::traits::double_ended::DoubleEndedIterator>::next_back 43 (0.4%) 1 (0.3%) as core::iter::traits::iterator::Iterator>::next 43 (0.4%) 1 (0.3%) core::num::::checked_add 43 (0.4%) 1 (0.3%) core::num::::checked_mul 43 (0.4%) 1 (0.3%) core::num::::overflowing_add 43 (0.4%) 1 (0.3%) core::num::::overflowing_mul 42 (0.4%) 1 (0.3%) alloc::boxed::Box::from_raw_in 42 (0.4%) 1 (0.3%) core::ptr::drop_in_place> 40 (0.4%) 1 (0.3%) core::option::Option::map 39 (0.4%) 1 (0.3%) as core::ops::index::Index>::index 38 (0.4%) 1 (0.3%) alloc::raw_vec::handle_reserve 38 (0.4%) 1 (0.3%) alloc::vec::Vec::append_elements 38 (0.4%) 1 (0.3%) core::ops::range::RangeInclusive::into_slice_range 37 (0.4%) 1 (0.3%) as core::ops::drop::Drop>::drop 37 (0.4%) 1 (0.3%) std::fs::File::open 35 (0.3%) 3 (0.8%) core::ptr::unique::Unique::as_ref 35 (0.3%) 1 (0.3%) <[A] as core::slice::cmp::SlicePartialEq>::equal 34 (0.3%) 2 (0.5%) core::ptr::read 33 (0.3%) 2 (0.5%) core::result::Result::is_ok 33 (0.3%) 1 (0.3%) alloc::raw_vec::RawVec::new_in 32 (0.3%) 1 (0.3%) std::io::buffered::bufreader::BufReader::buffer 31 (0.3%) 2 (0.5%) core::slice::index:: for [T]>::index_mut 30 (0.3%) 4 (1.1%) core::ptr::unique::Unique::as_ptr 30 (0.3%) 2 (0.5%) core::ptr::slice_from_raw_parts 30 (0.3%) 2 (0.5%) core::ptr::slice_from_raw_parts_mut 30 (0.3%) 2 (0.5%) core::slice::raw::from_raw_parts_mut 30 (0.3%) 1 (0.3%) as core::slice::index::SliceIndex<[T]>>::get_unchecked_mut 30 (0.3%) 1 (0.3%) core::ptr::drop_in_place> 30 (0.3%) 1 (0.3%) rpassword::fixes_newline 29 (0.3%) 4 (1.1%) >::from 29 (0.3%) 1 (0.3%) as core::slice::index::SliceIndex<[T]>>::index 28 (0.3%) 2 (0.5%) <&T as core::convert::AsRef>::as_ref 28 (0.3%) 1 (0.3%) alloc::raw_vec::alloc_guard 28 (0.3%) 1 (0.3%) core::ptr::drop_in_place> 27 (0.3%) 1 (0.3%) ::deallocate 27 (0.3%) 1 (0.3%) as core::slice::index::SliceIndex<[T]>>::index_mut 27 (0.3%) 1 (0.3%) as core::slice::index::SliceIndex<[T]>>::get_unchecked 27 (0.3%) 1 (0.3%) core::ptr::drop_in_place]>> 27 (0.3%) 1 (0.3%) core::ptr::drop_in_place> 27 (0.3%) 1 (0.3%) core::ptr::drop_in_place 27 (0.3%) 1 (0.3%) rpassword::zero_on_drop::ZeroOnDrop::into_inner 26 (0.3%) 3 (0.8%) core::mem::maybe_uninit::MaybeUninit::assume_init 26 (0.3%) 2 (0.5%) core::ptr::non_null::NonNull::new_unchecked 26 (0.3%) 2 (0.5%) core::ptr::unique::Unique::new_unchecked 26 (0.3%) 2 (0.5%) std::io::BufRead::read_line 26 (0.3%) 1 (0.3%) ::eq 26 (0.3%) 1 (0.3%) core::str::::chars 26 (0.3%) 1 (0.3%) rpassword::unix::io_result 25 (0.2%) 1 (0.3%) ::grow 25 (0.2%) 1 (0.3%) as core::slice::index::SliceIndex<[T]>>::index_mut 24 (0.2%) 2 (0.5%) core::ptr::const_ptr::::offset 24 (0.2%) 2 (0.5%) std::io::BufRead::read_line::{{closure}} 24 (0.2%) 1 (0.3%) core::cmp::impls::::cmp 23 (0.2%) 1 (0.3%) <&str as core::str::pattern::Pattern>::is_suffix_of 23 (0.2%) 1 (0.3%) alloc::raw_vec::RawVec::set_ptr_and_cap 23 (0.2%) 1 (0.3%) std::io::error::Error::new_const 22 (0.2%) 1 (0.3%) as alloc::vec::spec_extend::SpecExtend<&T,core::slice::iter::Iter>>::spec_extend 22 (0.2%) 1 (0.3%) as std::io::BufRead>::consume 22 (0.2%) 1 (0.3%) core::char::methods::::encode_utf8 22 (0.2%) 1 (0.3%) core::char::methods::len_utf8 22 (0.2%) 1 (0.3%) core::sync::atomic::compiler_fence 22 (0.2%) 1 (0.3%) core::sync::atomic::fence 22 (0.2%) 1 (0.3%) std::io::readbuf::ReadBuf::assume_init 20 (0.2%) 1 (0.3%) ::is_suffix_of 20 (0.2%) 1 (0.3%) as core::slice::index::SliceIndex<[T]>>::index 20 (0.2%) 1 (0.3%) core::alloc::layout::Layout::from_size_align_unchecked 20 (0.2%) 1 (0.3%) std::sys::unix::os_str::Slice::from_u8_slice 19 (0.2%) 2 (0.5%) >::into 19 (0.2%) 1 (0.3%) as core::slice::index::SliceIndex<[T]>>::index 19 (0.2%) 1 (0.3%) alloc::alloc::realloc 19 (0.2%) 1 (0.3%) core::ptr::non_null::NonNull<[T]>::slice_from_raw_parts 19 (0.2%) 1 (0.3%) core::str::::as_bytes 19 (0.2%) 1 (0.3%) core::str::converts::from_utf8_unchecked 18 (0.2%) 2 (0.5%) as core::ops::try_trait::FromResidual>::from_residual 18 (0.2%) 2 (0.5%) core::ptr::const_ptr::::add 18 (0.2%) 1 (0.3%) >::from 18 (0.2%) 1 (0.3%) core::iter::adapters::rev::Rev::new 18 (0.2%) 1 (0.3%) core::mem::manually_drop::ManuallyDrop::new 18 (0.2%) 1 (0.3%) core::str::validations::utf8_first_byte 17 (0.2%) 1 (0.3%) core::cmp::impls:: for &A>::eq 17 (0.2%) 1 (0.3%) core::fmt::Write::write_char 17 (0.2%) 1 (0.3%) core::ptr::non_null::NonNull::new 17 (0.2%) 1 (0.3%) std::ffi::os_str:: for str>::as_ref 17 (0.2%) 1 (0.3%) std::io::error::Error::from_raw_os_error 17 (0.2%) 1 (0.3%) std::sys::unix::os_str::Slice::from_str 16 (0.2%) 2 (0.5%) core::ptr::const_ptr::::as_ptr 16 (0.2%) 1 (0.3%) ::allocate 16 (0.2%) 1 (0.3%) ::allocate_zeroed 16 (0.2%) 1 (0.3%) alloc::alloc::dealloc 16 (0.2%) 1 (0.3%) alloc::raw_vec::RawVec::capacity 16 (0.2%) 1 (0.3%) alloc::raw_vec::RawVec::reserve 16 (0.2%) 1 (0.3%) alloc::raw_vec::RawVec::with_capacity_in 16 (0.2%) 1 (0.3%) alloc::vec::Vec::extend_from_slice 16 (0.2%) 1 (0.3%) core::ptr::metadata::metadata 16 (0.2%) 1 (0.3%) std::io::readbuf::ReadBuf::uninit 16 (0.2%) 1 (0.3%) std::sys_common::memchr::memchr 15 (0.1%) 3 (0.8%) core::mem::manually_drop::ManuallyDrop::into_inner 15 (0.1%) 3 (0.8%) core::mem::maybe_uninit::MaybeUninit::as_mut_ptr 15 (0.1%) 1 (0.3%) ::deref 15 (0.1%) 1 (0.3%) ::deref_mut 15 (0.1%) 1 (0.3%) alloc::raw_vec::RawVec::needs_to_grow 15 (0.1%) 1 (0.3%) alloc::raw_vec::RawVec::reserve::do_reserve_and_handle 15 (0.1%) 1 (0.3%) alloc::raw_vec::handle_reserve::{{closure}} 15 (0.1%) 1 (0.3%) alloc::vec::Vec::as_mut_ptr 15 (0.1%) 1 (0.3%) alloc::vec::Vec::as_ptr 15 (0.1%) 1 (0.3%) core::ops::function::FnOnce::call_once 15 (0.1%) 1 (0.3%) core::ptr::drop_in_place> 15 (0.1%) 1 (0.3%) core::ptr::non_null::NonNull<[T]>::as_non_null_ptr 15 (0.1%) 1 (0.3%) core::slice::cmp:: for [A]>::eq 15 (0.1%) 1 (0.3%) core::slice::raw::from_raw_parts 14 (0.1%) 2 (0.5%) core::ptr::non_null::NonNull::as_ptr 14 (0.1%) 2 (0.5%) core::result::Result::is_err 14 (0.1%) 2 (0.5%) core::slice::raw::debug_check_data_len 14 (0.1%) 1 (0.3%) as core::ops::deref::Deref>::deref 14 (0.1%) 1 (0.3%) as core::ops::deref::DerefMut>::deref_mut 14 (0.1%) 1 (0.3%) alloc::boxed::Box<[T]>::new_uninit_slice 14 (0.1%) 1 (0.3%) core::ptr::const_ptr::::guaranteed_eq 14 (0.1%) 1 (0.3%) core::ptr::mut_ptr::::guaranteed_eq 14 (0.1%) 1 (0.3%) core::ptr::non_null::NonNull::cast 14 (0.1%) 1 (0.3%) std::path::Path::new 13 (0.1%) 1 (0.3%) <&T as core::fmt::Display>::fmt 13 (0.1%) 1 (0.3%) <&mut W as core::fmt::Write>::write_str 13 (0.1%) 1 (0.3%) as core::ops::drop::Drop>::drop 13 (0.1%) 1 (0.3%) alloc::alloc::alloc 13 (0.1%) 1 (0.3%) alloc::alloc::alloc_zeroed 13 (0.1%) 1 (0.3%) core::intrinsics::write_bytes 13 (0.1%) 1 (0.3%) core::iter::traits::iterator::Iterator::rev 13 (0.1%) 1 (0.3%) core::ops::range::RangeInclusive::new 13 (0.1%) 1 (0.3%) core::ptr::drop_in_place 13 (0.1%) 1 (0.3%) core::slice::::iter 13 (0.1%) 1 (0.3%) core::slice::::iter_mut 13 (0.1%) 1 (0.3%) core::slice::iter::::into_iter 13 (0.1%) 1 (0.3%) rpassword::zero_on_drop::ZeroOnDrop::new 13 (0.1%) 1 (0.3%) std::io::error::Error::last_os_error 13 (0.1%) 1 (0.3%) std::path:: for str>::as_ref 12 (0.1%) 1 (0.3%) <&mut W as core::fmt::Write>::write_fmt 12 (0.1%) 1 (0.3%) ::fill_buf 12 (0.1%) 1 (0.3%) alloc::vec::Vec::reserve 12 (0.1%) 1 (0.3%) core::fmt::Write::write_fmt 12 (0.1%) 1 (0.3%) core::intrinsics::copy_nonoverlapping 12 (0.1%) 1 (0.3%) core::mem::size_of_val 12 (0.1%) 1 (0.3%) core::ptr::const_ptr::::wrapping_offset 12 (0.1%) 1 (0.3%) core::ptr::drop_in_place> 12 (0.1%) 1 (0.3%) core::ptr::drop_in_place> 12 (0.1%) 1 (0.3%) core::ptr::drop_in_place 12 (0.1%) 1 (0.3%) core::ptr::mut_ptr::::offset 12 (0.1%) 1 (0.3%) core::ptr::mut_ptr::::wrapping_offset 12 (0.1%) 1 (0.3%) core::ptr::mut_ptr::::write_bytes 12 (0.1%) 1 (0.3%) core::str::::ends_with 12 (0.1%) 1 (0.3%) core::str::validations::utf8_acc_cont_byte 11 (0.1%) 1 (0.3%) >::index_mut 11 (0.1%) 1 (0.3%) core::ptr::non_null::NonNull<[T]>::as_mut_ptr 10 (0.1%) 2 (0.5%) core::ptr::const_ptr::::cast 10 (0.1%) 2 (0.5%) core::ptr::mut_ptr::::cast 10 (0.1%) 1 (0.3%) <&mut W as core::fmt::Write>::write_char 10 (0.1%) 1 (0.3%) ::clone 10 (0.1%) 1 (0.3%) ::next_back 10 (0.1%) 1 (0.3%) alloc::collections::TryReserveError::kind 10 (0.1%) 1 (0.3%) alloc::raw_vec::RawVec::with_capacity 10 (0.1%) 1 (0.3%) alloc::vec::Vec::new 10 (0.1%) 1 (0.3%) core::slice::iter::Iter::as_slice 10 (0.1%) 1 (0.3%) std::ffi::os_str::OsStr::from_inner 9 (0.1%) 1 (0.3%) >::as_ref 9 (0.1%) 1 (0.3%) alloc::vec::Vec::set_len 9 (0.1%) 1 (0.3%) core::alloc::layout::Layout::dangling 9 (0.1%) 1 (0.3%) core::cmp::Ord::max 9 (0.1%) 1 (0.3%) core::cmp::Ord::min 9 (0.1%) 1 (0.3%) core::cmp::max 9 (0.1%) 1 (0.3%) core::cmp::min 9 (0.1%) 1 (0.3%) core::mem::maybe_uninit::MaybeUninit::slice_assume_init_ref 9 (0.1%) 1 (0.3%) core::ptr::const_ptr::::wrapping_add 9 (0.1%) 1 (0.3%) core::ptr::const_ptr::::len 9 (0.1%) 1 (0.3%) core::ptr::mut_ptr::::add 9 (0.1%) 1 (0.3%) core::ptr::mut_ptr::::wrapping_add 9 (0.1%) 1 (0.3%) core::ptr::write_volatile 9 (0.1%) 1 (0.3%) core::str::::as_bytes_mut 9 (0.1%) 1 (0.3%) core::str::converts::from_utf8_unchecked_mut 8 (0.1%) 1 (0.3%) as core::convert::From>>::from 8 (0.1%) 1 (0.3%) ::next_back::{{closure}} 8 (0.1%) 1 (0.3%) ::as_raw_fd 8 (0.1%) 1 (0.3%) alloc::raw_vec::RawVec::ptr 8 (0.1%) 1 (0.3%) alloc::string::String::new 8 (0.1%) 1 (0.3%) core::alloc::layout::Layout::align 8 (0.1%) 1 (0.3%) core::char::convert::from_u32_unchecked 8 (0.1%) 1 (0.3%) core::char::methods::::len_utf8 8 (0.1%) 1 (0.3%) core::num::::wrapping_sub 8 (0.1%) 1 (0.3%) core::ptr::const_ptr::::is_null 8 (0.1%) 1 (0.3%) core::ptr::mut_ptr::::is_null 8 (0.1%) 1 (0.3%) core::ptr::mut_ptr::::as_mut_ptr 8 (0.1%) 1 (0.3%) core::ptr::write 8 (0.1%) 1 (0.3%) core::slice::::as_mut_ptr 8 (0.1%) 1 (0.3%) core::slice::::as_ptr 8 (0.1%) 1 (0.3%) core::slice::::is_empty 7 (0.1%) 3 (0.8%) core::mem::maybe_uninit::MaybeUninit::uninit 7 (0.1%) 1 (0.3%) ::consume 7 (0.1%) 1 (0.3%) ::drop 7 (0.1%) 1 (0.3%) alloc::string::String::len 7 (0.1%) 1 (0.3%) core::num::nonzero::NonZeroUsize::new_unchecked 7 (0.1%) 1 (0.3%) core::ptr::drop_in_place 7 (0.1%) 1 (0.3%) core::ptr::drop_in_place 7 (0.1%) 1 (0.3%) core::ptr::drop_in_place> 7 (0.1%) 1 (0.3%) core::ptr::drop_in_place 7 (0.1%) 1 (0.3%) core::ptr::drop_in_place 7 (0.1%) 1 (0.3%) rpassword::mock::read_password 6 (0.1%) 1 (0.3%) as core::iter::traits::iterator::Iterator>::next 6 (0.1%) 1 (0.3%) ::drop 6 (0.1%) 1 (0.3%) ::deref 6 (0.1%) 1 (0.3%) ::deref_mut 6 (0.1%) 1 (0.3%) alloc::vec::Vec::len 6 (0.1%) 1 (0.3%) core::alloc::layout::Layout::size 6 (0.1%) 1 (0.3%) core::ptr::drop_in_place> 6 (0.1%) 1 (0.3%) core::ptr::drop_in_place 6 (0.1%) 1 (0.3%) core::ptr::drop_in_place 6 (0.1%) 1 (0.3%) core::ptr::drop_in_place 6 (0.1%) 1 (0.3%) core::ptr::drop_in_place 6 (0.1%) 1 (0.3%) core::ptr::drop_in_place 6 (0.1%) 1 (0.3%) core::ptr::unique::Unique::dangling 6 (0.1%) 1 (0.3%) core::slice::iter::size_from_ptr 6 (0.1%) 1 (0.3%) std::io::buffered::bufreader::BufReader::new 6 (0.1%) 1 (0.3%) std::io::readbuf::ReadBuf::filled_len 6 (0.1%) 1 (0.3%) std::io::readbuf::ReadBuf::initialized_len 5 (0.0%) 1 (0.3%) alloc::string::String::as_mut_vec 5 (0.0%) 1 (0.3%) core::ops::range::RangeInclusive::end 5 (0.0%) 1 (0.3%) core::str::validations::utf8_is_cont_byte 4 (0.0%) 1 (0.3%) as core::ops::deref::Deref>::deref 4 (0.0%) 1 (0.3%) core::clone::Clone::clone 4 (0.0%) 1 (0.3%) core::num::nonzero::NonZeroUsize::get 4 (0.0%) 1 (0.3%) core::ptr::drop_in_place<&mut std::io::Write::write_fmt::Adapter> 1 (0.0%) 1 (0.3%) ::default 1 (0.0%) 1 (0.3%) core::hint::unreachable_unchecked 1 (0.0%) 1 (0.3%) core::mem::align_of 1 (0.0%) 1 (0.3%) core::mem::size_of 1 (0.0%) 1 (0.3%) core::ptr::null 1 (0.0%) 1 (0.3%) core::ptr::null_mut