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
factorial
(n: u32)
tests/miri-tests/pass/function_calls/tail_call.rs:11
Function
factorial_loop
@run:0
tests/miri-tests/pass/loops.rs:2
Function
factorial_recursive
()
tests/miri-tests/pass/calls.rs:9
Method
failed_test
( &'a self, cmd: &'a str, stderr: &'a [u8], stdout: &'a [u8], )
tests/fix_utils.rs:88
Function
fat_ptr_constant
()
tests/miri-tests/pass/fat_ptr.rs:35
Function
field_access
()
tests/miri-tests/pass/products.rs:24
Method
finalize
( &self, failed: usize, succeeded: usize, ignored: usize, filtered: us
tests/fix_utils.rs:55
Method
find
bsan-rt/llvm-wrapper/bsan_set.h:102
Method
fix
(env: &mut BsanEnv, keep_sysroot: bool)
bsan-script/src/commands.rs:228
Function
flagsplit
(flags: &str)
tests/ui.rs:33
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/lib.rs:54
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/sanitizer_common.rs:39
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/helpers.rs:46
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/tree_borrows/diagnostics.rs:25
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/tree_borrows/tree.rs:257
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/tree_borrows/perms.rs:17
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/tree_borrows/data_structures/unimap.rs:34
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/tree_borrows/tree/tests.rs:236
Method
fmt
(&self, _f: &mut Formatter<'_>)
tests/miri-tests/pass/reentrant-println.rs:10
Method
fmt
(&self, f: &mut Formatter<'_>)
tests/miri-tests/excluded/pass/intrinsics/portable-simd.rs:39
Method
fmt
(env: &mut BsanEnv, check: bool)
bsan-script/src/commands.rs:77
Method
fmt
(&self, check: bool)
bsan-script/src/env.rs:314
Function
fmt_percent
(value: usize, total: usize)
bsan-script/src/stats.rs:45
Function
fn0
Roundtrip a few functions through integers. Do this multiple times to make sure this does not work by chance. If we did not give unique addresses to Z
tests/miri-tests/pass/intptrcast.rs:111
Function
fn1
()
tests/miri-tests/pass/intptrcast.rs:114
Function
fn2
()
tests/miri-tests/pass/intptrcast.rs:117
Function
fn3
()
tests/miri-tests/pass/intptrcast.rs:120
Function
fn4
()
tests/miri-tests/pass/intptrcast.rs:123
Function
fn5
()
tests/miri-tests/pass/intptrcast.rs:126
Function
fn6
()
tests/miri-tests/pass/intptrcast.rs:129
Function
fn7
()
tests/miri-tests/pass/intptrcast.rs:132
Function
fn_once_closure_with_multiple_args
()
tests/miri-tests/pass/closures.rs:37
Function
foo
See if we can run a basic `async fn`
tests/miri-tests/pass/async-fn.rs:7
Function
foo
(v: &[T])
tests/miri-tests/pass/slices.rs:11
Function
foo
(i: &'a i32, f: F)
tests/miri-tests/pass/tuple_like_enum_variant_constructor_struct_pointer_opt.rs:32
Function
foo
()
tests/miri-tests/pass/c_enums.rs:14
Function
foo
()
tests/miri-tests/pass/last-use-in-cap-clause.rs:9
Function
foo
()
tests/miri-tests/pass/constants.rs:4
Function
foo
()
tests/miri-tests/pass/closures.rs:65
Function
foo
(x: &mut (i32, i32))
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:34
Function
foo
()
tests/miri-tests/pass/function_calls/exported_symbol.rs:5
Function
foo
(x: &mut i32)
tests/miri-tests/fail/aliasing/both_borrows/shr_frozen_violation1.rs:7
Function
foo
()
tests/miri-tests/excluded/pass/function_calls/exported_symbol_weak.rs:10
Method
foo
(&self, _: T)
tests/miri-tests/pass/cast-rfc0401-vtable-kinds.rs:8
Method
foo
(self: *const Self)
tests/miri-tests/pass/dyn-arbitrary-self.rs:135
Method
foo_a
(&self)
tests/miri-tests/pass/dyn-upcast.rs:407
Method
foo_c
(&self)
tests/miri-tests/pass/dyn-upcast.rs:419
Function
foo_mut
(v: &mut [T])
tests/miri-tests/pass/slices.rs:19
Method
for_access
# Safety Takes in provenance pointer that is checked via debug_asserts
bsan-rt/src/borrow_tracker.rs:161
Method
for_alloc
(prov: Provenance, f: F)
bsan-rt/src/borrow_tracker.rs:114
Method
for_alloc_weak
(prov: Provenance, f: F)
bsan-rt/src/borrow_tracker.rs:141
Function
for_loop
()
tests/miri-tests/pass/loops.rs:23
Method
for_path
(&self, path: &Path)
tests/fix_utils.rs:79
Method
for_revision
(&self, revision: &str, style: RevisionStyle)
tests/fix_utils.rs:70
Function
foreign_read_is_noop_after_foreign_write
()
bsan-rt/src/tree_borrows/perms.rs:751
Method
from
(value: TreeBorrowsUb)
bsan-rt/src/errors.rs:19
Method
from
(value: NonNull<AllocInfo>)
bsan-rt/src/borrow_tracker.rs:65
Method
from
(tree: &EagerTree, root: UniIndex, show_unnamed: bool)
bsan-rt/src/tree_borrows/diagnostics.rs:647
Method
from_acc_and_rel
Usually, tree traversals have an `AccessKind` and an `AccessRelatedness`. This methods converts these into the corresponding `IdempotentForeignAccess`
bsan-rt/src/tree_borrows/foreign_access_skipping.rs:81
Method
from_addr
Get a Size defined by a number of bytes
bsan-rt/src/helpers.rs:35
Method
from_args
()
cargo-bsan/src/setup.rs:28
Method
from_array
(a: [T; N])
tests/miri-tests/excluded/pass/intrinsics/portable-simd.rs:55
Method
from_bits
(bits: impl TryInto<u64>)
bsan-rt/src/helpers.rs:23
Method
from_bytes
Get a Size defined by a number of bytes
bsan-rt/src/helpers.rs:30
Method
from_env
()
cargo-bsan/src/setup.rs:36
Method
from_env
()
cargo-bsan/src/llvm.rs:65
Method
from_file
(path: &Path)
bsan-script/src/env.rs:98
Method
from_fn
(emplacer_fn: &'b mut EmplacerFn<'a, T>)
tests/miri-tests/pass/issues/issue-miri-3541-dyn-vtable-trait-normalization.rs:20
Method
from_foreign
Constructs a foreign access from an `AccessKind`
bsan-rt/src/tree_borrows/foreign_access_skipping.rs:71
Method
from_pthread
()
bsan-rt/src/memory/mod.rs:47
Method
from_rlimit
()
bsan-rt/src/memory/mod.rs:37
Method
from_str_iter
( args: I, name: &'a str, )
cargo-bsan/src/arg.rs:91
Method
from_string_iter
( args: I, name: &'a str, )
cargo-bsan/src/arg.rs:79
Function
func_a
()
tests/miri-tests/should-pass/performance/backtrace/backtrace-std.rs:8
Function
func_b
()
tests/miri-tests/should-pass/performance/backtrace/backtrace-std.rs:12
Function
func_d
()
tests/miri-tests/should-pass/performance/backtrace/backtrace-std.rs:27
Function
gaps
()
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:282
Method
get
bsan-pass/BorrowSanitizer.cpp:673
Method
getFnEntryTop
bsan-pass/BorrowSanitizer.cpp:947
Method
getGlobalDescription
bsan-pass/BorrowSanitizer.cpp:483
Method
getLayoutArrayLength
bsan-pass/BorrowSanitizer.cpp:1540
Method
getProvenance
Asserts that there is either a provenance value at the given index, or that no provenance values have been loaded for the given value. Does not return
bsan-pass/BorrowSanitizer.cpp:1325
Method
getProvenanceOffset
Computes the offset in terms of provenance components for an index into an aggregate or array value. Used for implementing `extractvalue` and `insertv
bsan-pass/BorrowSanitizer.cpp:2128
Method
getPtrToShadowPtrType
bsan-pass/BorrowSanitizer.cpp:1167
Method
getShadowOriginPtr
bsan-pass/BorrowSanitizer.cpp:1219
Method
getShadowPtrOffset
Returns the integer shadow offset that corresponds to a given application address `Addr`: Offset = (Addr & ~AndMask) ^ XorMask getShadowOriginPtr tu
bsan-pass/BorrowSanitizer.cpp:1200
Method
getStackOffset
bsan-pass/BorrowSanitizer.cpp:1594
Method
get_cached
()
bsan-rt/src/memory/mod.rs:72
Method
get_min_exposed_child
Returns the smallest exposed tag, if any, that is a transitive child of `root`.
bsan-rt/src/tree_borrows/tree.rs:704
Method
get_source_line
Read a specific line from a file
bsan-rt/src/sanitizer_common.rs:95
Method
get_target_dir
()
cargo-bsan/src/util.rs:131
Method
give_pointer_debug_name
Debug helper: assign name to tag.
bsan-rt/src/tree_borrows/diagnostics.rs:242
Function
goodbye
()
tests/miri-tests/pass/dyn-upcast.rs:466
Function
heapable_alloc_info
()
bsan-rt/src/memory/heap.rs:260
Function
hello
()
tests/miri-tests/pass/strings.rs:8
Method
hello
(&self)
tests/miri-tests/pass/box-custom-alloc.rs:37
Function
hello_bytes
()
tests/miri-tests/pass/strings.rs:12
Function
hello_bytes_fat
()
tests/miri-tests/pass/strings.rs:16
Method
host_binary
(&self, binary_name: &str)
bsan-script/src/env.rs:268
Function
id
(x: T)
tests/miri-tests/pass/function_calls/abi_compat.rs:14
← previous
next →
1,301–1,400 of 2,093, ranked by callers