SlideShare une entreprise Scribd logo
1  sur  10
EAX = 0x00000000
MAIN:                ECX = 0x00000001
  push ecx
                     ESP = 0xbffff77C
  call SUB           EBP = 0xbffff788
  mov edx, eax
                     EIP = MAIN
SUB:
  push ebp
  mov ebp, esp       Stack
  mov eax, [ebp+8]   ADDRESS        VALUE
                       0xbffff770
  mov esp, ebp         0xbffff774
  pop ebp              0xbffff778
  ret                  0xbffff77C     0x12345678
EAX = 0x00000000
MAIN:                ECX = 0x00000001
  push ecx
                     ESP = 0xbffff778
  call SUB           EBP = 0xbffff788
  mov edx, eax
                     EIP = addr of push ecx
SUB:
  push ebp
  mov ebp, esp       Stack
  mov eax, [ebp+8]   ADDRESS        VALUE
                       0xbffff770
  mov esp, ebp         0xbffff774
  pop ebp              0xbffff778     0x00000001
  ret                  0xbffff77C     0x12345678
EAX = 0x00000000
MAIN:                ECX = 0x00000001
  push ecx
                     ESP = 0xbffff774
  call SUB           EBP = 0xbffff788
  mov edx, eax
                     EIP = addr of call SUB
SUB:
  push ebp
  mov ebp, esp       Stack
  mov eax, [ebp+8]   ADDRESS        VALUE
                       0xbffff770
  mov esp, ebp         0xbffff774       addr of
  pop ebp                            mov edx, eax

  ret                  0xbffff778     0x00000001
                       0xbffff77C     0x12345678
EAX = 0x00000000
MAIN:                ECX = 0x00000001
  push ecx
                     ESP = 0xbffff770
  call SUB           EBP = 0xbffff788
  mov edx, eax
                     EIP = addr of push ebp
SUB:
  push ebp
  mov ebp, esp       Stack
  mov eax, [ebp+8]   ADDRESS        VALUE
                       0xbffff770     0xbffff788
  mov esp, ebp         0xbffff774       addr of
  pop ebp                            mov edx, eax

  ret                  0xbffff778     0x00000001
                       0xbffff77C     0x12345678
EAX = 0x00000000
MAIN:                ECX = 0x00000001
  push ecx
                     ESP = 0xbffff770
  call SUB           EBP = 0xbffff770
  mov edx, eax
                     EIP = addr of
                           mov ebp, esp
SUB:
  push ebp
  mov ebp, esp       Stack
  mov eax, [ebp+8]   ADDRESS        VALUE
                       0xbffff770     0xbffff788
  mov esp, ebp         0xbffff774       addr of
  pop ebp                            mov edx, eax

  ret                  0xbffff778     0x00000001
                       0xbffff77C     0x12345678
EAX = 0x00000001
MAIN:                ECX = 0x00000001
  push ecx
                     ESP = 0xbffff770
  call SUB           EBP = 0xbffff770
  mov edx, eax
                     EIP = addr of
                           mov eax, [ebp+8]
SUB:
  push ebp
  mov ebp, esp       Stack
  mov eax, [ebp+8]   ADDRESS        VALUE
                       0xbffff770     0xbffff788
  mov esp, ebp         0xbffff774       addr of
  pop ebp                            mov edx, eax

  ret                  0xbffff778     0x00000001
                       0xbffff77C     0x12345678
EAX = 0x00000001
MAIN:                ECX = 0x00000001
  push ecx
                     ESP = 0xbffff770
  call SUB           EBP = 0xbffff770
  mov edx, eax
                     EIP = addr of
                           mov esp, ebp
SUB:
  push ebp
  mov ebp, esp       Stack
  mov eax, [ebp+8]   ADDRESS        VALUE
                       0xbffff770     0xbffff788
  mov esp, ebp         0xbffff774       addr of
  pop ebp                            mov edx, eax

  ret                  0xbffff778     0x00000001
                       0xbffff77C     0x12345678
EAX = 0x00000001
MAIN:                ECX = 0x00000001
  push ecx
                     ESP = 0xbffff774
  call SUB           EBP = 0xbffff788
  mov edx, eax
                     EIP = addr of pop ebp
SUB:
  push ebp
  mov ebp, esp       Stack
  mov eax, [ebp+8]   ADDRESS        VALUE
                       0xbffff770     0xbffff788
  mov esp, ebp         0xbffff774       addr of
  pop ebp                            mov edx, eax

  ret                  0xbffff778     0x00000001
                       0xbffff77C     0x12345678
EAX = 0x00000001
MAIN:                ECX = 0x00000001
  push ecx
                     ESP = 0xbffff778
  call SUB           EBP = 0xbffff788
  mov edx, eax
                     EIP = addr of ret
SUB:
  push ebp
  mov ebp, esp       Stack
  mov eax, [ebp+8]   ADDRESS        VALUE
                       0xbffff770     0xbffff788
  mov esp, ebp         0xbffff774       addr of
  pop ebp                            mov edx, eax

  ret                  0xbffff778     0x00000001
                       0xbffff77C     0x12345678
EAX = 0x00000001
MAIN:                ECX = 0x00000001
  push ecx
                     ESP = 0xbffff778
  call SUB           EBP = 0xbffff788
  mov edx, eax
                     EIP = addr of
                           mov edx, eax
