@JacobSorber
  @JacobSorber
Jacob Sorber | Can I write to NULL (0x0000000000) without seg faulting? @JacobSorber | Uploaded 2 years ago | Updated 3 hours ago
Patreon https://www.patreon.com/jacobsorber
Courses https://jacobsorber.thinkific.com
Website https://www.jacobsorber.com
---

Can I write to NULL (0x0000000000) without seg faulting? // Inspired by a student question. I think I know the answer, but I've never tried. So, let's see if I can convince the operating system (kernel) to map page #0 into my address space and allow me to access it like I would any other page.

Related Videos:
mmap-basics: https://youtu.be/XV5sRaSVtXQ

***

Welcome! I post videos that help you learn to program and become a more confident software developer. I cover beginner-to-advanced systems topics ranging from network programming, threads, processes, operating systems, embedded systems and others. My goal is to help you get under-the-hood and better understand how computers work and how you can use them to become stronger students and more capable professional developers.


About me: I'm a computer scientist, electrical engineer, researcher, and teacher. I specialize in embedded systems, mobile computing, sensor networks, and the Internet of Things. I teach systems and networking courses at Clemson University, where I also lead the PERSIST research lab.

More about me and what I do:
https://www.jacobsorber.com
https://people.cs.clemson.edu/~jsorber/
http://persist.cs.clemson.edu/

To Support the Channel:
+ like, subscribe, spread the word
+ contribute via Patreon --- [https://www.patreon.com/jacobsorber]

Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.herokuapp.com/]
Can I write to NULL (0x0000000000) without seg faulting?A Few Embedded Systems Tips for BeginnersThe Call Stack and Stack Overflows (example in C)What is a function prototype in CScanf scansets, and reading a CSV file in C (fixed)I want to review your code.Make your own 50k YouTube Play Button (C / curses tutorial)Why that Perfect Makefile Doesnt Work.Code Review #2: Generalizing and D.R.Y.ing things up.The Most Useless Keyword in C?Real Programming vs TutorialsDebugging Embedded Systems With GDB?

Can I write to NULL (0x0000000000) without seg faulting? @JacobSorber