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
-
23:51
Stephen Gardner
5 hours ago🚨Trump did the UNTHINKABLE!
40.9K103 -
2:54:14
Barry Cunningham
8 hours agoBREAKING NEWS: PRESIDENT TRUMP SAYS HE MAY INVOKE THE INSURRECTION ACT! AND NOW WE KNOW WHY!
43K20 -
40:13
Clownfish TV
14 hours agoMagic the Gathering Champion BANNED from Tournament Over MAGA Hat?! | Clownfish TV
32.4K21 -
2:49:47
TimcastIRL
7 hours agoTrump Considers Invoking INSURRECTION ACT To Deploy National Guard to Portland | Timcast IRL
190K118 -
10:05:38
Dr Disrespect
15 hours ago🔴LIVE - DR DISRESPECT - BLACK OPS 7 - GIVE ME BACK MY NUKE
157K18 -
4:51:07
Drew Hernandez
5 hours agoTARGETED LEFTIST TERRORIST ATTACK IN CHICAGO & ISRAEL GEOFENCING U.S. MEGA CHURCHES
41.9K11 -
8:58
Degenerate Jay
16 hours ago $0.76 earnedXbox Game Pass Is Getting Ridiculous
20.2K2 -
7:03
GBGunsRumble
1 day agoGBGuns Range Report 05OCT25
13.4K2 -
1:32:30
Glenn Greenwald
12 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
97.5K75 -
7:53:41
SpartakusLIVE
8 hours ago#1 King of Content brings MOTIVATION to the MASSES on Monday
36.8K6