SUB:
  push ebp
  mov ebp, esp       Stack
  mov eax, [ebp+8]   ADDRESS        VALUE
                       0xbffff770     0xbffff788
  mov esp, ebp         0xbffff774       addr of
  pop ebp                            mov edx, eax

  ret                  0xbffff778     0x00000001
                       0xbffff77C     0x12345678

Contenu connexe

Dernier

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 

Dernier (20)

mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 

En vedette

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

En vedette (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Main

  • 1. EAX = 0x00000000 MAIN: ECX = 0x00000001 push ecx ESP = 0xbffff77C call SUB EBP = 0xbffff788 mov edx, eax EIP = MAIN SUB: push ebp mov ebp, esp Stack mov eax, [ebp+8] ADDRESS VALUE 0xbffff770 mov esp, ebp 0xbffff774 pop ebp 0xbffff778 ret 0xbffff77C 0x12345678
  • 2. EAX = 0x00000000 MAIN: ECX = 0x00000001 push ecx ESP = 0xbffff778 call SUB EBP = 0xbffff788 mov edx, eax EIP = addr of push ecx SUB: push ebp mov ebp, esp Stack mov eax, [ebp+8] ADDRESS VALUE 0xbffff770 mov esp, ebp 0xbffff774 pop ebp 0xbffff778 0x00000001 ret 0xbffff77C 0x12345678
  • 3. EAX = 0x00000000 MAIN: ECX = 0x00000001 push ecx ESP = 0xbffff774 call SUB EBP = 0xbffff788 mov edx, eax EIP = addr of call SUB SUB: push ebp mov ebp, esp Stack mov eax, [ebp+8] ADDRESS VALUE 0xbffff770 mov esp, ebp 0xbffff774 addr of pop ebp mov edx, eax ret 0xbffff778 0x00000001 0xbffff77C 0x12345678
  • 4. EAX = 0x00000000 MAIN: ECX = 0x00000001 push ecx ESP = 0xbffff770 call SUB EBP = 0xbffff788 mov edx, eax EIP = addr of push ebp SUB: push ebp mov ebp, esp Stack mov eax, [ebp+8] ADDRESS VALUE 0xbffff770 0xbffff788 mov esp, ebp 0xbffff774 addr of pop ebp mov edx, eax ret 0xbffff778 0x00000001 0xbffff77C 0x12345678
  • 5. EAX = 0x00000000 MAIN: ECX = 0x00000001 push ecx ESP = 0xbffff770 call SUB EBP = 0xbffff770 mov edx, eax EIP = addr of mov ebp, esp SUB: push ebp mov ebp, esp Stack mov eax, [ebp+8] ADDRESS VALUE 0xbffff770 0xbffff788 mov esp, ebp 0xbffff774 addr of pop ebp mov edx, eax ret 0xbffff778 0x00000001 0xbffff77C 0x12345678
  • 6. EAX = 0x00000001 MAIN: ECX = 0x00000001 push ecx ESP = 0xbffff770 call SUB EBP = 0xbffff770 mov edx, eax EIP = addr of mov eax, [ebp+8] SUB: push ebp mov ebp, esp Stack mov eax, [ebp+8] ADDRESS VALUE 0xbffff770 0xbffff788 mov esp, ebp 0xbffff774 addr of pop ebp mov edx, eax ret 0xbffff778 0x00000001 0xbffff77C 0x12345678
  • 7. EAX = 0x00000001 MAIN: ECX = 0x00000001 push ecx ESP = 0xbffff770 call SUB EBP = 0xbffff770 mov edx, eax EIP = addr of mov esp, ebp SUB: push ebp mov ebp, esp Stack mov eax, [ebp+8] ADDRESS VALUE 0xbffff770 0xbffff788 mov esp, ebp 0xbffff774 addr of pop ebp mov edx, eax ret 0xbffff778 0x00000001 0xbffff77C 0x12345678
  • 8. EAX = 0x00000001 MAIN: ECX = 0x00000001 push ecx ESP = 0xbffff774 call SUB EBP = 0xbffff788 mov edx, eax EIP = addr of pop ebp SUB: push ebp mov ebp, esp Stack mov eax, [ebp+8] ADDRESS VALUE 0xbffff770 0xbffff788 mov esp, ebp 0xbffff774 addr of pop ebp mov edx, eax ret 0xbffff778 0x00000001 0xbffff77C 0x12345678
  • 9. EAX = 0x00000001 MAIN: ECX = 0x00000001 push ecx ESP = 0xbffff778 call SUB EBP = 0xbffff788 mov edx, eax EIP = addr of ret SUB: push ebp mov ebp, esp Stack mov eax, [ebp+8] ADDRESS VALUE 0xbffff770 0xbffff788 mov esp, ebp 0xbffff774 addr of pop ebp mov edx, eax ret 0xbffff778 0x00000001 0xbffff77C 0x12345678
  • 10. EAX = 0x00000001 MAIN: ECX = 0x00000001 push ecx ESP = 0xbffff778 call SUB EBP = 0xbffff788 mov edx, eax EIP = addr of mov edx, eax SUB: push ebp mov ebp, esp Stack mov eax, [ebp+8] ADDRESS VALUE 0xbffff770 0xbffff788 mov esp, ebp 0xbffff774 addr of pop ebp mov edx, eax ret 0xbffff778 0x00000001 0xbffff77C 0x12345678