MCPcopy Create free account

hub / github.com/BorrowSanitizer/bsan / functions

Functions2,093 in github.com/BorrowSanitizer/bsan

↓ 2 callersFunction__bsan_dealloc
bsan-rt/llvm-wrapper/bsan.cpp:454
↓ 2 callersFunction__bsan_dealloc_stack_impl
( bor_tag: BorTag, alloc_info: *mut AllocInfo, span: Span, )
bsan-rt/src/lib.rs:463
↓ 2 callersFunction__bsan_destroy_stack_slot_impl
(slot: NonNull<AllocInfo>)
bsan-rt/src/lib.rs:518
↓ 2 callersFunction__bsan_eject
(alloc_info: NonNull<AllocInfo>)
bsan-rt/src/lib.rs:570
↓ 2 callersFunction__bsan_rc_inc
bsan-rt/llvm-wrapper/bsan.cpp:391
↓ 2 callersFunction_build_env
Creates a copy of the current environment, merged with an `env` mapping from `kwargs`.
bsan-script/etc/bench.py:89
↓ 2 callersMethodaccess
( &mut self, global_ctx: &GlobalCtx, access_kind: AccessKind, span: Span,
bsan-rt/src/borrow_tracker.rs:363
↓ 2 callersFunctionactive_sysroot
Gets the sysroot of the active toolchain
bsan-script/src/utils.rs:78
↓ 2 callersFunctionactive_toolchain
Queries the active toolchain for the repository.
bsan-script/src/utils.rs:70
↓ 2 callersFunctionadd
(x: u32, y: u32)
tests/miri-tests/pass/async-fn.rs:17
↓ 2 callersMethodadd_name
Add a name to the tag. If a same tag is associated to several pointers, it can have several names which will be separated by commas.
bsan-rt/src/tree_borrows/diagnostics.rs:206
↓ 2 callersFunctionadvance
(src: u32, tgt: u32)
tests/miri-tests/pass/function_calls/tail_call.rs:32
↓ 2 callersMethodalignRelativeTo
bsan-pass/BorrowSanitizer.cpp:174
↓ 2 callersFunctionas_mut_slice
(self_: &Vec<T>)
tests/miri-tests/fail/aliasing/both_borrows/buggy_as_mut_slice.rs:7
↓ 2 callersMethodassert_artifact
(&self, artifact_name: &str)
bsan-script/src/env.rs:301
↓ 2 callersMethodassociated_access
(&self)
bsan-rt/src/tree_borrows/perms.rs:345
↓ 2 callersMethodbase_addr
# Safety This instance of `AllocInfo` must represent a valid, non-freed allocation. Otherwise, the contents of its base address will be initialized wi
bsan-rt/src/borrow_tracker.rs:36
↓ 2 callersFunctionbox_poll
( mut f: Pin<Box<F>>, cx: &mut Context<'_>, )
tests/miri-tests/pass/future-self-referential.rs:103
↓ 2 callersFunctionbreak_it
(rc: &RefCell<i32>, r: Ref<'_, i32>)
tests/miri-tests/pass/both_borrows/interior_mutability.rs:154
↓ 2 callersFunctionbsan_memalign
bsan-rt/llvm-wrapper/bsan_allocator.cpp:251
↓ 2 callersFunctionbsan_realloc
bsan-rt/llvm-wrapper/bsan_allocator.cpp:200
↓ 2 callersFunctioncall_once
(f: impl AsyncFnOnce(i32))
tests/miri-tests/pass/async-closure.rs:28
↓ 2 callersMethodcan_be_replaced_by_child
During a provenance GC, we want to compact the tree. For this, we want to merge nodes upwards if they have a singleton parent. But we need to be caref
bsan-rt/src/tree_borrows/perms.rs:387
↓ 2 callersMethodcargo_output_dir
(&self)
bsan-script/src/env.rs:70
↓ 2 callersFunctioncheck_align_requests
(allocator: T)
tests/miri-tests/pass/heap_allocator.rs:68
↓ 2 callersFunctioncheck_alloc
(allocator: T)
tests/miri-tests/pass/heap_allocator.rs:8
↓ 2 callersFunctioncheck_for_fix
(mode: Mode)
tests/ui.rs:332
↓ 2 callersFunctioncheck_output
(actual, path, regex, name)
tests/test-cargo-bsan/run_test.py:35
↓ 2 callersFunctioncheck_ref
(x: &())
tests/miri-tests/pass/strange_references.rs:10
↓ 2 callersMethodclippy
(&self, env: &mut BsanEnv, args: &[String])
bsan-script/src/commands.rs:518
↓ 2 callersFunctioncommand_output
(cmd: &mut Command)
cargo-bsan/src/llvm.rs:118
↓ 2 callersMethodcompatible_with_protector
Ensure that the current internal state can exist at the same time as a protector. In practice this only eliminates `ReservedIM` that is never used in
bsan-rt/src/tree_borrows/tree/tests.rs:25
↓ 2 callersMethodcreate_alloc_info
(&self, info: AllocInfo)
bsan-rt/src/global.rs:118
↓ 2 callersMethoddecrement
Decrements the reference count. Returns `true` if the count reached zero.
bsan-rt/src/tree_borrows/refcount.rs:43
↓ 2 callersMethoddecrement_nonatomic
Decrements the reference count **without** atomic synchronization, returning `true` if the count reached zero.
bsan-rt/src/tree_borrows/refcount.rs:70
↓ 2 callersMethoddestroy_alloc_info
(&self, ptr: NonNull<AllocInfo>)
bsan-rt/src/global.rs:122
↓ 2 callersFunctiondo_something
(_: u8)
tests/miri-tests/fail/aliasing/tree_borrows/repeated_foreign_read_lazy_conflicted.rs:6
↓ 2 callersFunctiondrop_in_place_with_terminator
(ptr: *mut i32)
tests/miri-tests/pass/drop_type_without_drop_glue.rs:8
↓ 2 callersFunctiondummy
(_: &str)
tests/miri-tests/pass/issues/issue-91636.rs:17
↓ 2 callersMethodend_protector
Remove the protector. This does not perform the implicit read on function exit because `LocStateProt` does not have enough context to apply its effect
bsan-rt/src/tree_borrows/tree/tests.rs:399
↓ 2 callersMethodensure_init
Forces the tree into the `Init` state, constructing the underlying `Tree` if needed.
bsan-rt/src/tree_borrows/tree.rs:1038
↓ 2 callersMethodensure_no_stronger_than
During retags, the SIFA needs to be weakened to account for children with weaker SIFAs being inserted. Thus, this method is called from the bottom up
bsan-rt/src/tree_borrows/foreign_access_skipping.rs:92
↓ 2 callersFunctionenv_or_host
(key: &str, binary: &str)
cargo-bsan/src/util.rs:201
↓ 2 callersFunctionexample
Ensure that we do not just pick the topmost possible item on int2ptr casts.
tests/miri-tests/pass/both_borrows/int-to-ptr.rs:18
↓ 2 callersFunctionexpect_env
(var: &str)
tests/ui.rs:308
↓ 2 callersFunctionexpect_env
(key: &str)
cargo-bsan/src/util.rs:189
↓ 2 callersMethodextend
Format events from `new_history` into those recorded by `self`.
bsan-rt/src/tree_borrows/diagnostics.rs:136
↓ 2 callersMethodfind_offset
Finds the index containing the given offset.
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:42
↓ 2 callersFunctionfoo
(x: &Cell<i32>)
tests/miri-tests/pass/tree_borrows/cell-lazy-write-to-surrounding.rs:6
↓ 2 callersFunctionfoo
Copied directly from fail/stacked_borrows/pass_invalid_mut.rs Version that fails TB: fail/tree_borrows/pass_invalid_mut.rs
tests/miri-tests/pass/tree_borrows/sb_fails.rs:36
↓ 2 callersMethodformat_symbol_standalone
(&mut self, symbol: Symbol)
bsan-rt/src/errors.rs:88
↓ 2 callersMethodgetFrameHeaderTop
bsan-pass/BorrowSanitizer.cpp:926
↓ 2 callersFunctionget_a_ptr
()
tests/miri-tests/pass/tls/tls_static.rs:28
↓ 2 callersFunctionget_version_info
()
tests/ui.rs:327
↓ 2 callersFunctiongetpid
()
tests/miri-tests/pass/getpid.rs:5
↓ 2 callersMethodgo_upwards_from_accessed
Returns the root of this tree.
bsan-rt/src/tree_borrows/tree_visitor.rs:91
↓ 2 callersMethodhandle
(&self)
tests/miri-tests/should-pass/performance/track-caller-attribute.rs:90
↓ 2 callersFunctionhelper
(mut data: Vec<u8>, raw_pointer: *mut Vec<u8>)
tests/miri-tests/pass/move-data-across-await-point.rs:14
↓ 2 callersMethodhost
(env: &EnvConfig)
cargo-bsan/src/util.rs:237
↓ 2 callersFunctionhyperfine_mean
Run hyperfine on a single command and return its mean wall time in seconds. Aborts on failure
bsan-script/etc/bench.py:261
↓ 2 callersFunctionid
(x: T)
tests/miri-tests/pass/arrays.rs:66
↓ 2 callersMethodid
(self)
tests/miri-tests/pass/validation_lifetime_resolution.rs:11
↓ 2 callersMethodincrement_nonatomic
Increments the reference count **without** atomic synchronization, returning `true` if the count transitioned from zero to one.
bsan-rt/src/tree_borrows/refcount.rs:58
↓ 2 callersMethodincrement_used
(&self)
bsan-rt/src/memory/heap.rs:179
↓ 2 callersFunctioninner
(rc: &RefCell<i32>, aliasing: &mut i32)
tests/miri-tests/pass/both_borrows/interior_mutability.rs:24
↓ 2 callersMethodinstall
(&self, env: &mut BsanEnv, args: &[String])
bsan-script/src/commands.rs:483
↓ 2 callersMethodis_concrete
(&self)
bsan-rt/src/lib.rs:172
↓ 2 callersMethodis_local
Returns true if this access is local.
bsan-rt/src/tree_borrows/foreign_access_skipping.rs:61
↓ 2 callersMethodis_noop
(self)
bsan-rt/src/tree_borrows/perms.rs:452
↓ 2 callersFunctionis_running_on_ci
()
bsan-script/src/utils.rs:25
↓ 2 callersFunctionlibc_failed
(name: &str, exit_code: libc::c_int)
bsan-rt/src/memory/mod.rs:143
↓ 2 callersMethodllvm_cmake
( &self, path: &Path, out_dir: &Path, include_dirs: &[PathBuf], )
bsan-script/src/env.rs:401
↓ 2 callersFunctionmemcpy
(to: *mut T, from: *const T)
tests/miri-tests/pass/provenance_tests.rs:53
↓ 2 callersMethodmerge_adjacent_thorough
Remove all adjacent duplicates
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:228
↓ 2 callersMethodneedsBoundaryValidation
bsan-pass/BorrowSanitizer.cpp:420
↓ 2 callersFunctionno_valid_exposed_references_error
Cannot access this allocation with wildcard provenance, as there are no valid exposed references for this access kind.
bsan-rt/src/tree_borrows/diagnostics.rs:403
↓ 2 callersMethodopt_level
(&self)
bsan-script/src/env.rs:56
↓ 2 callersFunctionp
(x: isize, y: isize)
tests/miri-tests/pass/binops.rs:60
↓ 2 callersFunctionpar_for
(iter: I, f: F)
tests/miri-tests/pass/send-is-not-static-par-for.rs:6
↓ 2 callersMethodparent_header
(&self, ptr: NonNull<T>)
bsan-rt/src/memory/heap.rs:98
↓ 2 callersFunctionparse_env_count
(var: &str)
tests/ui.rs:319
↓ 2 callersMethodpatch
bsan-pass/BorrowSanitizer.cpp:836
↓ 2 callersFunctionpath_from_env
(var: &str)
tests/ui.rs:312
↓ 2 callersMethodperform_access
Apply the transition to the inner PermissionPriv.
bsan-rt/src/tree_borrows/perms.rs:367
↓ 2 callersMethodperform_access_no_fluff
( mut self, access_kind: AccessKind, rel_pos: AccessRelatedness, protected: bo
bsan-rt/src/tree_borrows/tree.rs:174
↓ 2 callersMethodperform_transition
Performs an access on this index and updates node, perm and wildcard_state to reflect the transition.
bsan-rt/src/tree_borrows/tree.rs:102
↓ 2 callersMethodpoll
(mut self: Pin<&mut Self>, _cx: &mut Context<'_>)
tests/miri-tests/pass/future-self-referential.rs:23
↓ 2 callersMethodprint
(&self)
tests/miri-tests/pass/issues/issue-3794.rs:13
↓ 2 callersFunctionprint_errors
(result: FixResult)
tests/ui.rs:343
↓ 2 callersFunctionprint_tree
(dir: &Path, prefix: &str)
bsan-script/src/stats.rs:23
↓ 2 callersMethodprofile
(&self)
bsan-script/src/env.rs:77
↓ 2 callersFunctionprotect
(arg: &mut u32)
tests/miri-tests/pass/tree_borrows/wildcard/wildcard.rs:113
↓ 2 callersMethodprotected_tags_mut
(&'a self)
bsan-rt/src/global.rs:130
↓ 2 callersMethodpushFrameHeaderSlot
Extends the frame header down by one provenance slot
bsan-pass/BorrowSanitizer.cpp:962
↓ 2 callersMethodrange
# Safety This instance of `AllocInfo` must represent a valid, non-freed allocation. Otherwise, the contents of its base address will be initialized wi
bsan-rt/src/borrow_tracker.rs:28
↓ 2 callersMethodretag_permissions
Return the permission that `y` starts as, and the permission that we will retag `x` with. This does not yet include a possible read-on-reborrow throug
bsan-rt/src/tree_borrows/tree/tests.rs:700
↓ 2 callersMethodretainIf
bsan-rt/llvm-wrapper/bsan_set.h:45
↓ 2 callersFunctionrun
Run a command, raising CalledProcessError on non-zero exit. The command inherits the current environment.
bsan-script/etc/bench.py:95
↓ 2 callersFunctionrun_fut
(fut: impl Future<Output = T>)
tests/miri-tests/pass/async-fn.rs:77
↓ 2 callersFunctionrun_fut
(fut: impl Future<Output = T>)
tests/miri-tests/pass/future-self-referential.rs:79
← previousnext →201–300 of 2,093, ranked by callers