MCPcopy Create free account

hub / github.com/BorrowSanitizer/bsan / functions

Functions2,093 in github.com/BorrowSanitizer/bsan

↓ 1 callersFunctionatomic_bool
()
tests/miri-tests/pass/atomic.rs:23
↓ 1 callersFunctionatomic_fences
()
tests/miri-tests/pass/atomic.rs:129
↓ 1 callersFunctionatomic_ptr
()
tests/miri-tests/pass/atomic.rs:140
↓ 1 callersFunctionatomic_u64
()
tests/miri-tests/pass/atomic.rs:85
↓ 1 callersFunctionbar
@run:0
tests/miri-tests/pass/subslice_array.rs:2
↓ 1 callersFunctionbar
(i: i32, j: i32, k: f32)
tests/miri-tests/pass/closures.rs:84
↓ 1 callersMethodbar
(self: Pin<&mut Self>)
tests/miri-tests/pass/dyn-arbitrary-self.rs:15
↓ 1 callersMethodbase_address
(&self)
bsan-rt/src/memory/heap.rs:187
↓ 1 callersFunctionbasic
()
tests/miri-tests/pass/coroutine.rs:14
↓ 1 callersFunctionbasic
()
tests/miri-tests/pass/dyn-upcast.rs:24
↓ 1 callersFunctionbasic
Some basic smoke tests for provenance.
tests/miri-tests/pass/provenance_tests.rs:18
↓ 1 callersFunctionbasic_raw
()
tests/miri-tests/pass/ptr_raw.rs:5
↓ 1 callersFunctionbidirectional_subtyping
()
tests/miri-tests/pass/dyn-upcast.rs:537
↓ 1 callersMethodbin
(&self)
cargo-bsan/src/util.rs:259
↓ 1 callersMethodbinary
(&self, binary: &str)
cargo-bsan/src/util.rs:263
↓ 1 callersFunctionblock_on
(fut: impl Future<Output = T>)
tests/miri-tests/pass/async-closure.rs:8
↓ 1 callersFunctionblock_on
(fut: impl Future<Output = T>)
tests/miri-tests/pass/async-closure-captures.rs:10
↓ 1 callersFunctionblock_on
(fut: impl Future<Output = T>)
tests/miri-tests/pass/async-closure-drop.rs:8
↓ 1 callersFunctionborrow_field_a
(this: *mut Foo)
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:148
↓ 1 callersFunctionborrow_field_b
(this: *mut Foo)
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:152
↓ 1 callersFunctionbox_dyn
()
tests/miri-tests/pass/closures.rs:52
↓ 1 callersFunctionbox_into_raw_allows_interior_mutable_alias
()
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:264
↓ 1 callersFunctionbox_to_global
()
tests/miri-tests/pass/heap_allocator.rs:110
↓ 1 callersFunctionboxed_pair_to_vec
()
tests/miri-tests/pass/box.rs:40
↓ 1 callersFunctionboxy
()
tests/miri-tests/pass/both_borrows/maybe_dangling.rs:18
↓ 1 callersFunctionbsan_aligned_alloc
bsan-rt/llvm-wrapper/bsan_allocator.cpp:240
↓ 1 callersFunctionbsan_calloc
bsan-rt/llvm-wrapper/bsan_allocator.cpp:196
↓ 1 callersFunctionbsan_cflags
(deps: &Dependencies, llvm_tools: &LlvmTools)
cargo-bsan/src/phases.rs:348
↓ 1 callersFunctionbsan_config
( target: &VersionMeta, path: &str, mode: Mode, with_dependencies: Option<WithDependencies>, )
tests/ui.rs:42
↓ 1 callersFunctionbsan_malloc
bsan-rt/llvm-wrapper/bsan_allocator.cpp:192
↓ 1 callersFunctionbsan_posix_memalign
bsan-rt/llvm-wrapper/bsan_allocator.cpp:262
↓ 1 callersFunctionbsan_pvalloc
bsan-rt/llvm-wrapper/bsan_allocator.cpp:226
↓ 1 callersFunctionbsan_rustflags
(env: &EnvConfig, deps: &Dependencies, llvm_tools: &LlvmTools)
cargo-bsan/src/phases.rs:296
↓ 1 callersFunctionbsan_valloc
bsan-rt/llvm-wrapper/bsan_allocator.cpp:221
↓ 1 callersMethodbuild
(&self, crate_dir: impl AsRef<OsStr>, args: &[String])
bsan-script/src/env.rs:368
↓ 1 callersMethodbumpStackSlot
Allocates one or more shadow stack slots from the requested section.
bsan-pass/BorrowSanitizer.cpp:968
↓ 1 callersFunctionbytewise_custom_memcpy
()
tests/miri-tests/pass/provenance_tests.rs:52
↓ 1 callersFunctionbytewise_custom_memcpy_chunked
()
tests/miri-tests/pass/provenance_tests.rs:73
↓ 1 callersFunctionbytewise_ptr_methods
()
tests/miri-tests/pass/provenance_tests.rs:32
↓ 1 callersFunctionc
()
tests/miri-tests/pass/union.rs:46
↓ 1 callersFunctioncall
(f: &mut impl AsyncFn(i32))
tests/miri-tests/pass/async-closure.rs:20
↓ 1 callersFunctioncall_mut
(f: &mut impl AsyncFnMut(i32))
tests/miri-tests/pass/async-closure.rs:24
↓ 1 callersFunctioncall_normal
(f: &impl Fn(i32) -> F)
tests/miri-tests/pass/async-closure.rs:32
↓ 1 callersFunctioncall_normal_mut
(f: &mut impl FnMut(i32) -> F)
tests/miri-tests/pass/async-closure.rs:36
↓ 1 callersFunctioncall_once
(f: impl async FnOnce(DropMe))
tests/miri-tests/pass/async-closure-drop.rs:20
↓ 1 callersFunctioncall_return_into_passed_reference
()
tests/miri-tests/pass/calls.rs:38
↓ 1 callersFunctioncallee
(xraw: *mut i32)
tests/miri-tests/pass/stacked_borrows/illegal_read2.rs:15
↓ 1 callersFunctioncallee
(xraw: *mut i32)
tests/miri-tests/pass/stacked_borrows/illegal_read1.rs:15
↓ 1 callersFunctioncallee
(xref1: HiddenRef)
tests/miri-tests/pass/stacked_borrows/illegal_read3.rs:25
↓ 1 callersFunctioncallee
(xraw: *mut i32)
tests/miri-tests/pass/stacked_borrows/track_caller.rs:16
↓ 1 callersFunctioncallee
(xraw: *mut i32)
tests/miri-tests/fail/aliasing/both_borrows/illegal_write5.rs:19
↓ 1 callersMethodcan_be_replaced_by_single_child
Checks whether a node can be replaced by its only child. If so, returns the index of said only child. If not, returns none.
bsan-rt/src/tree_borrows/tree.rs:461
↓ 1 callersMethodcan_be_replaced_by_single_child_dead
Like [`Self::can_be_replaced_by_single_child`], but for the dead-tag GC path. The caller iterates the dead tags directly, so `idx` is already known to
bsan-rt/src/tree_borrows/tree.rs:502
↓ 1 callersMethodcan_skip_foreign_access
Returns true if a node where the strongest idempotent foreign access is `self` can skip the access `happening_next`. Note that if this returns `true`,
bsan-rt/src/tree_borrows/foreign_access_skipping.rs:41
↓ 1 callersFunctioncast
()
tests/miri-tests/pass/intptrcast.rs:11
↓ 1 callersFunctioncast_dangling
Test usize->ptr cast for dangling and OOB address. That is safe, and thus has to work.
tests/miri-tests/pass/intptrcast.rs:22
↓ 1 callersFunctioncell_inside_struct
()
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:277
↓ 1 callersFunctioncell_to_ref
Forget about the interior mutability of a cell.
tests/miri-tests/pass/tree_borrows/transmute-unsafecell.rs:28
↓ 1 callersFunctioncheck
()
tests/miri-tests/pass/union-overwrite.rs:22
↓ 1 callersMethodcheck
(&self, env: &mut BsanEnv, args: &[String])
bsan-script/src/commands.rs:522
↓ 1 callersFunctioncheck_blocking
Check that the destructor can be blocked joining another thread.
tests/miri-tests/pass/tls/tls_macro_drop.rs:50
↓ 1 callersFunctioncheck_both
(val: &Foo<[u8]>)
tests/miri-tests/pass/issues/issue-23261.rs:35
↓ 1 callersFunctioncheck_destructors
Check that destructors of the library thread locals are executed immediately after a thread terminates.
tests/miri-tests/pass/tls/tls_macro_drop.rs:10
↓ 1 callersFunctioncheck_dst_val
(val: &Foo<[u8]>)
tests/miri-tests/pass/issues/issue-23261.rs:27
↓ 1 callersFunctioncheck_list_2
(mut ap: ...)
tests/miri-tests/should-pass/c-variadic.rs:71
↓ 1 callersFunctioncheck_tls_init_in_dtor
()
tests/miri-tests/pass/tls/tls_macro_drop.rs:84
↓ 1 callersFunctioncheck_trait_obj
(val: &Foo<dyn Get>)
tests/miri-tests/pass/issues/issue-23261.rs:44
↓ 1 callersFunctioncheck_val
(val: &Foo<[u8]>)
tests/miri-tests/pass/issues/issue-23261.rs:19
↓ 1 callersFunctionchild_read
A child node was read-accessed: UB on Disabled, noop on the rest.
bsan-rt/src/tree_borrows/perms.rs:175
↓ 1 callersFunctionchild_write
A child node was write-accessed: `Reserved` must become `Unique` to obtain write permissions, `Frozen` and `Disabled` cannot obtain such permissions a
bsan-rt/src/tree_borrows/perms.rs:224
↓ 1 callersFunctionclean_sysroot_dir
(sysroot: &Sysroot)
cargo-bsan/src/util.rs:176
↓ 1 callersFunctionclean_target_dir
()
cargo-bsan/src/util.rs:182
↓ 1 callersMethodcmp
(a: *const c_void, b: *const c_void)
tests/fail-dep/mirilli/blitsort-sys.rs:15
↓ 1 callersFunctioncoerce_fat_ptr_wrapper
( p: PtrWrapper<dyn Fn(u32) -> u32 + Send>, )
tests/miri-tests/pass/coercions.rs:40
↓ 1 callersFunctioncoerce_ptr_wrapper
(p: PtrWrapper<[u8; 3]>)
tests/miri-tests/pass/coercions.rs:32
↓ 1 callersFunctioncoerce_ptr_wrapper_poly
(p: PtrWrapper<'a, T>)
tests/miri-tests/pass/coercions.rs:46
↓ 1 callersFunctioncoerce_triv_ptr_wrapper
(p: TrivPtrWrapper<[u8; 3]>)
tests/miri-tests/pass/coercions.rs:36
↓ 1 callersMethodcompatible_with_protector
(&self)
bsan-rt/src/tree_borrows/perms.rs:136
↓ 1 callersFunctioncompile_miri_tests
(cwd: Path)
bsan-script/etc/bench.py:227
↓ 1 callersFunctioncompile_test_binary
Compiles the test binary for the given cargo invocation and copies it into `out_dir`. Aborts on compile failure or if no executable is created.
bsan-script/etc/bench.py:147
↓ 1 callersFunctionconst_addr
()
tests/miri-tests/pass/const-addrs.rs:30
↓ 1 callersFunctioncreate_and_detach
()
tests/miri-tests/pass/concurrency/simple.rs:6
↓ 1 callersFunctioncreate_and_get_result
()
tests/miri-tests/pass/concurrency/simple.rs:14
↓ 1 callersFunctioncreate_and_join
()
tests/miri-tests/pass/concurrency/simple.rs:10
↓ 1 callersFunctioncreate_and_leak_result
()
tests/miri-tests/pass/concurrency/simple.rs:19
↓ 1 callersMethodcreate_event
Creates a history event.
bsan-rt/src/tree_borrows/diagnostics.rs:96
↓ 1 callersFunctioncreate_move_in
()
tests/miri-tests/pass/concurrency/simple.rs:35
↓ 1 callersFunctioncreate_move_out
()
tests/miri-tests/pass/concurrency/simple.rs:44
↓ 1 callersFunctioncreate_nested_and_detach
()
tests/miri-tests/pass/concurrency/simple.rs:23
↓ 1 callersFunctioncreate_nested_and_join
()
tests/miri-tests/pass/concurrency/simple.rs:29
↓ 1 callersFunctioncross_tree_update_older_invalid_exposed
Checks how accesses from one subtree affect other subtrees. This test shows an example where we don't update a node whose exposed children are greater
tests/miri-tests/pass/tree_borrows/wildcard/undetected_ub.rs:112
↓ 1 callersFunctioncurl_version
(sh: &Shell)
bsan-script/src/utils.rs:218
↓ 1 callersFunctiond
()
tests/miri-tests/pass/union.rs:80
↓ 1 callersFunctiondangling_let
()
tests/miri-tests/pass/underscore_pattern.rs:49
↓ 1 callersFunctiondangling_let_type_annotation
Adding a type annotation used to change how MIR is generated, make sure we cover both cases.
tests/miri-tests/pass/underscore_pattern.rs:76
↓ 1 callersFunctiondangling_match
()
tests/miri-tests/pass/underscore_pattern.rs:17
↓ 1 callersFunctiondangling_pointer
()
tests/miri-tests/pass/pointers.rs:54
↓ 1 callersMethoddata
(&self, matrix: u32)
tests/fail-dep/mirilli/klu-rs.rs:22
↓ 1 callersFunctiondata2_delta
()
tests/fail-dep/mirilli/librsync.rs:10
↓ 1 callersFunctiondata_moved
Same thing as above, but non-async.
tests/miri-tests/pass/move-data-across-await-point.rs:38
← previousnext →401–500 of 2,093, ranked by callers