Search code examples
Why is casting `&mut &mut i32` as `*mut *mut i32` invalid...

rustreferenceunsafe

Read More
Is it okay to use 'static for references to Box in self referential structs?...

rustundefined-behaviorunsafeself-reference

Read More
How does UnsafeCell inform rustc to opt out of alias based optimizations?...

rustunsafe

Read More
Can I create an "unsafe closure"?...

rustclosuresunsafe

Read More
Is it safe to hold references to attributes of the same struct by using 'static?...

rustunsafe

Read More
Why does unsafe { x } == y not compile?...

rustunsafe

Read More
Why does this unsafe block return a unit type?...

rustunsafe

Read More
Delphi: Object aggregation and memory leaks using [weak] attribute...

delphimemory-leaksaggregationunsafeweak

Read More
How to modify a struct field inside closure via a raw pointer?...

rustunsafe

Read More
Upcasting an `Arc<dyn Trait>` to an `Arc<dyn Any>`?...

rustcastingunsafe

Read More
Embedded rust - split large array/buffer in several smaller...

rustunsafe

Read More
What is the issue in this unsafe Rust code so it works on Windows, but not on the Ubuntu?...

windowsubunturustmemory-managementunsafe

Read More
`UnsafeCell` shared accross threads with no locking - this can cause UB right?...

rustundefined-behaviorunsafe

Read More
How are unsafe pointers represented in C#...

c#pointersunsafereference-type

Read More
Rust get mutable reference to each element of an ndarray in parallel...

rustunsaferayonrust-ndarray

Read More
C# pointer and relocation of value type variables...

c#.netvisual-studio-2015unsafe

Read More
How to use Peverify.exe (PEVerify tool)?...

c#.net-assemblyunsafemanaged

Read More
When should unsound, private functions be marked unsafe?...

rustunsafe

Read More
How to use reflect.NewAt on interface{}?...

goreflectionunsafe

Read More
Why doesn't converting a u8 pointer into a [bool; 8] pointer yield the number bit-by-bit?...

rustunsafe

Read More
Is it legal to store a 'static reference to struct internal data in unsafe Rust?...

rustlanguage-lawyerlifetimeunsafe

Read More
FFmpeg function avdevice_list_devices causes C++ Runtime error...

c#windowspointersffmpegunsafe

Read More
Rust store DB connection globally...

databaserustunsafesurrealdb

Read More
Implementing a safe wrapper for resource consumption in Rust...

rustunsafe

Read More
Is it safe and defined behavior to transmute between a T and an UnsafeCell<T>?...

rustundefined-behaviorunsafe

Read More
Are there any consequences to allow unsafe code in the project?...

c#unsafe

Read More
Why Rust's raw pointer can access function and some parts of fields' information of a struct...

ruststructunsaferaw-pointer

Read More
How can I separate these structs to avoid undefined behavior from multiple mutable references?...

rustborrow-checkerunsafemutability

Read More
Can `Layout::from_value(&v)` and `Layout::new::<T>` can ever be different where `v : T` in...

rustunsafe

Read More
Unsafe mutating from an immutable context fails under release mode...

rustunsafe

Read More
BackNext