Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
Demystifying x86-64 Program Segments: Stack, Heap, and More
19 Views • Aug 04, 2025
Description
Introduction to x86-64 program segments 00:00:01
Understanding segmentation faults 00:00:12
Importance of segments in assembly 00:00:32
Overview of assembly program structure 00:01:09
Defining segments in Yasm assembly 00:01:49
Data section: Initialized global variables 00:02:20
BSS section: Uninitialized variables 00:03:23
Text section: Code and functions 00:03:59
Global and extern function declarations 00:04:41
Stack: Local variables and return addresses 00:07:11
Stack overflow example in C++ 00:08:48
Heap: Dynamic memory allocation 00:11:31
Stack vs heap memory growth 00:11:56
Virtual memory and memory allocation 00:14:00
Demonstrating memory overflow with heap allocation 00:16:59
Summary of segments and their purposes 00:17:59
Closing remarks and call to subscribe 00:18:47
Thanks for watching!
Find us on other social media here:
- https://www.NeuralLantern.com/social
Please help support us!
- Subscribing + Sharing on Social Media
- Leaving a comment or suggestion
- Subscribing to our Blog
- Watching the main "pinned" video of this channel for offers and extras
More from User
AVL Tree Rotation Types Explained for Self-Balancing Binary Search Trees
Neural Lantern
AVL Tree Tutorial: Balance Factors and Why They Fix Slow BSTs
Neural Lantern
Binary Search Tree Removals - Delete Nodes with 0, 1, or 2 Children
Neural Lantern
How to Search in a Binary Search Tree (BST) - Step by Step Explanation with Examples
Neural Lantern
Binary Search Tree Insertion Tutorial: Building a BST from Scratch Step by Step
Neural Lantern
Building a Binary Search Tree - Insertion Tutorial
Neural Lantern
Related Videos
Mastering System Services in x86-64 Assembly Programming
Neural Lantern
Learn Programming Technique C to Master Skills - Dynamic Memory Allocation Program
Tutorials Arena
Java Full Stack Series _ Programming Elements _ By Srinivas _ Ameerpet Technologies
ameerpettechnologies
Stack Related Instructions l Microprocessor Instruction Set and Programming
electrodiction
Buckys C++ Programming Tutorials - 6 - Variables Memory Concepts
Connecting Bytes
Computing Book Reviews: Efficient Memory Programming by David Loshin
Computer-Book-Summary