Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BorrowSanitizer/bsan
/ functions
Functions
2,093 in github.com/BorrowSanitizer/bsan
⨍
Functions
2,093
◇
Types & classes
426
Function
check_unique_rc
Make sure this Rc doesn't fall apart when touched
tests/miri-tests/pass/rc.rs:60
Method
ci
(env: &mut BsanEnv, args: &[String], allow_unsafe_deps: bool)
bsan-script/src/commands.rs:103
Method
clean
(env: &mut BsanEnv)
bsan-script/src/commands.rs:116
Method
clear
Removes all elements of the list without freeing the underlying allocation.
bsan-rt/llvm-wrapper/bsan_set.h:29
Method
clearProvenance
Clears the provenance of the application range.
bsan-pass/BorrowSanitizer.cpp:2054
Method
clippy
(&self, _env: &mut BsanEnv, _args: &[String])
bsan-script/src/commands.rs:355
Method
clippy
(&self, crate_dir: impl AsRef<OsStr>, args: &[String])
bsan-script/src/env.rs:337
Function
closure_arg_adjustment_problem
()
tests/miri-tests/pass/closures.rs:25
Method
cmake
(env: &mut BsanEnv)
bsan-script/src/commands.rs:435
Method
cmd
()
cargo-bsan/src/util.rs:134
Function
compare_c_str
(ptr: *const c_char, val: &str)
tests/miri-tests/should-pass/c-variadic.rs:80
Function
concurrent_balanced_inc_dec
()
bsan-rt/src/tree_borrows/refcount.rs:173
Function
conjure
Test that uninhabited saved local doesn't make the entire variant uninhabited. (https://github.com/rust-lang/rust/issues/115145, https://github.com/ru
tests/miri-tests/pass/coroutine.rs:291
Function
consistency_large
()
bsan-rt/src/tree_borrows/data_structures/unimap.rs:361
Function
consistency_small
()
bsan-rt/src/tree_borrows/data_structures/unimap.rs:339
Method
constToIntPtr
bsan-pass/BorrowSanitizer.cpp:1177
Function
const_fn_call
()
tests/miri-tests/pass/calls.rs:32
Method
contains_idx
Whether this index has an associated value.
bsan-rt/src/tree_borrows/data_structures/unimap.rs:188
Function
crazy_closure
()
tests/miri-tests/pass/closures.rs:8
Method
createAllocaMetadata
bsan-pass/BorrowSanitizer.cpp:1896
Method
createAndInitAllocaMetadata
bsan-pass/BorrowSanitizer.cpp:1908
Method
createEntryAlloca
Creates a counter alloca in the entry block of the function and initializes it to 0. Zero-initialization is crucial, since not all paths through a fun
bsan-pass/BorrowSanitizer.cpp:770
Method
createProvenancePHI
bsan-pass/BorrowSanitizer.cpp:1864
Method
createScalarProvenancePHI
bsan-pass/BorrowSanitizer.cpp:1848
Method
createUserspaceApi
bsan-pass/BorrowSanitizer.cpp:598
Function
cross_crate_fn_call
Test calling a very simple function from the standard library.
tests/miri-tests/pass/calls.rs:24
Function
ctor
()
tests/miri-tests/pass/shims/ctor.rs:6
Method
d
(&self)
tests/miri-tests/pass/dyn-upcast.rs:143
Method
d
(&self)
tests/miri-tests/pass/dyn-upcast.rs:167
Method
dealloc
(mut self, global_ctx: &GlobalCtx, span: Span)
bsan-rt/src/borrow_tracker.rs:380
Method
dealloc
( &mut self, tag: BorTag, access_range: AllocRange, global: &GlobalState,
bsan-rt/src/tree_borrows/tree.rs:1176
Method
dealloc
(&self, ptr: *mut u8, layout: Layout)
tests/miri-tests/pass/global_allocator.rs:21
Method
dealloc
(&self, ptr: *mut u8, layout: Layout)
tests/miri-tests/pass/issues/issue-miri-1909.rs:31
Method
deallocate
(&self, ptr: NonNull<u8>, _layout: Layout)
tests/miri-tests/pass/box-custom-alloc-aliasing.rs:84
Method
debug_tree_size
(&self)
bsan-rt/src/borrow_tracker.rs:427
Method
decrement
(&self, tag: BorTag)
bsan-rt/src/tree_borrows/tree.rs:1229
Function
decrement_returns_false_while_nonzero
()
bsan-rt/src/tree_borrows/refcount.rs:138
Function
decrement_returns_true_at_zero
()
bsan-rt/src/tree_borrows/refcount.rs:148
Method
default
()
bsan-rt/src/lib.rs:124
Method
default
()
bsan-rt/src/tree_borrows/data_structures/unimap.rs:98
Method
deref
(&self)
bsan-rt/src/borrow_tracker.rs:59
Method
deref
(&self)
bsan-rt/src/global.rs:45
Method
deref
(&self)
tests/miri-tests/pass/dyn-arbitrary-self.rs:74
Method
deref
(&self)
cargo-bsan/src/util.rs:288
Method
deref
(&self)
bsan-script/src/commands.rs:328
Method
deref_mut
(&mut self)
bsan-rt/src/borrow_tracker.rs:100
Method
display_ub
(&mut self, info: UBInfo, span: Span)
bsan-rt/src/errors.rs:32
Method
distinguishable
Two states (by convention `self` is the source and `other` is the target) are "distinguishable" if there exists a sequence of instructions that causes
bsan-rt/src/tree_borrows/tree/tests.rs:586
Method
doc
(&self, _env: &mut BsanEnv, _args: &[String])
bsan-script/src/commands.rs:347
Method
doc
(&self, crate_dir: impl AsRef<OsStr>, args: &[String])
bsan-script/src/env.rs:328
Method
done
(&self, result: &ui_test::test_result::TestResult, aborted: bool)
tests/fix_utils.rs:97
Function
double
()
tests/miri-tests/should-pass/performance/panic/nested_panic_caught.rs:10
Method
drop
(&mut self)
bsan-rt/src/memory/heap.rs:109
Method
drop
(&mut self)
tests/miri-tests/should-pass/performance/panic/nested_panic_caught.rs:14
Method
drop
(&mut self)
tests/miri-tests/should-pass/performance/panic/catch_panic.rs:17
Method
drop
(&mut self)
tests/miri-tests/pass/drop_on_array_elements.rs:9
Method
drop
(&mut self)
tests/miri-tests/pass/coroutine.rs:208
Method
drop
(&mut self)
tests/miri-tests/pass/static_align.rs:18
Method
drop
(&mut self)
tests/miri-tests/pass/dyn-upcast.rs:461
Method
drop
(&mut self)
tests/miri-tests/pass/closure-drop.rs:5
Method
drop
(&mut self)
tests/miri-tests/pass/drop_on_fat_ptr_array_elements.rs:13
Method
drop
(&mut self)
tests/miri-tests/pass/zst_variant_drop.rs:4
Method
drop
(&mut self)
tests/miri-tests/pass/drop_through_owned_slice.rs:9
Method
drop
(&mut self)
tests/miri-tests/pass/packed_struct.rs:80
Method
drop
(&mut self)
tests/miri-tests/pass/async-drop.rs:95
Method
drop
(&mut self)
tests/miri-tests/pass/async-closure-drop.rs:28
Method
drop
(&mut self)
tests/miri-tests/pass/drop_through_trait_object.rs:9
Method
drop
(&mut self)
tests/miri-tests/pass/drop_on_zst_array_elements.rs:9
Method
drop
(&mut self)
tests/miri-tests/pass/drop_through_trait_object_rc.rs:9
Method
drop
(&mut self)
tests/miri-tests/pass/stacked_borrows/drop_in_place_protector.rs:11
Method
drop
(&mut self)
tests/miri-tests/pass/tls/tls_macro_drop.rs:16
Method
drop
(&mut self)
tests/miri-tests/pass/tls/tls_macro_drop_single_thread.rs:7
Method
drop
(&mut self)
tests/miri-tests/pass/issues/issue-26709.rs:5
Method
drop
(&mut self)
tests/miri-tests/pass/issues/issue-miri-133.rs:18
Method
drop
(&mut self)
tests/miri-tests/pass/issues/issue-15063.rs:8
Method
drop
(&mut self)
tests/miri-tests/pass/intrinsics/select-unpredictable-drop.rs:17
Method
dummy
()
bsan-rt/src/sanitizer_common.rs:11
Function
empty
()
tests/miri-tests/pass/strings.rs:4
Function
empty_array
@run:0
tests/miri-tests/pass/arrays.rs:2
Function
empty_map
()
bsan-rt/src/tree_borrows/data_structures/range_object_map.rs:151
Function
empty_map_iter
()
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:336
Function
empty_map_iter_mut
()
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:342
Method
endpoint
Endpoint of a transition. Meant only for diagnostics, use `applied` in non-diagnostics code, which also checks that the starting point matches the cur
bsan-rt/src/tree_borrows/perms.rs:667
Method
eq
(&self, other: &Self)
tests/miri-tests/excluded/pass/intrinsics/portable-simd.rs:33
Function
eq_ref
(x: &T, y: &T)
tests/miri-tests/pass/ptr_int_casts.rs:7
Function
exactly_one_zero_transition
()
bsan-rt/src/tree_borrows/refcount.rs:200
Method
exhaustive
()
bsan-rt/src/tree_borrows/perms.rs:690
Method
exhaustive
()
bsan-rt/src/tree_borrows/exhaustive.rs:28
Method
exhaustive
()
bsan-rt/src/tree_borrows/tree/tests.rs:11
Method
expose_tag
(&mut self, tag: BorTag, protected: bool)
bsan-rt/src/tree_borrows/tree.rs:1201
Method
expose_tag
Marks the tag as exposed & updates the wildcard tracking data structure to represent its access level. Also takes as an argument whether the tag is pr
bsan-rt/src/tree_borrows/wildcard.rs:197
Method
exposed_provenance
(&'a self)
bsan-rt/src/global.rs:135
Function
extend_to_length
()
bsan-rt/src/tree_borrows/data_structures/unimap.rs:276
Method
extra_flags
Computes the extra flags that need to be passed to cargo to make it behave like the current cargo invocation.
cargo-bsan/src/util.rs:155
Method
extraction_aux
( tree: &EagerTree, idx: UniIndex, show_unnamed: bool, acc: &m
bsan-rt/src/tree_borrows/diagnostics.rs:661
Function
f
()
tests/miri-tests/pass/const-vec-of-fns.rs:9
Function
f
(_: *const u8)
tests/miri-tests/pass/cast_fn_ptr.rs:3
Function
f
()
tests/miri-tests/pass/cast_fn_ptr_unsafe.rs:3
Function
f
()
tests/miri-tests/pass/ptr_int_casts.rs:11
Function
f
()
tests/miri-tests/pass/ptr_offset.rs:74
← previous
next →
1,201–1,300 of 2,093, ranked by callers