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
safe
(x: &mut i32, y: &mut i32)
tests/miri-tests/fail/aliasing/both_borrows/aliasing_mut1.rs:6
Function
safe
Make sure &mut UnsafeCell also is exclusive
tests/miri-tests/fail/aliasing/both_borrows/aliasing_mut4.rs:9
Function
safe
(x: &mut i32, y: &i32)
tests/miri-tests/fail/aliasing/both_borrows/aliasing_mut3.rs:6
Method
say_hello
(&self, _: &usize)
tests/miri-tests/pass/dyn-upcast.rs:525
Function
sbb
(b_in: u8, a: u32, b: u32)
tests/miri-tests/pass/shims/x86/intrinsics-x86.rs:15
Method
setProvenance
bsan-pass/BorrowSanitizer.cpp:1355
Method
setup
(version: &VersionMeta, host_sysroot: &Sysroot)
cargo-bsan/src/setup.rs:67
Method
setup
(env: &mut BsanEnv)
bsan-script/src/commands.rs:67
Method
shadow_stack_bottom
Returns the bottom of the "shadow" stack associated with this thread.
bsan-rt/llvm-wrapper/bsan_thread.h:45
Method
shadow_stack_cursor
Returns the current value of this thread's shadow stack pointer.
bsan-rt/llvm-wrapper/bsan_thread.h:62
Method
shadow_stack_top
Returns the top of the "shadow" stack associated with this thread.
bsan-rt/llvm-wrapper/bsan_thread.h:48
Method
short_name
Abbreviated name of the permission (uniformly 3 letters for nice alignment).
bsan-rt/src/tree_borrows/perms.rs:501
Method
shouldClearProvenance
bsan-pass/BorrowSanitizer.cpp:1999
Function
show_error_
(msg: &impl std::fmt::Display)
cargo-bsan/src/util.rs:39
Function
show_error_
(msg: &impl std::fmt::Display)
bsan-script/src/utils.rs:14
Function
show_error_cmd_
(cmd: Command, msg: &impl std::fmt::Display)
cargo-bsan/src/util.rs:34
Function
signed
()
tests/miri-tests/pass/c_enums.rs:19
Function
simple
@run:0
tests/miri-tests/pass/closures.rs:2
Function
simple_array_coercion
(x: &[u8; 3])
tests/miri-tests/pass/coercions.rs:14
Function
slice_index
()
tests/miri-tests/pass/arrays.rs:32
Function
specialization
()
tests/miri-tests/pass/specialization.rs:21
Method
splat
(x: T)
tests/miri-tests/excluded/pass/intrinsics/portable-simd.rs:52
Function
square
(a: u32)
tests/miri-tests/pass/coercions.rs:18
Function
stack_size
()
bsan-rt/src/memory/mod.rs:167
Method
stats
(env: &mut BsanEnv)
bsan-script/src/commands.rs:174
Method
sticky
A global or stack allocation, which cannot be manually freed
bsan-rt/src/lib.rs:114
Method
storeProvenance
bsan-pass/BorrowSanitizer.cpp:1359
Method
storeProvenanceAlignedPairwise
Stores a provenance value into shadow memory pairwise at the specified addresses. Each address must be aligned to the word size.
bsan-pass/BorrowSanitizer.cpp:1421
Method
storeProvenanceToShadow
Stores a provenance value into shadow memory, starting at the given object address. The alignment provided is used to determine whether the shadow add
bsan-pass/BorrowSanitizer.cpp:1376
Method
storeProvenanceWithReferenceCount
bsan-pass/BorrowSanitizer.cpp:1403
Function
straddling
()
bsan-rt/src/tree_borrows/data_structures/range_object_map.rs:233
Function
strongest_allowed_local_access
()
bsan-rt/src/tree_borrows/perms.rs:851
Method
subrange
(self, subrange: AllocRange)
bsan-rt/src/helpers.rs:99
Method
summarize
(&self)
bsan-rt/src/lib.rs:269
Method
summary
Readable explanation of the consequences of an event. Fits in the sentence "This transition corresponds to {trans.summary()}".
bsan-rt/src/tree_borrows/perms.rs:520
Method
symbolize
(span: Span)
bsan-rt/src/sanitizer_common.rs:55
Function
test
()
tests/miri-tests/pass/rc.rs:49
Method
test
(&self, _env: &mut BsanEnv, _args: &[String])
bsan-script/src/commands.rs:351
Method
test
(&self, crate_dir: impl AsRef<OsStr>, args: &[String])
bsan-script/src/env.rs:351
Function
test_abi_newtype
Ensure that `T` is compatible with various repr(transparent) wrappers around `T`.
tests/miri-tests/pass/function_calls/abi_compat.rs:57
Function
test_all_patterns
For each of the patterns described above, execute it once as-is, and once with a spurious read inserted. Report any UB in the target but not in the so
bsan-rt/src/tree_borrows/tree/tests.rs:719
Function
test_async_drop
(x: T)
tests/miri-tests/pass/async-drop.rs:20
Function
test_order
()
bsan-rt/src/tree_borrows/foreign_access_skipping.rs:107
Function
test_sizes
()
bsan-rt/src/tree_borrows/data_structures/unimap.rs:381
Method
to_bar
(&self)
tests/miri-tests/pass/dst-struct.rs:47
Method
to_bar
(&self)
tests/miri-tests/pass/dst-struct-sole.rs:32
Function
to_vec
Query the map at every offset in the range and collect the results.
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:251
Function
tracked_unit
(_: ())
tests/miri-tests/should-pass/performance/track-caller-attribute.rs:77
Function
tree_compacting_is_sound
()
bsan-rt/src/tree_borrows/tree/tests.rs:101
Function
tuple
@run:0
tests/miri-tests/pass/products.rs:2
Function
tuple_2
()
tests/miri-tests/pass/products.rs:6
Function
tuple_5
()
tests/miri-tests/pass/products.rs:10
Function
tuple_ref_mut
()
tests/miri-tests/pass/pointers.rs:33
Function
two_nones
()
tests/miri-tests/pass/sums.rs:49
Method
ui
( env: &mut BsanEnv, bless: bool, keep_sysroot: bool, allow_unsafe_deps: bool,
bsan-script/src/commands.rs:83
Function
unsafe_match
()
tests/miri-tests/pass/c_enums.rs:24
Function
use_zst
()
tests/miri-tests/pass/zst.rs:10
Method
v
(&self)
tests/miri-tests/pass/dyn-upcast.rs:137
Method
value
(&self)
tests/miri-tests/pass/issues/issue-miri-3473.rs:14
Method
visitAddrSpaceCastInst
bsan-pass/BorrowSanitizer.cpp:2105
Method
visitAsmInstruction
bsan-pass/BorrowSanitizer.cpp:1817
Method
visitBitCastInst
bsan-pass/BorrowSanitizer.cpp:2113
Method
visitCallBase
bsan-pass/BorrowSanitizer.cpp:1600
Method
visitExtractValueInst
bsan-pass/BorrowSanitizer.cpp:2150
Method
visitGetElementPtrInst
bsan-pass/BorrowSanitizer.cpp:2086
Method
visitInsertValueInst
bsan-pass/BorrowSanitizer.cpp:2173
Method
visitIntToPtrInst
bsan-pass/BorrowSanitizer.cpp:2101
Method
visitIntrinsicInst
bsan-pass/BorrowSanitizer.cpp:1885
Method
visitLoadInst
bsan-pass/BorrowSanitizer.cpp:1974
Method
visitMemCpyInst
bsan-pass/BorrowSanitizer.cpp:1953
Method
visitMemMoveInst
bsan-pass/BorrowSanitizer.cpp:1944
Method
visitMemSetInst
bsan-pass/BorrowSanitizer.cpp:1935
Method
visitPHINode
bsan-pass/BorrowSanitizer.cpp:1872
Method
visitPtrToIntInst
bsan-pass/BorrowSanitizer.cpp:2094
Method
visitResumeInst
bsan-pass/BorrowSanitizer.cpp:2277
Method
visitReturnInst
bsan-pass/BorrowSanitizer.cpp:2268
Method
visitSelectInst
bsan-pass/BorrowSanitizer.cpp:2195
Method
visitStoreInst
bsan-pass/BorrowSanitizer.cpp:2001
Method
w
(&self)
tests/miri-tests/pass/dyn-upcast.rs:44
Method
w
(&self)
tests/miri-tests/pass/dyn-upcast.rs:127
Method
wake
(self: Arc<Self>)
tests/miri-tests/pass/async-niche-aliasing.rs:47
Method
wildcard
Represents any valid allocation
bsan-rt/src/lib.rs:104
Method
wildcard
bsan-pass/BorrowSanitizer.cpp:704
Method
with_count
(n: usize)
bsan-rt/src/tree_borrows/refcount.rs:88
Function
with_count_sets_initial_value
()
bsan-rt/src/tree_borrows/refcount.rs:121
Method
would_block
(&self)
tests/miri-tests/pass/concurrency/sync_singlethread.rs:44
Method
wrapper_ptr
(self: Wrapper<Ptr<Self>>)
tests/miri-tests/pass/dyn-arbitrary-self.rs:109
Method
wrapper_ptr_wrapper
(self: Wrapper<Ptr<Wrapper<Self>>>)
tests/miri-tests/pass/dyn-arbitrary-self.rs:112
Method
y
(&self)
tests/miri-tests/pass/dyn-upcast.rs:34
Method
z
(&self)
tests/miri-tests/pass/dyn-upcast.rs:30
Function
zst_ret
()
tests/miri-tests/pass/zst.rs:6
Method
~InterceptorBarrier
bsan-rt/llvm-wrapper/bsan.h:74
Method
~ScopedStopTheWorldLock
bsan-rt/llvm-wrapper/bsan_global.h:118
← previous
2,001–2,093 of 2,093, ranked by callers