MCPcopy Create free account

hub / github.com/BorrowSanitizer/bsan / functions

Functions2,093 in github.com/BorrowSanitizer/bsan

↓ 2 callersFunctionrun_tests
(env: &mut BsanEnv, config: TestConfig)
bsan-script/src/commands.rs:252
↓ 2 callersFunctionrustc_path
()
cargo-bsan/src/util.rs:207
↓ 2 callersMethodsay_hello
(&self, _: &usize)
tests/miri-tests/pass/dyn-upcast.rs:497
↓ 2 callersFunctionsetup_at_exit_wrapper
bsan-rt/llvm-wrapper/bsan_interceptors.cpp:344
↓ 2 callersMethodshouldInstrumentAlloca
We only instrument allocations that have a non-zero size.
bsan-pass/BorrowSanitizer.cpp:446
↓ 2 callersMethodshouldTrustFunction
bsan-pass/BorrowSanitizer.cpp:426
↓ 2 callersMethodskip_if_known_noop
Tree traversal optimizations. See `foreign_access_skipping.rs`. This checks if such a foreign access can be skipped.
bsan-rt/src/tree_borrows/tree.rs:188
↓ 2 callersMethodsplit_index
Splits the element situated at the given `index`, such that the 2nd one starts at offset `split_offset`. Do nothing if the element already starts ther
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:107
↓ 2 callersMethodstack_bottom
Returns the bottom of the "real" stack associated with this thread.
bsan-rt/llvm-wrapper/bsan_thread.h:42
↓ 2 callersMethodstack_top
Returns the top of the "real" stack associated with this thread.
bsan-rt/llvm-wrapper/bsan_thread.h:39
↓ 2 callersFunctionswitch
(src: u32, tgt: u32)
tests/miri-tests/pass/function_calls/tail_call.rs:24
↓ 2 callersFunctiontake
(h: Handler, f: Box<dyn Fn()>)
tests/miri-tests/pass/issues/issue-30530.rs:22
↓ 2 callersMethodtarget
(config: &EnvConfig)
cargo-bsan/src/util.rs:245
↓ 2 callersFunctiontest
(_x: Option<Box<F>>)
tests/miri-tests/pass/regions-lifetime-nonfree-late-bound.rs:18
↓ 2 callersMethodtest
(&self, env: &mut BsanEnv, args: &[String])
bsan-script/src/commands.rs:514
↓ 2 callersFunctionthread_local_ptr
(key: &'static std::thread::LocalKey<T>)
tests/miri-tests/pass/static_align.rs:56
↓ 2 callersMethodto_relatedness
(self)
bsan-rt/src/tree_borrows/wildcard.rs:46
↓ 2 callersFunctiontracked
()
tests/miri-tests/should-pass/performance/track-caller-attribute.rs:15
↓ 2 callersMethodtraverse_this_parents_children_other
Applies `f_propagate` to every vertex of the tree in a piecewise bottom-up way: First, visit all ancestors of `start_idx` (starting with `start_idx` i
bsan-rt/src/tree_borrows/tree_visitor.rs:224
↓ 2 callersFunctiontwo_phase3
(b: bool)
tests/miri-tests/pass/both_borrows/2phase.rs:21
↓ 2 callersFunctionv1
Make sure to involve `Box` in allocating these, as that's where `noalias` may come from.
tests/miri-tests/pass/box-custom-alloc-aliasing.rs:105
↓ 2 callersFunctionvariadic
(_: ...)
tests/miri-tests/should-pass/c-variadic.rs:7
↓ 2 callersMethodverify_wildcard_consistency
Checks that the wildcard tracking data structure is internally consistent and has the correct `exposed_as` values.
bsan-rt/src/tree_borrows/wildcard.rs:251
↓ 2 callersMethodwait
(&self)
tests/miri-tests/pass/tls/tls_macro_drop.rs:237
↓ 1 callersFunctionAllocationBegin
bsan-rt/llvm-wrapper/bsan_allocator.cpp:162
↓ 1 callersFunctionAllocationSizeFast
bsan-rt/llvm-wrapper/bsan_allocator.cpp:186
↓ 1 callersFunctionBsanAllocateMetaIntoHeap
bsan-rt/llvm-wrapper/bsan_interceptors.cpp:178
↓ 1 callersFunctionBsanCalloc
bsan-rt/llvm-wrapper/bsan_allocator.cpp:152
↓ 1 callersFunctionBsanReallocate
bsan-rt/llvm-wrapper/bsan_allocator.cpp:133
↓ 1 callersFunctionCheckMemoryLayout
TODO: CheckMemoryLayout is based on msan. Consider refactoring these into a shared implementation.
bsan-rt/llvm-wrapper/bsan_shadow.cpp:11
↓ 1 callersMethodDeregisterThread
bsan-rt/llvm-wrapper/bsan_thread.cpp:64
↓ 1 callersMethodDestroy
bsan-rt/llvm-wrapper/bsan_thread.cpp:33
↓ 1 callersFunctionDisplayHelpMessages
bsan-rt/llvm-wrapper/bsan_flags.cpp:38
↓ 1 callersFunctionInitShadowWithReExec
bsan-rt/llvm-wrapper/bsan_shadow.cpp:176
↓ 1 callersFunctionInitializeFlags
bsan-rt/llvm-wrapper/bsan_flags.cpp:93
↓ 1 callersFunctionInitializeInterceptors
bsan-rt/llvm-wrapper/bsan_interceptors.cpp:502
↓ 1 callersFunctionInitializeTSD
bsan-rt/llvm-wrapper/bsan_linux.cpp:37
↓ 1 callersFunctionIsFnEntryRetag
Indicates that this is a call to one of BorrowSanitizer's retag intrinsic functions, and that this represents a function-entry retag, which creates a
bsan-pass/Retag.cpp:17
↓ 1 callersFunctionMaybeRequestGC
Increments the retag counter and asks the global context to run the garbage collector once every `retags_per_gc` retags. Concurrent requests across th
bsan-rt/llvm-wrapper/bsan.cpp:84
↓ 1 callersFunctionMaybeUseBsanDefaultOptionsCompileDefinition
bsan-rt/llvm-wrapper/bsan_flags.cpp:17
↓ 1 callersFunctionMoveShadow
bsan-rt/llvm-wrapper/bsan_shadow.cpp:279
↓ 1 callersFunctionProtectMemoryRange
bsan-rt/llvm-wrapper/bsan_shadow.cpp:59
↓ 1 callersFunctionRegisterBsanFlags
bsan-rt/llvm-wrapper/bsan_flags.cpp:31
↓ 1 callersMethodRegisterThread
bsan-rt/llvm-wrapper/bsan_thread.cpp:57
↓ 1 callersFunctionReportUnavailableMemoryRegions
bsan-rt/llvm-wrapper/bsan_shadow.cpp:151
↓ 1 callersMethodSetDefaults
bsan-rt/llvm-wrapper/bsan_flags.cpp:25
↓ 1 callersMethodStart
bsan-rt/llvm-wrapper/bsan_thread.cpp:42
↓ 1 callersFunctionWriteShadow
bsan-rt/llvm-wrapper/bsan_shadow.cpp:333
↓ 1 callersMethodZctBusy
bsan-rt/llvm-wrapper/bsan_thread.h:100
↓ 1 callersFunction__bsan_alloc_impl
( base_addr: *mut c_void, size: Size, bor_tag: BorTag, pc: Span, )
bsan-rt/src/lib.rs:430
↓ 1 callersFunction__bsan_alloc_stack_impl
( base_addr: *mut c_void, size: Size, bor_tag: BorTag, alloc_info: NonNull<AllocInfo>, pc:
bsan-rt/src/lib.rs:527
↓ 1 callersFunction__bsan_crt_free
bsan-rt/llvm-wrapper/bsan_interceptors.cpp:99
↓ 1 callersFunction__bsan_crt_malloc
bsan-rt/llvm-wrapper/bsan_interceptors.cpp:78
↓ 1 callersFunction__bsan_debug_print
bsan-rt/llvm-wrapper/bsan.cpp:521
↓ 1 callersFunction__bsan_disable_node_debug_info
bsan-rt/llvm-wrapper/bsan_flags.cpp:123
↓ 1 callersFunction__bsan_expose_prov_impl
(bor_tag: BorTag, alloc_info: *mut AllocInfo)
bsan-rt/src/lib.rs:547
↓ 1 callersFunction__bsan_free_buffer
Free the buffer allocated by __bsan_read_file
bsan-rt/llvm-wrapper/bsan.cpp:325
↓ 1 callersFunction__bsan_internal_init
bsan-rt/llvm-wrapper/bsan.cpp:192
↓ 1 callersFunction__bsan_print
bsan-rt/llvm-wrapper/bsan.cpp:518
↓ 1 callersFunction__bsan_print_borrow_state
bsan-rt/llvm-wrapper/bsan.cpp:527
↓ 1 callersFunction__bsan_print_diff
bsan-rt/llvm-wrapper/bsan.cpp:554
↓ 1 callersFunction__bsan_protector_end_impl
(bor_tag: BorTag, alloc_info: *mut AllocInfo, pc: Span)
bsan-rt/src/lib.rs:381
↓ 1 callersFunction__bsan_prune
( alloc_info: NonNull<AllocInfo>, bor_tags: *const BorTag, len: usize, )
bsan-rt/src/lib.rs:557
↓ 1 callersFunction__bsan_rc_dec_impl
( bor_tag: BorTag, alloc_info: *mut AllocInfo, )
bsan-rt/src/lib.rs:498
↓ 1 callersFunction__bsan_rc_inc_impl
( bor_tag: BorTag, alloc_info: *mut AllocInfo, )
bsan-rt/src/lib.rs:480
↓ 1 callersFunction__bsan_read_file
Read the entire file at path into the buffer. Returns the number of bytes read on success, 0 otherwise.
bsan-rt/llvm-wrapper/bsan.cpp:304
↓ 1 callersFunction__bsan_read_impl
( ptr: *mut c_void, access_size: Size, bor_tag: BorTag, alloc_info: *mut AllocInfo, pc: Sp
bsan-rt/src/lib.rs:394
↓ 1 callersFunction__bsan_reserve_stack_slot_impl
()
bsan-rt/src/lib.rs:513
↓ 1 callersFunction__bsan_retag_impl
( ptr: *mut c_void, size: Size, flags: RetagFlags, im_data: Option<NonNull<[Size; 2]>>, im
bsan-rt/src/lib.rs:341
↓ 1 callersFunction__bsan_snapshot
bsan-rt/llvm-wrapper/bsan.cpp:545
↓ 1 callersFunction__bsan_symbolize_pc
Symbolize a single PC into file:line:column, writing the file path into the provided buffer. Returns 1 on success, 0 otherwise.
bsan-rt/llvm-wrapper/bsan.cpp:276
↓ 1 callersFunction__bsan_tree_size
bsan-rt/llvm-wrapper/bsan.cpp:536
↓ 1 callersFunction__bsan_write_impl
( ptr: *mut c_void, access_size: Size, bor_tag: BorTag, alloc_info: *mut AllocInfo, pc: Sp
bsan-rt/src/lib.rs:412
↓ 1 callersFunction__sanitizer_get_allocated_begin
bsan-rt/llvm-wrapper/bsan_allocator.cpp:301
↓ 1 callersFunction__sanitizer_get_allocated_size
bsan-rt/llvm-wrapper/bsan_allocator.cpp:305
↓ 1 callersFunctiona
()
tests/miri-tests/pass/union.rs:9
↓ 1 callersFunctionaccess_after_sub_1
(x: &mut u8, orig_ptr: *mut u8)
tests/miri-tests/fail/aliasing/tree_borrows/repeated_foreign_read_lazy_conflicted.rs:8
↓ 1 callersMethodaccess_relatedness
Returns the relatedness of a wildcard access to a node. This function only considers a single subtree. If the current subtree does not contain any va
bsan-rt/src/tree_borrows/wildcard.rs:87
↓ 1 callersFunctionactive_libdir
Gets the libdir of the active toolchain
bsan-script/src/utils.rs:86
↓ 1 callersMethodadd
(self, other: Size)
bsan-rt/src/helpers.rs:63
↓ 1 callersMethodadd_protector
(&mut self, tag: BorTag, kind: ProtectorKind)
bsan-rt/src/global.rs:31
↓ 1 callersFunctionadvance_with_extra_steps
(src: u32, tgt: u32)
tests/miri-tests/pass/function_calls/tail_call.rs:36
↓ 1 callersFunctionaliasing_frz_and_shr
()
tests/miri-tests/pass/both_borrows/interior_mutability.rs:46
↓ 1 callersFunctionaliasing_mut_and_shr
()
tests/miri-tests/pass/both_borrows/interior_mutability.rs:23
↓ 1 callersFunctionaliasing_read_only_mutable_refs
Tree Borrows has no issue with several mutable references existing at the same time, as long as they are used only immutably. I.e. multiple Reserved c
tests/miri-tests/pass/tree_borrows/tree-borrows.rs:31
↓ 1 callersMethodalloc
(&self, layout: Layout)
bsan-rt/src/global.rs:239
↓ 1 callersMethodalloc
Allocates the requested number of slots, returning the slot count offset.
bsan-pass/BorrowSanitizer.cpp:828
↓ 1 callersMethodallocStackSlot
Allocates one or more shadow stack slots from the requested section.
bsan-pass/BorrowSanitizer.cpp:983
↓ 1 callersMethodallocateFnEntryRegion
bsan-pass/BorrowSanitizer.cpp:910
↓ 1 callersFunctionallocate_reallocate
()
tests/miri-tests/pass/heap.rs:6
↓ 1 callersMethodallows
Weather this access kind is allowed at this level.
bsan-rt/src/tree_borrows/wildcard.rs:25
↓ 1 callersMethodapplied
Extract result of a transition (checks that the starting point matches).
bsan-rt/src/tree_borrows/perms.rs:457
↓ 1 callersFunctionarc
()
tests/miri-tests/pass/rc.rs:48
↓ 1 callersFunctionarray_casts
When casting an array reference to a raw element ptr, that should cover the whole array.
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:187
↓ 1 callersMethodas_mut_ptr_heap
(&mut self)
tests/miri-tests/pass/both_borrows/smallvec.rs:32
↓ 1 callersMethodas_mut_ptr_inline
(&mut self)
tests/miri-tests/pass/both_borrows/smallvec.rs:28
↓ 1 callersFunctionask_to_run
(mut cmd: Command, ask: bool, text: &str)
cargo-bsan/src/util.rs:103
↓ 1 callersFunctionassign_overlapping
()
tests/miri-tests/pass/ptr_raw.rs:27
↓ 1 callersFunctionasync_main
()
tests/miri-tests/pass/async-closure-captures.rs:38
↓ 1 callersFunctionatomic_all_ops
Make sure we can handle all the intrinsics
tests/miri-tests/pass/atomic.rs:42
← previousnext →301–400 of 2,093, ranked by callers