MCPcopy Create free account

hub / github.com/BorrowSanitizer/bsan / functions

Functions2,093 in github.com/BorrowSanitizer/bsan

↓ 1 callersFunctionmatches_begin
()
tests/miri-tests/pass/memchr.rs:11
↓ 1 callersFunctionmatches_begin_reversed
()
tests/miri-tests/pass/memchr.rs:39
↓ 1 callersFunctionmatches_end
()
tests/miri-tests/pass/memchr.rs:15
↓ 1 callersFunctionmatches_end_reversed
()
tests/miri-tests/pass/memchr.rs:43
↓ 1 callersFunctionmatches_nul
()
tests/miri-tests/pass/memchr.rs:19
↓ 1 callersFunctionmatches_nul_reversed
()
tests/miri-tests/pass/memchr.rs:47
↓ 1 callersFunctionmatches_one
test fallback implementations on all targets
tests/miri-tests/pass/memchr.rs:7
↓ 1 callersFunctionmatches_one_reversed
()
tests/miri-tests/pass/memchr.rs:35
↓ 1 callersFunctionmatches_past_nul
()
tests/miri-tests/pass/memchr.rs:23
↓ 1 callersFunctionmatches_past_nul_reversed
()
tests/miri-tests/pass/memchr.rs:51
↓ 1 callersFunctionmaybe_uninit_preserves_partial_provenance
()
tests/miri-tests/pass/provenance_tests.rs:115
↓ 1 callersFunctionmemcpy
(to: *mut T, from: *const T)
tests/miri-tests/should-fail/aliasing/tree_borrows/bytewise_copy_alias.rs:15
↓ 1 callersFunctionmetadata_vtable
()
tests/miri-tests/pass/pointers.rs:80
↓ 1 callersMethodmin
()
bsan-rt/src/lib.rs:118
↓ 1 callersMethodmiri
(&self, env: &mut BsanEnv, args: &[String])
bsan-script/src/commands.rs:526
↓ 1 callersFunctionmiri_binary
Resolve the real `miri` executable for the active toolchain.
bsan-script/etc/bench.py:178
↓ 1 callersFunctionmk_rec
()
tests/miri-tests/pass/tag-align-dyn-u64.rs:14
↓ 1 callersFunctionmmap
(size_bytes: NonZero<usize>)
bsan-rt/src/memory/mod.rs:129
↓ 1 callersFunctionmodulo_assoc
Test for <https://github.com/rust-lang/rust/issues/135315>.
tests/miri-tests/pass/dyn-upcast.rs:509
↓ 1 callersFunctionmodulo_binder
Test for <https://github.com/rust-lang/rust/issues/135316>.
tests/miri-tests/pass/dyn-upcast.rs:488
↓ 1 callersFunctionmono_coroutine
( val: Pin<&mut F>, )
tests/miri-tests/should-pass/performance/track-caller-attribute.rs:216
↓ 1 callersFunctionmono_invoke_fn
( val: &F, )
tests/miri-tests/should-pass/performance/track-caller-attribute.rs:139
↓ 1 callersFunctionmono_invoke_fn_once
( val: F, )
tests/miri-tests/should-pass/performance/track-caller-attribute.rs:146
↓ 1 callersFunctionmore_discriminant_overflow
()
tests/miri-tests/pass/enums.rs:48
↓ 1 callersFunctionmove_file
Rename a file if from and to are in the same filesystem or copy and remove the file otherwise
bsan-script/src/utils.rs:309
↓ 1 callersFunctionmultiple_exposed_child
Checks that an access through a wildcard reference doesn't disable any exposed references. It tests this with exposed references where one is the ance
tests/miri-tests/pass/tree_borrows/wildcard/wildcard.rs:54
↓ 1 callersFunctionmultiple_exposed_siblings
Checks that an access through a wildcard reference doesn't disable any exposed references. It tests this with exposed references that are siblings of
tests/miri-tests/pass/tree_borrows/wildcard/wildcard.rs:16
↓ 1 callersFunctionmultiple_exposed_siblings1
Checks that accessing through a reborrowed wildcard doesn't disable any exposed reference.
tests/miri-tests/pass/tree_borrows/wildcard/reborrow.rs:14
↓ 1 callersFunctionmultiple_exposed_siblings2
Checks that wildcard accesses do not invalidate any exposed nodes through which the access could have happened. It checks this for the case where some
tests/miri-tests/pass/tree_borrows/wildcard/reborrow.rs:57
↓ 1 callersFunctionmultiple_send
The test taken from the Rust documentation.
tests/miri-tests/pass/channels.rs:23
↓ 1 callersFunctionmunmap
(ptr: NonNull<T>, size_bytes: impl Into<NonZero<usize>>)
bsan-rt/src/memory/mod.rs:149
↓ 1 callersFunctionmut_alias
(x: &mut UnsafePinned<i32>, y: &mut UnsafePinned<i32>)
tests/miri-tests/pass/both_borrows/unsafe_pinned.rs:13
↓ 1 callersFunctionmut_below_shr
Transmuting &&i32 to &&mut i32 is fine.
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:200
↓ 1 callersFunctionmut_raw_mut
Ensure that if we derive from a mut a raw, and then from that a mut, and then read through the original mut, that does not invalidate the raw. This sh
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:84
↓ 1 callersFunctionmut_raw_mut2
A variant of `mut_raw_mut` that does *not* get accepted by Tree Borrows. It's kind of an accident that we accept it in Stacked Borrows...
tests/miri-tests/fail/aliasing/stacked_borrows/stacked-borrows.rs:15
↓ 1 callersFunctionmut_raw_then_mut_shr
Escape a mut to raw, then share the same mut and use the share, then the raw. That should work.
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:56
↓ 1 callersFunctionmut_shr_then_mut_raw
Create first a shared reference and then a raw pointer from a `&mut` should permit mutation through that raw pointer.
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:70
↓ 1 callersFunctionmutate
(x: &UnsafePinned<i32>)
tests/miri-tests/pass/both_borrows/unsafe_pinned.rs:8
↓ 1 callersFunctionmy_fut
()
tests/miri-tests/pass/future-self-referential.rs:94
↓ 1 callersFunctionmy_mut_alias
(x: &mut MyUnsafePinned<i32>, y: &mut MyUnsafePinned<i32>)
tests/miri-tests/pass/both_borrows/unsafe_pinned.rs:26
↓ 1 callersFunctionmyfun2
(ptr: *mut i32)
tests/miri-tests/excluded/fail/aliasing/function-calls/return_pointer_aliasing_write_tail_call.rs:33
↓ 1 callersFunctionnested
()
tests/miri-tests/should-pass/c-variadic.rs:49
↓ 1 callersFunctionnested_intrinsic
()
tests/miri-tests/should-pass/performance/track-caller-attribute.rs:19
↓ 1 callersFunctionnested_tracked
()
tests/miri-tests/should-pass/performance/track-caller-attribute.rs:23
↓ 1 callersFunctionnever
()
tests/miri-tests/pass/async-fn.rs:28
↓ 1 callersFunctionnever
()
tests/miri-tests/pass/coroutine.rs:41
↓ 1 callersFunctionnever
Regression test from <https://github.com/rust-lang/rust/issues/117288>.
tests/miri-tests/pass/underscore_pattern.rs:103
↓ 1 callersMethodnew_child
( &mut self, base_offset: Size, parent_tag: BorTag, new_tag: BorTag, i
bsan-rt/src/tree_borrows/tree.rs:1131
↓ 1 callersMethodnext
(&self)
bsan-rt/src/memory/heap.rs:150
↓ 1 callersFunctionnext_greater_multiple_unchecked
(n: usize, divisor: usize)
bsan-rt/src/memory/mod.rs:112
↓ 1 callersFunctionno_match
()
tests/miri-tests/pass/memchr.rs:31
↓ 1 callersFunctionno_match_empty
()
tests/miri-tests/pass/memchr.rs:27
↓ 1 callersFunctionno_match_empty_reversed
()
tests/miri-tests/pass/memchr.rs:55
↓ 1 callersFunctionno_match_reversed
()
tests/miri-tests/pass/memchr.rs:59
↓ 1 callersMethodnode_count
(&self)
bsan-rt/src/tree_borrows/tree.rs:1125
↓ 1 callersFunctionnon_scalar
()
tests/miri-tests/pass/function_calls/tail_call.rs:43
↓ 1 callersFunctionnormalize_stdout
(val)
tests/test-cargo-bsan/run_test.py:28
↓ 1 callersFunctionnot_unpin_not_protected
()
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:220
↓ 1 callersMethodnotify
(&self)
tests/miri-tests/pass/tls/tls_macro_drop.rs:231
↓ 1 callersMethodnth_parent
Climb the tree to get the tag of a distant ancestor. Allows operations on tags that are unreachable by the program but still exist in the tree. Not gu
bsan-rt/src/tree_borrows/diagnostics.rs:232
↓ 1 callersFunctionnum_arg_flag
Determines how many times a `--flag` is present.
cargo-bsan/src/arg.rs:12
↓ 1 callersMethodon_heap
(self, is_zst: bool)
tests/miri-tests/pass/both_borrows/smallvec.rs:52
↓ 1 callersFunctionone
()
tests/miri-tests/pass/disjoint-array-accesses.rs:14
↓ 1 callersFunctiononly_foreign_is_temporary
When accessing an allocation through a tag that was created from wildcard reference we treat nodes with a larger tag as if the access could only have
tests/miri-tests/pass/tree_borrows/wildcard/reborrow.rs:182
↓ 1 callersFunctionoveraligned_casts
()
tests/miri-tests/pass/enums.rs:124
↓ 1 callersFunctionpadding_clear_corner_case
This hits a corner case in the logic for clearing padding on typed copies.
tests/miri-tests/pass/enums.rs:137
↓ 1 callersFunctionpanic
()
tests/miri-tests/should-pass/performance/panic/thread_panic.rs:6
↓ 1 callersFunctionpanic_named
()
tests/miri-tests/should-pass/performance/panic/thread_panic.rs:12
↓ 1 callersFunctionpartially_invalidate_mut
()
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:104
↓ 1 callersFunctionpass_to_ptr_call
(f: fn(T), x: T)
tests/miri-tests/should-pass/performance/track-caller-attribute.rs:72
↓ 1 callersMethodpatchStackSlots
Patches both section counters and promotes their tracking allocas.
bsan-pass/BorrowSanitizer.cpp:1020
↓ 1 callersMethodperform_normal_access
Performs a normal access on the tree containing `access_source`. Returns the root index of this tree. `access_source`: The index of the tag being acc
bsan-rt/src/tree_borrows/tree.rs:811
↓ 1 callersMethodperform_protector_end_access
( &mut self, tag: BorTag, global: &GlobalState, alloc_id: AllocId, spa
bsan-rt/src/tree_borrows/tree.rs:1189
↓ 1 callersMethodperform_wildcard_access
Performs a wildcard access on the tree with root `root`. Takes the `access_relatedness` for each node from the `WildcardState` datastructure. `root`:
bsan-rt/src/tree_borrows/tree.rs:885
↓ 1 callersFunctionphase_cargo_bsan
(mut args: impl Iterator<Item = String>)
cargo-bsan/src/phases.rs:63
↓ 1 callersFunctionphase_rustdoc
(args: impl Iterator<Item = String>)
cargo-bsan/src/phases.rs:356
↓ 1 callersFunctionpin_box_dyn
()
tests/miri-tests/pass/dyn-arbitrary-self.rs:7
↓ 1 callersFunctionpointers_and_wrappers
()
tests/miri-tests/pass/dyn-arbitrary-self.rs:65
↓ 1 callersMethodpoll
(self: Pin<&mut Self>, _cx: &mut Context<'_>)
tests/miri-tests/pass/issues/issue-miri-2068.rs:28
↓ 1 callersMethodprint_exposed
Print extra text if the tag is exposed.
bsan-rt/src/tree_borrows/diagnostics.rs:588
↓ 1 callersMethodprint_perm
Print the permission with the format ` Res`/` Re*`/` Unq`/` Frz`/` Dis` for accessed locations and `?Res`/`?Re*`/`?Unq`/`?Frz`/`?Dis` for unaccessed l
bsan-rt/src/tree_borrows/diagnostics.rs:554
↓ 1 callersMethodprint_protector
Print extra text if the tag has a protector.
bsan-rt/src/tree_borrows/diagnostics.rs:578
↓ 1 callersFunctionprint_s
(s: &S)
tests/miri-tests/pass/issues/issue-3794.rs:22
↓ 1 callersFunctionprint_t
(t: &dyn T)
tests/miri-tests/pass/issues/issue-3794.rs:18
↓ 1 callersMethodprint_tag
Print the tag with the format `<XYZ>` if the tag is unnamed, and `<XYZ=name>` if the tag is named.
bsan-rt/src/tree_borrows/diagnostics.rs:568
↓ 1 callersMethodprint_tree
Display the contents of the tree.
bsan-rt/src/tree_borrows/diagnostics.rs:883
↓ 1 callersMethodprint_tree_diff
Print the diff between me and an older tree
bsan-rt/src/tree_borrows/diagnostics.rs:910
↓ 1 callersFunctionprocess_config
( cfg: dict, target: str, scratch: Path, )
bsan-script/etc/bench.py:292
↓ 1 callersMethodproduces_disabled
Determines if this transition would disable the permission.
bsan-rt/src/tree_borrows/perms.rs:462
↓ 1 callersFunctionprompt_user_unless
(skip: bool, prompt: &str)
bsan-script/src/utils.rs:35
↓ 1 callersFunctionprotect
(ref3: &mut u32)
tests/miri-tests/pass/tree_borrows/wildcard/undetected_ub.rs:73
↓ 1 callersFunctionprotected_exposed
If a reference is protected, then all foreign writes to it cause UB. This effectively means any write needs to happen through a child of the protected
tests/miri-tests/pass/tree_borrows/wildcard/undetected_ub.rs:64
↓ 1 callersFunctionprotector
Checks that we can pass a wildcard reference to a function.
tests/miri-tests/pass/tree_borrows/wildcard/wildcard.rs:112
↓ 1 callersFunctionprotector_conflicted_release
Checks whether we correctly handle the protector being released on a conflicted exposed reference.
tests/miri-tests/pass/tree_borrows/wildcard/wildcard.rs:129
↓ 1 callersMethodprotector_end
(&mut self, global_ctx: &GlobalCtx, span: Span)
bsan-rt/src/borrow_tracker.rs:342
↓ 1 callersMethodprotector_end_access
What kind of access to perform before releasing the protector.
bsan-rt/src/tree_borrows/perms.rs:356
↓ 1 callersFunctionptr_arith_offset
()
tests/miri-tests/pass/ptr_offset.rs:55
↓ 1 callersFunctionptr_arith_offset_overflow
()
tests/miri-tests/pass/ptr_offset.rs:62
↓ 1 callersFunctionptr_bitops1
()
tests/miri-tests/pass/intptrcast.rs:49
↓ 1 callersFunctionptr_bitops2
()
tests/miri-tests/pass/intptrcast.rs:57
← previousnext →701–800 of 2,093, ranked by callers