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
match_opt_none
()
tests/miri-tests/pass/sums.rs:33
Function
match_opt_some
()
tests/miri-tests/pass/sums.rs:41
Function
match_ref_mut
()
tests/miri-tests/pass/pointers.rs:42
Method
metadata
()
cargo-bsan/src/util.rs:140
Function
mini_array
()
tests/miri-tests/pass/arrays.rs:6
Method
miri
(&self, _env: &mut BsanEnv, _args: &[String])
bsan-script/src/commands.rs:363
Method
miri
(&self, crate_dir: impl AsRef<OsStr>, args: &[String])
bsan-script/src/env.rs:356
Function
multi_args
another function that elides, each to a different unbound lifetime
tests/miri-tests/pass/rfc1623.rs:28
Function
mutually_recursive_identity
this is of course very silly, but we need to demonstrate mutual recursion somehow so...
tests/miri-tests/pass/function_calls/tail_call.rs:23
Function
myfun
()
tests/miri-tests/pass/function_calls/return_place_on_heap.rs:23
Function
myfun
(ptr: *mut i32)
tests/miri-tests/excluded/fail/aliasing/function-calls/return_pointer_aliasing_write_tail_call.rs:29
Function
myfun
(ptr: *mut i32)
tests/miri-tests/excluded/fail/aliasing/function-calls/return_pointer_aliasing_write.rs:27
Function
myfun
(ptr: *mut i32)
tests/miri-tests/excluded/fail/aliasing/function-calls/return_pointer_aliasing_read.rs:27
Function
mymain
()
tests/miri-tests/pass/imported_main.rs:3
Function
never_returns
()
tests/miri-tests/pass/loop-break-value.rs:6
Method
new
(base_addr: Size, size: Size, bor_tag: BorTag, span: Span)
bsan-rt/src/lib.rs:259
Method
new
(value: MutexGuard<'b, Option<AllocStateImpl>>)
bsan-rt/src/borrow_tracker.rs:79
Method
new
()
bsan-rt/src/global.rs:109
Method
new
(f_continue: NodeContinue, f_propagate: NodeApp)
bsan-rt/src/tree_borrows/tree_visitor.rs:180
Method
new
Information for a new node. By default it has no name and an empty history.
bsan-rt/src/tree_borrows/diagnostics.rs:199
Method
new
(info: RetagInfo<'_>)
bsan-rt/src/tree_borrows/mod.rs:41
Method
new
Create a new tree, with only a root pointer.
bsan-rt/src/tree_borrows/tree.rs:347
Method
new
Creates a new `RefCount` initialized to 0. A freshly minted tag has no references yet: it is reachable only as a root (live on a shadow stack) until
bsan-rt/src/tree_borrows/refcount.rs:27
Method
new
(size: Size, init: T)
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:30
Method
new
()
bsan-rt/src/tree_borrows/data_structures/range_object_map.rs:37
Method
new
()
bsan-rt/src/memory/heap.rs:45
Method
new
( inner: Box<dyn StatusEmitter>, failed: Arc<AtomicUsize>, aborted: Arc<AtomicUsize>,
tests/fix_utils.rs:33
Method
new
(delay: usize)
tests/miri-tests/pass/future-self-referential.rs:16
Method
new
(f: F)
tests/miri-tests/pass/dyn-upcast.rs:455
Method
new
()
tests/miri-tests/pass/align_repeat_into_well_aligned_array.rs:29
Method
new
()
tests/miri-tests/pass/box-custom-alloc-aliasing.rs:60
Method
new
()
tests/miri-tests/pass/both_borrows/smallvec.rs:20
Method
new
(subr: BuiltIn)
tests/miri-tests/pass/issues/issue-91636.rs:11
Method
new
(u: U, v: V)
tests/miri-tests/pass/issues/issue-miri-133.rs:12
Method
new
(args: I, name: &'a str)
cargo-bsan/src/arg.rs:24
Method
new
(rustc_version: &VersionMeta, host_sysroot: &Sysroot)
cargo-bsan/src/llvm.rs:30
Method
new
( quiet: bool, skip: bool, toolchain_dir: Option<PathBuf>, install_from: Optio
bsan-script/src/env.rs:112
Method
newBorrowTag
bsan-pass/BorrowSanitizer.cpp:1534
Method
new_accessed
Constructs a new initial state. It has not yet been subjected to any foreign access. However, it is already marked as having been accessed. `sifa` is
bsan-rt/src/tree_borrows/tree.rs:86
Method
new_cell
Default initial permission of a shared reference to interior mutable data.
bsan-rt/src/tree_borrows/perms.rs:335
Method
new_disabled
Default initial permission of the root of a new tree at out-of-bounds positions. Must *only* be used for the root, this is not in general an "initial
bsan-rt/src/tree_borrows/perms.rs:330
Method
new_frozen
Default initial permission of a reborrowed shared reference.
bsan-rt/src/tree_borrows/perms.rs:324
Method
new_inline
(inline: MaybeUninit<[T; N]>)
tests/miri-tests/pass/both_borrows/smallvec.rs:24
Method
new_non_accessed
Constructs a new initial state. It has neither been accessed, nor been subjected to any foreign access yet. The permission is not allowed to be `Uniqu
bsan-rt/src/tree_borrows/tree.rs:78
Method
new_reserved_frz
Default initial permission of a reborrowed mutable reference that is either protected or not interior mutable.
bsan-rt/src/tree_borrows/perms.rs:314
Method
new_reserved_im
Default initial permission of an unprotected interior mutable reference.
bsan-rt/src/tree_borrows/perms.rs:319
Function
new_starts_at_zero
()
bsan-rt/src/tree_borrows/refcount.rs:113
Method
new_unique
Default initial permission of the root of a new tree at inbounds positions. Must *only* be used for the root, this is not in general an "initial" perm
bsan-rt/src/tree_borrows/perms.rs:308
Function
no_overlapping_inserts
()
bsan-rt/src/tree_borrows/data_structures/range_object_map.rs:165
Function
nop
()
tests/test-cargo-bsan/src/main.rs:15
Function
not_so_innocent
(x: &mut u32)
tests/miri-tests/pass/both_borrows/int-to-ptr.rs:20
Method
omnivalid
()
bsan-rt/src/lib.rs:177
Method
omnivalid
bsan-pass/BorrowSanitizer.cpp:695
Function
one_line_ref
()
tests/miri-tests/pass/pointers.rs:9
Function
operator delete
bsan-rt/llvm-wrapper/bsan_new_delete.cpp:69
Function
operator delete[]
bsan-rt/llvm-wrapper/bsan_new_delete.cpp:71
Function
operator new
bsan-rt/llvm-wrapper/bsan_new_delete.cpp:37
Function
operator new[]
bsan-rt/llvm-wrapper/bsan_new_delete.cpp:39
Method
operator!=
bsan-pass/BorrowSanitizer.cpp:626
Method
operator==
bsan-pass/BorrowSanitizer.cpp:622
Method
opt
(env: &mut BsanEnv, args: &[String])
bsan-script/src/commands.rs:127
Function
option_box_deref
@run:0 miri: @revisions: stack tree miri: @[tree]compile-flags: -Zmiri-tree-borrows This tests that the size of Option<Box<i32>> is the same as *const
tests/miri-tests/pass/option_box_transmute_ptr.rs:5
Function
out_of_range_iter
()
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:330
Function
out_of_range_iter_mut
()
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:323
Function
pair
()
tests/miri-tests/pass/products.rs:20
Function
panic
(info: &PanicInfo<'_>)
bsan-rt/src/lib.rs:625
Method
partial_cmp
PermissionPriv is ordered by the reflexive transitive closure of `Reserved(conflicted=false) < Reserved(conflicted=true) < Unique < Frozen < Disabled`
bsan-rt/src/tree_borrows/perms.rs:101
Function
partial_init
(x: u32)
tests/miri-tests/pass/async-fn.rs:44
Method
patchShadowPHINodes
bsan-pass/BorrowSanitizer.cpp:1521
Function
perfectly_overlapping
()
bsan-rt/src/tree_borrows/data_structures/range_object_map.rs:207
Function
permission_sifa_is_correct
()
bsan-rt/src/tree_borrows/perms.rs:776
Function
permissionpriv_partialord_is_reachability
Check that all transitions are consistent with the order on PermissionPriv, i.e. Reserved -> Unique -> Frozen -> Disabled
bsan-rt/src/tree_borrows/perms.rs:804
Method
popFrame
bsan-pass/BorrowSanitizer.cpp:2222
Method
print
( main_root: &Option<DisplayRepr>, wildcard_subtrees: &[DisplayRepr], fmt: &DisplayFmt
bsan-rt/src/tree_borrows/diagnostics.rs:698
Method
print_aux
Here is the function that does the heavy lifting
bsan-rt/src/tree_borrows/diagnostics.rs:794
Function
protected_enforces_noalias
Ensure that of 2 accesses happen, one foreign and one a child, and we are protected, that we get UB unless they are both reads.
bsan-rt/src/tree_borrows/tree/tests.rs:151
Method
ptrToIntPtrType
bsan-pass/BorrowSanitizer.cpp:1158
Method
ptr_wrapper
(self: Ptr<Wrapper<Self>>)
tests/miri-tests/pass/dyn-arbitrary-self.rs:106
Method
qux
()
tests/miri-tests/pass/function_calls/exported_symbol.rs:23
Method
read_file
Read entire file into a String
bsan-rt/src/sanitizer_common.rs:75
Method
register_test
(&self, name: PathBuf)
tests/fix_utils.rs:45
Method
relative_to
(&self, start: Size)
bsan-rt/src/helpers.rs:107
Method
release
(release: bool)
bsan-script/src/env.rs:48
Function
release_acquire_publishes_writes
()
bsan-rt/src/tree_borrows/refcount.rs:230
Method
remove_unreachable_tags
(&mut self, live_tags: &FxHashSet<BorTag>)
bsan-rt/src/tree_borrows/tree.rs:1207
Function
require_positive_mean
Abort if a benchmark reported a non-positive mean execution time.
bsan-script/etc/bench.py:287
Function
reserved_aliased_protected_indistinguishable
`Reserved { conflicted: false }` and `Reserved { conflicted: true }` are properly indistinguishable under the conditions where we want to insert a spu
bsan-rt/src/tree_borrows/tree/tests.rs:612
Method
rest
(&mut self, path: &'r str)
tests/miri-tests/pass/issues/issue-73223.rs:15
Method
retainIf
bsan-rt/llvm-wrapper/bsan_set.h:90
Function
return_false
()
tests/miri-tests/pass/sums.rs:21
Function
return_none
()
tests/miri-tests/pass/sums.rs:25
Function
return_some
()
tests/miri-tests/pass/sums.rs:29
Function
return_true
()
tests/miri-tests/pass/sums.rs:17
Function
return_unit
()
tests/miri-tests/pass/sums.rs:7
Method
revision
(&self)
tests/fix_utils.rs:109
Function
rounding
()
bsan-rt/src/memory/mod.rs:177
Method
rt_include
(runtime: &Path)
cargo-bsan/src/setup.rs:150
Function
run
(x: bool, y: bool)
tests/miri-tests/pass/coroutine.rs:295
Method
run
bsan-pass/BorrowSanitizer.cpp:1096
Function
safe
(x: &i32, y: &mut i32)
tests/miri-tests/fail/aliasing/both_borrows/aliasing_mut2.rs:6
← previous
next →
1,901–2,000 of 2,093, ranked by callers