MCPcopy Create free account

hub / github.com/BorrowSanitizer/bsan / functions

Functions2,093 in github.com/BorrowSanitizer/bsan

Functionmatch_opt_none
()
tests/miri-tests/pass/sums.rs:33
Functionmatch_opt_some
()
tests/miri-tests/pass/sums.rs:41
Functionmatch_ref_mut
()
tests/miri-tests/pass/pointers.rs:42
Methodmetadata
()
cargo-bsan/src/util.rs:140
Functionmini_array
()
tests/miri-tests/pass/arrays.rs:6
Methodmiri
(&self, _env: &mut BsanEnv, _args: &[String])
bsan-script/src/commands.rs:363
Methodmiri
(&self, crate_dir: impl AsRef<OsStr>, args: &[String])
bsan-script/src/env.rs:356
Functionmulti_args
another function that elides, each to a different unbound lifetime
tests/miri-tests/pass/rfc1623.rs:28
Functionmutually_recursive_identity
this is of course very silly, but we need to demonstrate mutual recursion somehow so...
tests/miri-tests/pass/function_calls/tail_call.rs:23
Functionmyfun
()
tests/miri-tests/pass/function_calls/return_place_on_heap.rs:23
Functionmyfun
(ptr: *mut i32)
tests/miri-tests/excluded/fail/aliasing/function-calls/return_pointer_aliasing_write_tail_call.rs:29
Functionmyfun
(ptr: *mut i32)
tests/miri-tests/excluded/fail/aliasing/function-calls/return_pointer_aliasing_write.rs:27
Functionmyfun
(ptr: *mut i32)
tests/miri-tests/excluded/fail/aliasing/function-calls/return_pointer_aliasing_read.rs:27
Functionmymain
()
tests/miri-tests/pass/imported_main.rs:3
Functionnever_returns
()
tests/miri-tests/pass/loop-break-value.rs:6
Methodnew
(base_addr: Size, size: Size, bor_tag: BorTag, span: Span)
bsan-rt/src/lib.rs:259
Methodnew
(value: MutexGuard<'b, Option<AllocStateImpl>>)
bsan-rt/src/borrow_tracker.rs:79
Methodnew
()
bsan-rt/src/global.rs:109
Methodnew
(f_continue: NodeContinue, f_propagate: NodeApp)
bsan-rt/src/tree_borrows/tree_visitor.rs:180
Methodnew
Information for a new node. By default it has no name and an empty history.
bsan-rt/src/tree_borrows/diagnostics.rs:199
Methodnew
(info: RetagInfo<'_>)
bsan-rt/src/tree_borrows/mod.rs:41
Methodnew
Create a new tree, with only a root pointer.
bsan-rt/src/tree_borrows/tree.rs:347
Methodnew
Creates a new `RefCount` initialized to 0. A freshly minted tag has no references yet: it is reachable only as a root (live on a shadow stack) until
bsan-rt/src/tree_borrows/refcount.rs:27
Methodnew
(size: Size, init: T)
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:30
Methodnew
()
bsan-rt/src/tree_borrows/data_structures/range_object_map.rs:37
Methodnew
()
bsan-rt/src/memory/heap.rs:45
Methodnew
( inner: Box<dyn StatusEmitter>, failed: Arc<AtomicUsize>, aborted: Arc<AtomicUsize>,
tests/fix_utils.rs:33
Methodnew
(delay: usize)
tests/miri-tests/pass/future-self-referential.rs:16
Methodnew
(f: F)
tests/miri-tests/pass/dyn-upcast.rs:455
Methodnew
()
tests/miri-tests/pass/align_repeat_into_well_aligned_array.rs:29
Methodnew
()
tests/miri-tests/pass/box-custom-alloc-aliasing.rs:60
Methodnew
()
tests/miri-tests/pass/both_borrows/smallvec.rs:20
Methodnew
(subr: BuiltIn)
tests/miri-tests/pass/issues/issue-91636.rs:11
Methodnew
(u: U, v: V)
tests/miri-tests/pass/issues/issue-miri-133.rs:12
Methodnew
(args: I, name: &'a str)
cargo-bsan/src/arg.rs:24
Methodnew
(rustc_version: &VersionMeta, host_sysroot: &Sysroot)
cargo-bsan/src/llvm.rs:30
Methodnew
( quiet: bool, skip: bool, toolchain_dir: Option<PathBuf>, install_from: Optio
bsan-script/src/env.rs:112
MethodnewBorrowTag
bsan-pass/BorrowSanitizer.cpp:1534
Methodnew_accessed
Constructs a new initial state. It has not yet been subjected to any foreign access. However, it is already marked as having been accessed. `sifa` is
bsan-rt/src/tree_borrows/tree.rs:86
Methodnew_cell
Default initial permission of a shared reference to interior mutable data.
bsan-rt/src/tree_borrows/perms.rs:335
Methodnew_disabled
Default initial permission of the root of a new tree at out-of-bounds positions. Must *only* be used for the root, this is not in general an "initial
bsan-rt/src/tree_borrows/perms.rs:330
Methodnew_frozen
Default initial permission of a reborrowed shared reference.
bsan-rt/src/tree_borrows/perms.rs:324
Methodnew_inline
(inline: MaybeUninit<[T; N]>)
tests/miri-tests/pass/both_borrows/smallvec.rs:24
Methodnew_non_accessed
Constructs a new initial state. It has neither been accessed, nor been subjected to any foreign access yet. The permission is not allowed to be `Uniqu
bsan-rt/src/tree_borrows/tree.rs:78
Methodnew_reserved_frz
Default initial permission of a reborrowed mutable reference that is either protected or not interior mutable.
bsan-rt/src/tree_borrows/perms.rs:314
Methodnew_reserved_im
Default initial permission of an unprotected interior mutable reference.
bsan-rt/src/tree_borrows/perms.rs:319
Functionnew_starts_at_zero
()
bsan-rt/src/tree_borrows/refcount.rs:113
Methodnew_unique
Default initial permission of the root of a new tree at inbounds positions. Must *only* be used for the root, this is not in general an "initial" perm
bsan-rt/src/tree_borrows/perms.rs:308
Functionno_overlapping_inserts
()
bsan-rt/src/tree_borrows/data_structures/range_object_map.rs:165
Functionnop
()
tests/test-cargo-bsan/src/main.rs:15
Functionnot_so_innocent
(x: &mut u32)
tests/miri-tests/pass/both_borrows/int-to-ptr.rs:20
Methodomnivalid
()
bsan-rt/src/lib.rs:177
Methodomnivalid
bsan-pass/BorrowSanitizer.cpp:695
Functionone_line_ref
()
tests/miri-tests/pass/pointers.rs:9
Functionoperator delete
bsan-rt/llvm-wrapper/bsan_new_delete.cpp:69
Functionoperator delete[]
bsan-rt/llvm-wrapper/bsan_new_delete.cpp:71
Functionoperator new
bsan-rt/llvm-wrapper/bsan_new_delete.cpp:37
Functionoperator new[]
bsan-rt/llvm-wrapper/bsan_new_delete.cpp:39
Methodoperator!=
bsan-pass/BorrowSanitizer.cpp:626
Methodoperator==
bsan-pass/BorrowSanitizer.cpp:622
Methodopt
(env: &mut BsanEnv, args: &[String])
bsan-script/src/commands.rs:127
Functionoption_box_deref
@run:0 miri: @revisions: stack tree miri: @[tree]compile-flags: -Zmiri-tree-borrows This tests that the size of Option<Box<i32>> is the same as *const
tests/miri-tests/pass/option_box_transmute_ptr.rs:5
Functionout_of_range_iter
()
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:330
Functionout_of_range_iter_mut
()
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:323
Functionpair
()
tests/miri-tests/pass/products.rs:20
Functionpanic
(info: &PanicInfo<'_>)
bsan-rt/src/lib.rs:625
Methodpartial_cmp
PermissionPriv is ordered by the reflexive transitive closure of `Reserved(conflicted=false) < Reserved(conflicted=true) < Unique < Frozen < Disabled`
bsan-rt/src/tree_borrows/perms.rs:101
Functionpartial_init
(x: u32)
tests/miri-tests/pass/async-fn.rs:44
MethodpatchShadowPHINodes
bsan-pass/BorrowSanitizer.cpp:1521
Functionperfectly_overlapping
()
bsan-rt/src/tree_borrows/data_structures/range_object_map.rs:207
Functionpermission_sifa_is_correct
()
bsan-rt/src/tree_borrows/perms.rs:776
Functionpermissionpriv_partialord_is_reachability
Check that all transitions are consistent with the order on PermissionPriv, i.e. Reserved -> Unique -> Frozen -> Disabled
bsan-rt/src/tree_borrows/perms.rs:804
MethodpopFrame
bsan-pass/BorrowSanitizer.cpp:2222
Methodprint
( main_root: &Option<DisplayRepr>, wildcard_subtrees: &[DisplayRepr], fmt: &DisplayFmt
bsan-rt/src/tree_borrows/diagnostics.rs:698
Methodprint_aux
Here is the function that does the heavy lifting
bsan-rt/src/tree_borrows/diagnostics.rs:794
Functionprotected_enforces_noalias
Ensure that of 2 accesses happen, one foreign and one a child, and we are protected, that we get UB unless they are both reads.
bsan-rt/src/tree_borrows/tree/tests.rs:151
MethodptrToIntPtrType
bsan-pass/BorrowSanitizer.cpp:1158
Methodptr_wrapper
(self: Ptr<Wrapper<Self>>)
tests/miri-tests/pass/dyn-arbitrary-self.rs:106
Methodqux
()
tests/miri-tests/pass/function_calls/exported_symbol.rs:23
Methodread_file
Read entire file into a String
bsan-rt/src/sanitizer_common.rs:75
Methodregister_test
(&self, name: PathBuf)
tests/fix_utils.rs:45
Methodrelative_to
(&self, start: Size)
bsan-rt/src/helpers.rs:107
Methodrelease
(release: bool)
bsan-script/src/env.rs:48
Functionrelease_acquire_publishes_writes
()
bsan-rt/src/tree_borrows/refcount.rs:230
Methodremove_unreachable_tags
(&mut self, live_tags: &FxHashSet<BorTag>)
bsan-rt/src/tree_borrows/tree.rs:1207
Functionrequire_positive_mean
Abort if a benchmark reported a non-positive mean execution time.
bsan-script/etc/bench.py:287
Functionreserved_aliased_protected_indistinguishable
`Reserved { conflicted: false }` and `Reserved { conflicted: true }` are properly indistinguishable under the conditions where we want to insert a spu
bsan-rt/src/tree_borrows/tree/tests.rs:612
Methodrest
(&mut self, path: &'r str)
tests/miri-tests/pass/issues/issue-73223.rs:15
MethodretainIf
bsan-rt/llvm-wrapper/bsan_set.h:90
Functionreturn_false
()
tests/miri-tests/pass/sums.rs:21
Functionreturn_none
()
tests/miri-tests/pass/sums.rs:25
Functionreturn_some
()
tests/miri-tests/pass/sums.rs:29
Functionreturn_true
()
tests/miri-tests/pass/sums.rs:17
Functionreturn_unit
()
tests/miri-tests/pass/sums.rs:7
Methodrevision
(&self)
tests/fix_utils.rs:109
Functionrounding
()
bsan-rt/src/memory/mod.rs:177
Methodrt_include
(runtime: &Path)
cargo-bsan/src/setup.rs:150
Functionrun
(x: bool, y: bool)
tests/miri-tests/pass/coroutine.rs:295
Methodrun
bsan-pass/BorrowSanitizer.cpp:1096
Functionsafe
(x: &i32, y: &mut i32)
tests/miri-tests/fail/aliasing/both_borrows/aliasing_mut2.rs:6
← previousnext →1,901–2,000 of 2,093, ranked by callers