Pointers Essentials

Learn about the null pointer, invalid pointer, variables as pointers, and pointer initialization.

The NULL pointers

The first addresses starting from 0x0000000000000000 are specifically made inaccessible on Linux. On a typical ARM64 system, the range is 0x00000000000000000x0000000000007FFF. The following code will force an application crash or kernel panic if executed inside a driver:

Get hands-on with 1400+ tech skills courses.