Search code examples
Trying to understand --x vs x-- in C++...

c++c++17undefined-behaviorexpression-evaluation

Read More
Are memory leaks "undefined behavior" class problem in C++?...

c++memory-managementmemory-leaksundefined-behavior

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

rustundefined-behaviorunsafe

Read More
Can giving input too early cause glitches?...

pythonwindowsloopsinputundefined-behavior

Read More
Is using declared and initialized but undefined variables undefined behavior?...

c++staticlanguage-lawyerundefined-behavior

Read More
Throwing C++ exception through C function call...

c++cfunctionexceptionundefined-behavior

Read More
c/c++ -- Is writing to multi-dimesional array from 0 offset UB?...

c++cmultidimensional-arraylanguage-lawyerundefined-behavior

Read More
Is decrement of bool variable defined in С?...

cbooleanincrementundefined-behaviordecrement

Read More
Why does conversion from int to float not take place when we pass 'int' to a function expect...

cfunctiontype-conversionundefined-behavior

Read More
Aware of issues during casting a struct of a sized pointer to its const-equivalent...

ctype-conversionundefined-behaviortype-punning

Read More
Is it UB to compare pointers casted from integers?...

clanguage-lawyerstandardsundefined-behavior

Read More
Does undefined behavior only concern an execution of program, or can it concern a program itself?...

c++language-lawyerundefined-behavior

Read More
In the C++ standard, paragraph 6.7.3.5, what does "depends on the side effects" mean?...

c++language-lawyerundefined-behaviorlifetimeiso

Read More
Cast a pointer to unsigned to signed in Rust, is it UB?...

rustundefined-behavior

Read More
Is passing pointer to an array as pointer to pointer UB in C?...

cpointerslanguage-lawyerundefined-behaviorimplicit-conversion

Read More
Using += when inputting values into a 2D matrix in C++...

c++arraysmatrix-multiplicationundefined-behavior

Read More
Is converting from unsigned char to signed char and vice versa in C89 well defined?...

cundefined-behaviorc89

Read More
Compiler dependency and well defined output...

clanguage-lawyerstandardsundefined-behavior

Read More
Is `&T as *const T as *mut T` sound for `static mut` items?...

rustundefined-behavior

Read More
Example of undefined behaviour involving the use of const_cast...

c++gccconstantscompiler-optimizationundefined-behavior

Read More
Unexpected memcpy on uncopyable & unmovable type when using co_await...

c++undefined-behaviorcopy-elisionc++-coroutine

Read More
Why garbage value is not being returned in a recursive call to a function with undefined behavior?...

crecursionundefined-behavior

Read More
Constructing an object over itself...

c++undefined-behaviorplacement-new

Read More
Can undefined behavior erase the hard drive?...

c++memoryundefined-behavior

Read More
Tokenizer in C is not showing any output...

cundefined-behavior

Read More
Is it allowed to cast away const on a const-defined object as long as it is not actually modified?...

c++constantsundefined-behaviorconst-cast

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

rustundefined-behaviorunsafe

Read More
Must lvalues of type T identify objects of type T? If `p` has type `T *`, does `&*p` require `p`...

c++pointerslanguage-lawyerundefined-behaviordereference

Read More
What features does gcc-4.9 Undefined Behavior Sanitizer have?...

c++gccundefined-behaviorgcc4.9sanitizer

Read More
Is there a safe version of C++ without undefined behaviour?...

c++undefined-behavior

Read More
BackNext