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
-
2:54:14
Barry Cunningham
6 hours agoBREAKING NEWS: PRESIDENT TRUMP SAYS HE MAY INVOKE THE INSURRECTION ACT! AND NOW WE KNOW WHY!
25.6K14 -
40:13
Clownfish TV
11 hours agoMagic the Gathering Champion BANNED from Tournament Over MAGA Hat?! | Clownfish TV
9.36K19 -
2:49:47
TimcastIRL
4 hours agoTrump Considers Invoking INSURRECTION ACT To Deploy National Guard to Portland | Timcast IRL
157K81 -
10:05:38
Dr Disrespect
12 hours ago🔴LIVE - DR DISRESPECT - BLACK OPS 7 - GIVE ME BACK MY NUKE
130K16 -
LIVE
Drew Hernandez
3 hours agoTARGETED LEFTIST TERRORIST ATTACK IN CHICAGO & ISRAEL GEOFENCING U.S. MEGA CHURCHES
1,036 watching -
8:58
Degenerate Jay
13 hours agoXbox Game Pass Is Getting Ridiculous
9.48K1 -
7:03
GBGunsRumble
1 day agoGBGuns Range Report 05OCT25
5.99K2 -
1:32:30
Glenn Greenwald
10 hours agoWill the War in Gaza Finally End? Flotilla Activists Predictably Abused in Israel's Dungeons; Van Jones' Revealing Joke about "Dead Gazan Babies" | SYSTEM UPDATE #527
90K66 -
LIVE
SpartakusLIVE
6 hours ago#1 King of Content brings MOTIVATION to the MASSES on Monday
450 watching -
1:48:32
megimu32
4 hours agoON THE SUBJECT: 2000s Hits That Vanished! 🎶
6.91K3