Exploring memory management in C, this session delves into the development of a coroutine library and addresses potential stack overflow issues. The author demonstrates how to handle memory allocation and protection using malloc and mmap functions, and emphasizes ensuring memory safety. The focus is on creating a safer stack by allocating memory with specific permissions and using Linux API calls to manage memory pages.

50m watch time

Sort: