MCPcopy Create free account

hub / github.com/BorrowSanitizer/bsan / functions

Functions2,093 in github.com/BorrowSanitizer/bsan

↓ 1 callersFunctionunknown_code
(x: &i32)
tests/miri-tests/fail/aliasing/both_borrows/shr_frozen_violation1.rs:17
↓ 1 callersFunctionunknown_code_1
(x: &i32)
tests/miri-tests/fail/aliasing/both_borrows/mut_exclusive_violation1.rs:23
↓ 1 callersFunctionunknown_code_1
(x: &i32)
tests/miri-tests/fail/aliasing/both_borrows/box_exclusive_violation1.rs:23
↓ 1 callersFunctionunknown_code_2
()
tests/miri-tests/fail/aliasing/both_borrows/mut_exclusive_violation1.rs:29
↓ 1 callersFunctionunknown_code_2
()
tests/miri-tests/fail/aliasing/both_borrows/box_exclusive_violation1.rs:29
↓ 1 callersFunctionunpack
(tarball: &Path, dst: &Path, pattern: &str)
bsan-script/src/utils.rs:265
↓ 1 callersFunctionunreachable
(_: Never)
tests/miri-tests/pass/async-fn.rs:64
↓ 1 callersFunctionunsafe_cell_2phase
Two-phase borrows of the pointer returned by UnsafeCell::get() should not invalidate aliases.
tests/miri-tests/pass/both_borrows/interior_mutability.rs:74
↓ 1 callersFunctionunsafe_cell_deallocate
Make sure we can deallocate an UnsafeCell that was passed to an active fn call. (This is the fix for https://github.com/rust-lang/rust/issues/55005.)
tests/miri-tests/pass/both_borrows/interior_mutability.rs:85
↓ 1 callersFunctionunsafe_cell_get
(x: &UnsafeCell<T>)
tests/miri-tests/pass/stacked_borrows/interior_mut2.rs:7
↓ 1 callersFunctionunsafe_cell_invalidate
As a side-effect of the above, we also allow this -- at least for now.
tests/miri-tests/pass/both_borrows/interior_mutability.rs:96
↓ 1 callersMethodunsize
(&self)
tests/miri-tests/pass/issues/issue-3200-packed-field-offset.rs:18
↓ 1 callersMethodunsize
(&self)
tests/miri-tests/pass/issues/issue-3200-packed2-field-offset.rs:21
↓ 1 callersFunctionunsized_field_projection
()
tests/miri-tests/pass/unsized.rs:23
↓ 1 callersFunctionunsized_params
()
tests/miri-tests/pass/unsized.rs:7
↓ 1 callersMethodupdate_exposure_for_protector_release
(&mut self, tag: BorTag)
bsan-rt/src/tree_borrows/wildcard.rs:225
↓ 1 callersMethodupdate_idempotent_foreign_access_after_retag
Restores the SIFA "children are stronger"/"parents are weaker" invariant after a retag: reduce the SIFA of `current` and its parents to be no stronger
bsan-rt/src/tree_borrows/tree.rs:398
↓ 1 callersFunctionuwu
(thin: *const (), meta: &'static ())
tests/miri-tests/pass/issues/issue-miri-2123.rs:10
↓ 1 callersFunctionv2
(t: T, a: A)
tests/miri-tests/pass/box-custom-alloc-aliasing.rs:108
↓ 1 callersMethodvalue
(self, is_zst: bool)
tests/miri-tests/pass/both_borrows/smallvec.rs:56
↓ 1 callersFunctionvariadic
(mut ap: ...)
tests/miri-tests/should-pass/c-variadic-ignored-argument.rs:16
↓ 1 callersFunctionvariadic1
(ap1: ...)
tests/miri-tests/should-pass/c-variadic.rs:58
↓ 1 callersFunctionvariadic2
(ap1: VaList, ap2: ...)
tests/miri-tests/should-pass/c-variadic.rs:54
↓ 1 callersFunctionvarious_types
()
tests/miri-tests/should-pass/c-variadic.rs:70
↓ 1 callersFunctionvolatile_write_zeroize_mem
# Safety `ptr` must be valid for writes of `len` bytes
tests/miri-tests/pass/issues/issue-miri-1909.rs:11
↓ 1 callersFunctionvtable
This shows that we cannot store the promised alignment info in `AllocExtra`, since vtables do not have an `AllocExtra`.
tests/miri-tests/pass/align_offset_symbolic.rs:111
↓ 1 callersFunctionvtable_nop_cast
()
tests/miri-tests/pass/dyn-upcast.rs:16
↓ 1 callersMethodwasUsed
bsan-pass/BorrowSanitizer.cpp:906
↓ 1 callersFunctionweak_from_raw
Taken from the `Weak::from_raw` doctest.
tests/miri-tests/pass/rc.rs:100
↓ 1 callersFunctionweak_into_raw
Taken from the `Weak::into_raw` doctest.
tests/miri-tests/pass/rc.rs:84
↓ 1 callersFunctionwide_ptr_ops
()
tests/miri-tests/pass/pointers.rs:59
↓ 1 callersFunctionwide_raw_ptr_in_tuple
()
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:208
↓ 1 callersFunctionwith_protector
zero-sized protectors do not affect deallocation
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:311
↓ 1 callersMethodwith_snapshot
(&self, alloc_id: AllocId, f: F)
bsan-rt/src/global.rs:212
↓ 1 callersMethodwithin_range
(&self, size: Size)
bsan-rt/src/helpers.rs:115
↓ 1 callersFunctionwrite_does_not_invalidate_all_aliases
()
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:239
↓ 1 callersFunctionwrite_second
(_x: &mut u8, y: &mut u8)
tests/miri-tests/pass/tree_borrows/tree-borrows.rs:67
↓ 1 callersFunctionwrite_through_shared_ref
()
tests/miri-tests/pass/both_borrows/maybe_dangling.rs:44
↓ 1 callersFunctionwrite_through_shr
(x: MaybeDangling<&i32>)
tests/miri-tests/pass/both_borrows/maybe_dangling.rs:54
↓ 1 callersFunctionwrite_to_mut
When this method is called, the tree will be a single line and look like this, with other_ptr being the root at the top other_ptr = root : Unique inte
tests/miri-tests/fail/aliasing/tree_borrows/subtree_traversal_skipping_diagnostics.rs:12
↓ 1 callersFunctionyeet_principal
(x: Box<dyn Any + Send>)
tests/miri-tests/pass/dyn-upcast.rs:440
↓ 1 callersFunctionyeet_principal_2
(x: Box<dyn Bar>)
tests/miri-tests/pass/dyn-upcast.rs:448
↓ 1 callersFunctionzero_length_read_with_data
()
tests/fail-dep/mirilli/flate2.rs:13
↓ 1 callersFunctionzero_sized_push
()
tests/miri-tests/pass/binary-heap.rs:4
↓ 1 callersFunctionzst
ZST reborrows on various kinds of dangling pointers are valid.
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:294
↓ 1 callersFunctionzst_deref_of_dangling
()
tests/miri-tests/pass/intptrcast.rs:96
↓ 1 callersMethod~ConcreteProvenanceSet
bsan-rt/llvm-wrapper/bsan_set.cpp:93
FunctionBSanAtExitWrapper
bsan-rt/llvm-wrapper/bsan_interceptors.cpp:299
FunctionBSanCxaAtExitWrapper
bsan-rt/llvm-wrapper/bsan_interceptors.cpp:315
MethodBorrowSanitizer
bsan-pass/BorrowSanitizer.cpp:190
MethodBorrowSanitizerOptions
bsan-pass/BorrowSanitizerPass.h:10
MethodBorrowSanitizerPass
bsan-pass/BorrowSanitizerPass.h:14
MethodBorrowSanitizerVisitor
bsan-pass/BorrowSanitizer.cpp:1092
MethodBsanThreadLocalMallocStorage
These objects are allocated via mmap() and are zero-initialized.
bsan-rt/llvm-wrapper/bsan_allocator.h:15
FunctionCallerIsInstrumented
bsan-rt/llvm-wrapper/bsan.cpp:147
MethodCollectGarbage
bsan-rt/llvm-wrapper/bsan_global.cpp:71
MethodCollectProvenance
bsan-rt/llvm-wrapper/bsan_global.cpp:14
MethodCommitBack
bsan-rt/llvm-wrapper/bsan_allocator.cpp:73
MethodConcreteProvenanceSet
bsan-rt/llvm-wrapper/bsan_set.h:67
FunctionCopyAligned
bsan-rt/llvm-wrapper/bsan_shadow.cpp:225
MethodCreate
bsan-rt/llvm-wrapper/bsan_thread.cpp:10
FunctionDestroyTSD
bsan-rt/llvm-wrapper/bsan_linux.cpp:23
FunctionForEachThread
bsan-rt/llvm-wrapper/bsan_thread.h:162
FunctionGetStackTraceLen
Returns the desired length for the current stack trace. We add '1' to skip printing our runtime symbols in traces.
bsan-rt/llvm-wrapper/bsan.cpp:96
FunctionINTERCEPTOR
bsan-rt/llvm-wrapper/bsan_interceptors.cpp:56
MethodInitializeAllocator
bsan-rt/llvm-wrapper/bsan_allocator.cpp:53
MethodInterceptorBarrier
bsan-rt/llvm-wrapper/bsan.h:73
MethodIsMainThread
Every thread, including the main thread, has an associated state. The main thread does not have a start_routine.
bsan-rt/llvm-wrapper/bsan_thread.h:36
MethodLockAllocator
bsan-rt/llvm-wrapper/bsan_allocator.cpp:63
MethodMergeZeroCounts
bsan-rt/llvm-wrapper/bsan_global.cpp:26
FunctionMoveAligned
bsan-rt/llvm-wrapper/bsan_shadow.cpp:217
MethodNextNodeIRBuilder
bsan-pass/BorrowSanitizer.cpp:1032
FunctionOnExit
bsan-rt/llvm-wrapper/bsan_interceptors.cpp:29
MethodOnMap
bsan-rt/llvm-wrapper/bsan_allocator.cpp:21
MethodOnMapSecondary
bsan-rt/llvm-wrapper/bsan_allocator.cpp:22
MethodOnUnmap
bsan-rt/llvm-wrapper/bsan_allocator.cpp:26
FunctionPrintStackTrace
Prints a stack trace, using Rust's formatting.
bsan-rt/llvm-wrapper/bsan.cpp:119
MethodProvenance
bsan-pass/BorrowSanitizer.cpp:618
MethodProvenanceDesc
bsan-pass/BorrowSanitizer.cpp:169
MethodProvenanceKey
bsan-pass/BorrowSanitizer.cpp:638
MethodReleaseProvenance
Removes a provenance value from this thread's zero count table after its reference count is revived (a zero-to-one transition). If the value was recor
bsan-rt/llvm-wrapper/bsan_thread.h:94
MethodRetagInfo
bsan-pass/Retag.h:19
FunctionSANITIZER_ACQUIRE
bsan-rt/llvm-wrapper/bsan_thread.h:157
FunctionSANITIZER_INTERFACE_WEAK_DEF
bsan-rt/llvm-wrapper/bsan_flags.cpp:128
FunctionSANITIZER_RELEASE
bsan-rt/llvm-wrapper/bsan_thread.h:158
MethodScopedStopTheWorldLock
bsan-rt/llvm-wrapper/bsan_global.h:107
MethodShadowStackAllocator
bsan-pass/BorrowSanitizer.cpp:902
MethodSlotAllocator
bsan-pass/BorrowSanitizer.cpp:746
MethodSnapshot
bsan-rt/llvm-wrapper/bsan_global.h:13
MethodSnapshotCallback
bsan-rt/llvm-wrapper/bsan_global.cpp:59
MethodStartCallback
bsan-rt/llvm-wrapper/bsan_thread.cpp:49
MethodUnlockAllocator
bsan-rt/llvm-wrapper/bsan_allocator.cpp:65
MethodUnwindImpl
bsan-rt/llvm-wrapper/bsan.cpp:168
MethodUseImpl
bsan-rt/llvm-wrapper/bsan_interceptors.cpp:39
Function__bsan_abort
bsan-rt/llvm-wrapper/bsan.cpp:568
Function__bsan_alloc_stack
bsan-rt/llvm-wrapper/bsan.cpp:461
Function__bsan_dealloc
( ptr: *mut c_void, bor_tag: BorTag, alloc_info: *mut AllocInfo, pc: Span, )
bsan-rt/src/lib.rs:449
Function__bsan_dealloc_stack
bsan-rt/llvm-wrapper/bsan.cpp:475
Function__bsan_debug_print_borrow_state
bsan-rt/llvm-wrapper/bsan.cpp:530
Function__bsan_debug_print_diff
bsan-rt/llvm-wrapper/bsan.cpp:557
← previousnext →1,001–1,100 of 2,093, ranked by callers