Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 531 Bytes

Undefined Behaviour.md

File metadata and controls

9 lines (8 loc) · 531 Bytes

Definition

Renders the entire program meaningless if certain rules of the language are violated. Undefined behavior - cppreference.com

Undefined behaviour is the result of executing code with behaviour not described by the language spec (or standard).

  • Many [[Generic Bugs]] are instances of [[Undefined Behaviour]]

Examples

C Programming Language

Buffer overflows, null-pointer dereference, division/modulo zero, uninitialized reads, shifting a negative number.