How to Check Your Pointers at Runtime
Patreon ➤ https://www.patreon.com/jacobsorber
Courses ➤ https://jacobsorber.thinkific.com
Website ➤ https://www.jacobsorber.com
How to Check Your Pointers at Runtime // Have you ever wondered how to check pointers at runtime and keep your programs from crashing? Programmers hate segmentation faults, and while the best way to prevent seg faults is to write clean, correct, error-free code, this video will show you a fun trick that you can use to check your pointers and predict at runtime which pointers will cause a seg fault, and crash your program.
Smallest C Program (pmap, vmmap) — https://www.youtube.com/watch?v=cSC7W2MwKqw
[Affiliate Link]
I use Kite, a free AI coding assistant, that provides better code completions.
https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=jacobsorber&utm_content=description-only
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]
+ rep the channel with nerdy merch --- [https://teespring.com/stores/jacob-sorbers-store]
Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.herokuapp.com/]
Видео How to Check Your Pointers at Runtime канала Jacob Sorber
Courses ➤ https://jacobsorber.thinkific.com
Website ➤ https://www.jacobsorber.com
How to Check Your Pointers at Runtime // Have you ever wondered how to check pointers at runtime and keep your programs from crashing? Programmers hate segmentation faults, and while the best way to prevent seg faults is to write clean, correct, error-free code, this video will show you a fun trick that you can use to check your pointers and predict at runtime which pointers will cause a seg fault, and crash your program.
Smallest C Program (pmap, vmmap) — https://www.youtube.com/watch?v=cSC7W2MwKqw
[Affiliate Link]
I use Kite, a free AI coding assistant, that provides better code completions.
https://www.kite.com/get-kite/?utm_medium=referral&utm_source=youtube&utm_campaign=jacobsorber&utm_content=description-only
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]
+ rep the channel with nerdy merch --- [https://teespring.com/stores/jacob-sorbers-store]
Source code is also available to Patreon supporters. --- [https://jsorber-youtube-source.herokuapp.com/]
Видео How to Check Your Pointers at Runtime канала Jacob Sorber
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
The Inline Keyword in C.Strings can get you hacked! (buffer overflows, strcpy, and gets)Reviewing your Code: RefactoringWhy do programmers use hexadecimal numbers?Debugging with Core DumpsMaking Peace with Double PointersShould you avoid linked lists? (linked list vs arrays)Why that "Perfect" Makefile Doesn't Work.How to measure memory usage inside my program? (getrusage)Make your Data Type more Abstract with Opaque Types in CUnderstanding and implementing a Hash Table (in C)How to Automatically Remove Dead Code?Header Issues: Guards, Name Mangling, and extern "C"Safety and Speed Issues with Threads. (pthreads, mutex, locks)Can I Handle Exceptions with Try Catch in C? (setjmp, longjmp)Defining Constants. Should I use CONST or #DEFINE?How to Implement a Tree in CHow processes get more memory. (mmap, brk)How to Set up Shared Memory in Your Linux and MacOS Programs. (shmget, shmat, shmdt, shmctl, ftok)How to Inspect Compiled Binaries (binutils, objdump)