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
__bsan_debug_snapshot
bsan-rt/llvm-wrapper/bsan.cpp:548
Function
__bsan_debug_tree_size
bsan-rt/llvm-wrapper/bsan.cpp:539
Function
__bsan_destroy_stack_slot
bsan-rt/llvm-wrapper/bsan.cpp:430
Function
__bsan_expose_prov
bsan-rt/llvm-wrapper/bsan.cpp:488
Function
__bsan_init
bsan-rt/llvm-wrapper/bsan.cpp:195
Function
__bsan_internal_deinit
()
bsan-rt/src/lib.rs:310
Function
__bsan_internal_init
()
bsan-rt/src/lib.rs:300
Function
__bsan_mark
When we call a possibly uninstrumented function, we store our frame pointer in a thread-local variable, marking the "boundary" between instrumented an
bsan-rt/llvm-wrapper/bsan.cpp:231
Function
__bsan_memcpy
bsan-rt/llvm-wrapper/bsan_interceptors.cpp:286
Function
__bsan_memmove
bsan-rt/llvm-wrapper/bsan_interceptors.cpp:275
Function
__bsan_memset
bsan-rt/llvm-wrapper/bsan_interceptors.cpp:265
Function
__bsan_pop_frame
bsan-rt/llvm-wrapper/bsan.cpp:499
Function
__bsan_print
(bor_tag: BorTag, alloc_info: *mut AllocInfo)
bsan-rt/src/lib.rs:585
Function
__bsan_print_borrow_state
(bor_tag: BorTag, alloc_info: *mut AllocInfo)
bsan-rt/src/lib.rs:591
Function
__bsan_print_diff
(bor_tag: BorTag, alloc_info: *mut AllocInfo)
bsan-rt/src/lib.rs:617
Function
__bsan_read
bsan-rt/llvm-wrapper/bsan.cpp:362
Function
__bsan_request_gc
Asks the global state to run the garbage collector. Any thread may call this; concurrent requests are coalesced into a single collection.
bsan-rt/llvm-wrapper/bsan.cpp:565
Function
__bsan_reserve_stack_slot
bsan-rt/llvm-wrapper/bsan.cpp:418
Function
__bsan_retag
bsan-rt/llvm-wrapper/bsan.cpp:338
Function
__bsan_shadow_clear
bsan-rt/llvm-wrapper/bsan.cpp:412
Function
__bsan_snapshot
(bor_tag: BorTag, alloc_info: *mut AllocInfo)
bsan-rt/src/lib.rs:608
Function
__bsan_tree_size
(bor_tag: BorTag, alloc_info: *mut AllocInfo)
bsan-rt/src/lib.rs:600
Function
__bsan_validate_params
Clears the parameter provenance array if the frame pointer of the caller of the current function does not match the boundary marker, indicating that w
bsan-rt/llvm-wrapper/bsan.cpp:244
Function
__bsan_validate_retval
Ensures that the provenance array for the return value is valid. If the boundary marker is null, then we called an instrumented function, so we can tr
bsan-rt/llvm-wrapper/bsan.cpp:264
Function
__bsan_write
bsan-rt/llvm-wrapper/bsan.cpp:377
Function
__sanitizer_get_allocated_size_fast
bsan-rt/llvm-wrapper/bsan_allocator.cpp:307
Function
__sanitizer_get_current_allocated_bytes
bsan-rt/llvm-wrapper/bsan_allocator.cpp:281
Function
__sanitizer_get_estimated_allocated_size
bsan-rt/llvm-wrapper/bsan_allocator.cpp:297
Function
__sanitizer_get_free_bytes
bsan-rt/llvm-wrapper/bsan_allocator.cpp:293
Function
__sanitizer_get_heap_size
bsan-rt/llvm-wrapper/bsan_allocator.cpp:287
Function
__sanitizer_get_ownership
bsan-rt/llvm-wrapper/bsan_allocator.cpp:299
Function
__sanitizer_get_unmapped_bytes
bsan-rt/llvm-wrapper/bsan_allocator.cpp:295
Method
_print_numbers
(&self, mem: &[usize; 100])
tests/miri-tests/pass/dyn-upcast.rs:490
Method
a
(&self)
tests/miri-tests/pass/dyn-upcast.rs:26
Method
a
(&self)
tests/miri-tests/pass/dyn-upcast.rs:56
Method
accessed
Check if the location has been accessed, i.e. if it has ever been accessed through a child pointer.
bsan-rt/src/tree_borrows/tree.rs:92
Function
adc
(c_in: u8, a: u32, b: u32)
tests/miri-tests/pass/shims/x86/intrinsics-x86.rs:9
Function
addAcquireOrdering
bsan-pass/BorrowSanitizer.cpp:50
Function
addReleaseOrdering
bsan-pass/BorrowSanitizer.cpp:67
Function
all_read_accesses_commute
Exhaustive check that for any starting configuration loc, for any two read accesses r1 and r2, if `loc + r1 + r2` is not UB and results in `loc'`, the
bsan-rt/src/tree_borrows/tree/tests.rs:37
Method
all_states_reachable_via_opaque_code
List all sequences of operations that start at `self` and do not cause UB There are no duplicates: all sequences returned lead to distinct final state
bsan-rt/src/tree_borrows/tree/tests.rs:540
Function
all_transitions_idempotent
For any kind of access, if we do it twice the second should be a no-op. Even if the protector has disappeared.
bsan-rt/src/tree_borrows/perms.rs:722
Method
alloc
(&self, layout: Layout)
tests/miri-tests/pass/global_allocator.rs:12
Method
alloc
(&self, layout: Layout)
tests/miri-tests/pass/issues/issue-miri-1909.rs:26
Method
allocStackSlot
bsan-pass/BorrowSanitizer.cpp:1589
Function
alloc_roundtrip
()
bsan-rt/src/memory/heap.rs:215
Method
alloc_zeroed
(&self, layout: Layout)
tests/miri-tests/pass/issues/issue-miri-1909.rs:43
Method
allocate
(&self, layout: Layout)
tests/miri-tests/pass/box-custom-alloc-aliasing.rs:77
Function
allocate_from_page_in_parallel
()
bsan-rt/src/memory/heap.rs:221
Function
array_array
()
tests/miri-tests/pass/arrays.rs:14
Function
array_repeat
()
tests/miri-tests/pass/arrays.rs:28
Method
artifact_dir
(&self)
bsan-script/src/env.rs:346
Function
as_foreign_or_child
(related: AccessRelatedness)
bsan-rt/src/tree_borrows/tree/tests.rs:70
Function
as_lazy_or_accessed
(b: bool)
bsan-rt/src/tree_borrows/tree/tests.rs:86
Function
as_protected
(b: bool)
bsan-rt/src/tree_borrows/tree/tests.rs:78
Method
assertProvenance
bsan-pass/BorrowSanitizer.cpp:1295
Method
assertProvenanceScalar
Will fail with an error if anything other than a scalar provenance value is present. If no provenance has been assigned yet, then return a wildcard pr
bsan-pass/BorrowSanitizer.cpp:1282
Method
b
(&self)
tests/miri-tests/pass/dyn-upcast.rs:40
Method
b
(&self)
tests/miri-tests/pass/dyn-upcast.rs:62
Method
b
(&self)
tests/miri-tests/pass/dyn-upcast.rs:123
Function
baa
(u: u32, f: f32)
tests/miri-tests/pass/closures.rs:100
Function
bar
()
tests/miri-tests/pass/function_calls/exported_symbol.rs:10
Function
bar
()
tests/miri-tests/excluded/pass/function_calls/exported_symbol_weak.rs:16
Method
bar
(&self)
tests/miri-tests/pass/cast-rfc0401-vtable-kinds.rs:15
Function
basic_insert
()
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:260
Function
basic_ref
()
tests/miri-tests/pass/pointers.rs:13
Function
basic_ref_mut
()
tests/miri-tests/pass/pointers.rs:18
Function
basic_ref_mut_var
()
tests/miri-tests/pass/pointers.rs:24
Function
baz
(e: &[u8])
tests/miri-tests/pass/rfc1623.rs:47
Function
baz
()
tests/miri-tests/pass/function_calls/exported_symbol.rs:15
Function
big_array
()
tests/miri-tests/pass/arrays.rs:10
Method
bin
(env: &mut BsanEnv, binary_name: String, flags: &[String])
bsan-script/src/commands.rs:121
Function
boolean
@run:0
tests/miri-tests/pass/bools.rs:2
Function
boundaries
()
bsan-rt/src/tree_borrows/data_structures/range_object_map.rs:179
Function
box_new_with
()
tests/miri-tests/pass/issues/issue-miri-3541-dyn-vtable-trait-normalization.rs:29
Function
boxed_fn_once
(f: Box<dyn FnOnce() -> i32>)
tests/miri-tests/pass/closures.rs:48
Method
bsan_deallocate
bsan-rt/llvm-wrapper/bsan_allocator.cpp:118
Function
bsan_reallocarray
bsan-rt/llvm-wrapper/bsan_allocator.cpp:210
Function
build_aggregate
(a: u32, b: u32, c: u32, d: u32)
tests/miri-tests/pass/async-fn.rs:22
Method
bumpStackSlot
bsan-pass/BorrowSanitizer.cpp:1584
Method
by_arc
(self: Arc<Self>)
tests/miri-tests/pass/dyn-arbitrary-self.rs:40
Method
by_pin_box
(self: Pin<Box<Self>>)
tests/miri-tests/pass/dyn-arbitrary-self.rs:46
Method
by_pin_mut
(self: Pin<&mut Self>)
tests/miri-tests/pass/dyn-arbitrary-self.rs:43
Method
by_rc
(self: Rc<Self>)
tests/miri-tests/pass/dyn-arbitrary-self.rs:37
Method
c
(&self)
tests/miri-tests/pass/dyn-upcast.rs:50
Method
c
(&self)
tests/miri-tests/pass/dyn-upcast.rs:68
Method
c
(&self)
tests/miri-tests/pass/dyn-upcast.rs:133
Function
call
@run:0
tests/miri-tests/pass/calls.rs:2
Function
call_generic
()
tests/miri-tests/pass/calls.rs:16
Method
call_once
(self, (z, zz): (i32, i32))
tests/miri-tests/pass/overloaded-calls-simple.rs:11
Function
callee
(x: S, mut y: S)
tests/miri-tests/excluded/fail/aliasing/function-calls/arg_inplace_locals_alias.rs:33
Function
callee
(x: S)
tests/miri-tests/excluded/fail/aliasing/function-calls/arg_inplace_locals_alias_ret.rs:31
Function
callee
(x: S, ptr: *mut S)
tests/miri-tests/excluded/fail/aliasing/function-calls/arg_inplace_mutate.rs:26
Method
cc
(&self)
bsan-script/src/env.rs:388
Method
cc_cmd
(&self)
bsan-script/src/env.rs:384
Method
cd
(&mut self, dir: &Path, f: F)
bsan-script/src/env.rs:233
Function
change_arg
(mut x: S, ptr: *mut S)
tests/miri-tests/excluded/fail/aliasing/function-calls/arg_inplace_observe_during.rs:28
Function
char_repeat
Repeat a character a number of times.
bsan-rt/src/tree_borrows/diagnostics.rs:631
Method
check
(&self, _env: &mut BsanEnv, _args: &[String])
bsan-script/src/commands.rs:359
Method
check
(&self, crate_dir: impl AsRef<OsStr>, args: &[String])
bsan-script/src/env.rs:323
← previous
next →
1,101–1,200 of 2,093, ranked by callers