Premium Only Content
Demystifying x86-64 Program Segments: Stack, Heap, and More
Join us for a clear, engaging look at x86-64 program segments! We break down the text, data, and BSS sections, explore stack vs. heap memory, and show a real stack overflow in C++. Learn why segmentation faults happen, how virtual memory works, and tips to avoid crashes. Whether you're new to assembly or leveling up your coding skills, this video is packed with insights to boost your understanding of low-level programming. Subscribe for more coding deep dives!
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
-
1:03:39
Flyover Conservatives
1 day agoAre ‘Aliens’ Really Demons? The Coming Digital ID System - Dr. Stella Immanuel; Frequencies of Control - Leigh Dundas | FOC Show
44.2K7 -
4:36:58
Drew Hernandez
22 hours agoINCOMING: IMMINENT EBT APOCALYPSE IS UPON US?!
35.5K14 -
25:47
Robbi On The Record
2 days ago $6.40 earnedExposing the OnlyFans Industry (Agency Edition)
40.1K14 -
12:15:31
Dr Disrespect
17 hours ago🔴LIVE - DR DISRESPECT - BATTLEFIELD 6 - REDSEC LAUNCH - BATTLE ROYALE
205K24 -
38:15
Scammer Payback
11 hours agoThe People's Call Center 2025
32.5K6 -
50:10
Sarah Westall
6 hours agoARPA-H and the Weaponized Architecture for Total Dominance & Surveillance w/ Alix Mayer
36.2K8 -
LIVE
SpartakusLIVE
18 hours agoREDSEC BATTLE ROYALE || Battlefield 6 w/ The Boys
312 watching -
2:42:11
DLDAfterDark
6 hours ago $0.01 earnedDLD Live! The Return of Red Dawn - Glock "V" Talk - Sighting In Your Optics & Sights
12.3K2 -
33:50
Producer Michael
12 hours agoInside a FORTRESS Containing $2BILLION in Gold and Silver!
18.6K5 -
1:31:17
Anthony Rogers
1 day agoEpisode 388 – Gabi Garcia
9.51K3