MCPcopy Create free account

hub / github.com/BorrowSanitizer/bsan / functions

Functions2,093 in github.com/BorrowSanitizer/bsan

Functionfactorial
(n: u32)
tests/miri-tests/pass/function_calls/tail_call.rs:11
Functionfactorial_loop
@run:0
tests/miri-tests/pass/loops.rs:2
Functionfactorial_recursive
()
tests/miri-tests/pass/calls.rs:9
Methodfailed_test
( &'a self, cmd: &'a str, stderr: &'a [u8], stdout: &'a [u8], )
tests/fix_utils.rs:88
Functionfat_ptr_constant
()
tests/miri-tests/pass/fat_ptr.rs:35
Functionfield_access
()
tests/miri-tests/pass/products.rs:24
Methodfinalize
( &self, failed: usize, succeeded: usize, ignored: usize, filtered: us
tests/fix_utils.rs:55
Methodfind
bsan-rt/llvm-wrapper/bsan_set.h:102
Methodfix
(env: &mut BsanEnv, keep_sysroot: bool)
bsan-script/src/commands.rs:228
Functionflagsplit
(flags: &str)
tests/ui.rs:33
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/lib.rs:54
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/sanitizer_common.rs:39
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/helpers.rs:46
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/tree_borrows/diagnostics.rs:25
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/tree_borrows/tree.rs:257
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/tree_borrows/perms.rs:17
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/tree_borrows/data_structures/unimap.rs:34
Methodfmt
(&self, f: &mut fmt::Formatter<'_>)
bsan-rt/src/tree_borrows/tree/tests.rs:236
Methodfmt
(&self, _f: &mut Formatter<'_>)
tests/miri-tests/pass/reentrant-println.rs:10
Methodfmt
(&self, f: &mut Formatter<'_>)
tests/miri-tests/excluded/pass/intrinsics/portable-simd.rs:39
Methodfmt
(env: &mut BsanEnv, check: bool)
bsan-script/src/commands.rs:77
Methodfmt
(&self, check: bool)
bsan-script/src/env.rs:314
Functionfmt_percent
(value: usize, total: usize)
bsan-script/src/stats.rs:45
Functionfn0
Roundtrip a few functions through integers. Do this multiple times to make sure this does not work by chance. If we did not give unique addresses to Z
tests/miri-tests/pass/intptrcast.rs:111
Functionfn1
()
tests/miri-tests/pass/intptrcast.rs:114
Functionfn2
()
tests/miri-tests/pass/intptrcast.rs:117
Functionfn3
()
tests/miri-tests/pass/intptrcast.rs:120
Functionfn4
()
tests/miri-tests/pass/intptrcast.rs:123
Functionfn5
()
tests/miri-tests/pass/intptrcast.rs:126
Functionfn6
()
tests/miri-tests/pass/intptrcast.rs:129
Functionfn7
()
tests/miri-tests/pass/intptrcast.rs:132
Functionfn_once_closure_with_multiple_args
()
tests/miri-tests/pass/closures.rs:37
Functionfoo
See if we can run a basic `async fn`
tests/miri-tests/pass/async-fn.rs:7
Functionfoo
(v: &[T])
tests/miri-tests/pass/slices.rs:11
Functionfoo
(i: &'a i32, f: F)
tests/miri-tests/pass/tuple_like_enum_variant_constructor_struct_pointer_opt.rs:32
Functionfoo
()
tests/miri-tests/pass/c_enums.rs:14
Functionfoo
()
tests/miri-tests/pass/last-use-in-cap-clause.rs:9
Functionfoo
()
tests/miri-tests/pass/constants.rs:4
Functionfoo
()
tests/miri-tests/pass/closures.rs:65
Functionfoo
(x: &mut (i32, i32))
tests/miri-tests/pass/both_borrows/basic_aliasing_model.rs:34
Functionfoo
()
tests/miri-tests/pass/function_calls/exported_symbol.rs:5
Functionfoo
(x: &mut i32)
tests/miri-tests/fail/aliasing/both_borrows/shr_frozen_violation1.rs:7
Functionfoo
()
tests/miri-tests/excluded/pass/function_calls/exported_symbol_weak.rs:10
Methodfoo
(&self, _: T)
tests/miri-tests/pass/cast-rfc0401-vtable-kinds.rs:8
Methodfoo
(self: *const Self)
tests/miri-tests/pass/dyn-arbitrary-self.rs:135
Methodfoo_a
(&self)
tests/miri-tests/pass/dyn-upcast.rs:407
Methodfoo_c
(&self)
tests/miri-tests/pass/dyn-upcast.rs:419
Functionfoo_mut
(v: &mut [T])
tests/miri-tests/pass/slices.rs:19
Methodfor_access
# Safety Takes in provenance pointer that is checked via debug_asserts
bsan-rt/src/borrow_tracker.rs:161
Methodfor_alloc
(prov: Provenance, f: F)
bsan-rt/src/borrow_tracker.rs:114
Methodfor_alloc_weak
(prov: Provenance, f: F)
bsan-rt/src/borrow_tracker.rs:141
Functionfor_loop
()
tests/miri-tests/pass/loops.rs:23
Methodfor_path
(&self, path: &Path)
tests/fix_utils.rs:79
Methodfor_revision
(&self, revision: &str, style: RevisionStyle)
tests/fix_utils.rs:70
Functionforeign_read_is_noop_after_foreign_write
()
bsan-rt/src/tree_borrows/perms.rs:751
Methodfrom
(value: TreeBorrowsUb)
bsan-rt/src/errors.rs:19
Methodfrom
(value: NonNull<AllocInfo>)
bsan-rt/src/borrow_tracker.rs:65
Methodfrom
(tree: &EagerTree, root: UniIndex, show_unnamed: bool)
bsan-rt/src/tree_borrows/diagnostics.rs:647
Methodfrom_acc_and_rel
Usually, tree traversals have an `AccessKind` and an `AccessRelatedness`. This methods converts these into the corresponding `IdempotentForeignAccess`
bsan-rt/src/tree_borrows/foreign_access_skipping.rs:81
Methodfrom_addr
Get a Size defined by a number of bytes
bsan-rt/src/helpers.rs:35
Methodfrom_args
()
cargo-bsan/src/setup.rs:28
Methodfrom_array
(a: [T; N])
tests/miri-tests/excluded/pass/intrinsics/portable-simd.rs:55
Methodfrom_bits
(bits: impl TryInto<u64>)
bsan-rt/src/helpers.rs:23
Methodfrom_bytes
Get a Size defined by a number of bytes
bsan-rt/src/helpers.rs:30
Methodfrom_env
()
cargo-bsan/src/setup.rs:36
Methodfrom_env
()
cargo-bsan/src/llvm.rs:65
Methodfrom_file
(path: &Path)
bsan-script/src/env.rs:98
Methodfrom_fn
(emplacer_fn: &'b mut EmplacerFn<'a, T>)
tests/miri-tests/pass/issues/issue-miri-3541-dyn-vtable-trait-normalization.rs:20
Methodfrom_foreign
Constructs a foreign access from an `AccessKind`
bsan-rt/src/tree_borrows/foreign_access_skipping.rs:71
Methodfrom_pthread
()
bsan-rt/src/memory/mod.rs:47
Methodfrom_rlimit
()
bsan-rt/src/memory/mod.rs:37
Methodfrom_str_iter
( args: I, name: &'a str, )
cargo-bsan/src/arg.rs:91
Methodfrom_string_iter
( args: I, name: &'a str, )
cargo-bsan/src/arg.rs:79
Functionfunc_a
()
tests/miri-tests/should-pass/performance/backtrace/backtrace-std.rs:8
Functionfunc_b
()
tests/miri-tests/should-pass/performance/backtrace/backtrace-std.rs:12
Functionfunc_d
()
tests/miri-tests/should-pass/performance/backtrace/backtrace-std.rs:27
Functiongaps
()
bsan-rt/src/tree_borrows/data_structures/dedup_range_map.rs:282
Methodget
bsan-pass/BorrowSanitizer.cpp:673
MethodgetFnEntryTop
bsan-pass/BorrowSanitizer.cpp:947
MethodgetGlobalDescription
bsan-pass/BorrowSanitizer.cpp:483
MethodgetLayoutArrayLength
bsan-pass/BorrowSanitizer.cpp:1540
MethodgetProvenance
Asserts that there is either a provenance value at the given index, or that no provenance values have been loaded for the given value. Does not return
bsan-pass/BorrowSanitizer.cpp:1325
MethodgetProvenanceOffset
Computes the offset in terms of provenance components for an index into an aggregate or array value. Used for implementing `extractvalue` and `insertv
bsan-pass/BorrowSanitizer.cpp:2128
MethodgetPtrToShadowPtrType
bsan-pass/BorrowSanitizer.cpp:1167
MethodgetShadowOriginPtr
bsan-pass/BorrowSanitizer.cpp:1219
MethodgetShadowPtrOffset
Returns the integer shadow offset that corresponds to a given application address `Addr`: Offset = (Addr & ~AndMask) ^ XorMask getShadowOriginPtr tu
bsan-pass/BorrowSanitizer.cpp:1200
MethodgetStackOffset
bsan-pass/BorrowSanitizer.cpp:1594
Methodget_cached
()
bsan-rt/src/memory/mod.rs:72
Methodget_min_exposed_child
Returns the smallest exposed tag, if any, that is a transitive child of `root`.
bsan-rt/src/tree_borrows/tree.rs:704
Methodget_source_line
Read a specific line from a file
bsan-rt/src/sanitizer_common.rs:95
Methodget_target_dir
()
cargo-bsan/src/util.rs:131
Methodgive_pointer_debug_name
Debug helper: assign name to tag.
bsan-rt/src/tree_borrows/diagnostics.rs:242
Functiongoodbye
()
tests/miri-tests/pass/dyn-upcast.rs:466
Functionheapable_alloc_info
()
bsan-rt/src/memory/heap.rs:260
Functionhello
()
tests/miri-tests/pass/strings.rs:8
Methodhello
(&self)
tests/miri-tests/pass/box-custom-alloc.rs:37
Functionhello_bytes
()
tests/miri-tests/pass/strings.rs:12
Functionhello_bytes_fat
()
tests/miri-tests/pass/strings.rs:16
Methodhost_binary
(&self, binary_name: &str)
bsan-script/src/env.rs:268
Functionid
(x: T)
tests/miri-tests/pass/function_calls/abi_compat.rs:14
← previousnext →1,301–1,400 of 2,093, ranked by callers