Question 1. A student, while debugging his program, unintentionally displayed partially corrupted DISSASSEMBLY windows in MS Visual Studio Debug environment. He was able to display correctly Register window, and two Memory windows. His task was to detemine addresses of variables in the expression result = LocalInt + StatInt in Memory at the instance of the snapshot. He is not allowed to restart the debug session. Can you help him to answer the following questions: static int result 0; Memory 2 Memory 1 static int StotInt - -23; 00 00 00 00 00 00 00 00 int moin() OX09CFF81B BX99CFF81C OX99CFF81D 02 push ebp ebp,esp esp,008h ebx DODT1750 55 BODF1751 BD EC nov 00 fb ff ff ff OX00CFF81F Ox00CFF820 DODF1753 B1 EC Da D0 00 60 sub 81 00 00 00 24 00 00 00 0ODF1759 53 push DODF175A 56 push esi in DODF175B 57 push edi 00 00 00 00 90 00 ee 0 lea ed1, [ebp-ODah] ecx,36h eax,BCCccCcch 0ODF175C BD BD 28 FF FF FF 99 00 00 00 d2 10 df 09 99 00 00 09 0ODF1762 B9 36 00 00 00 OX00CFF824 nov LL BODF1767 BB CC CC CC CC nov CC נ CC ta f9 i ff y ff ý ff y Cc i dword ptr es:[edi] ecx,offset _E1EFIAA4 OKƏOCFF827 @_CheckrorDebuggerOxoOCFFa28 DODF176C F3 AB rep stos OX0OCFF826 92 00 G0 09 99 00 0e 09 90 01 00 00 ff ff ff f 0ODF176E 39 00 ce DF O0 nov 0ODF1773 EB 8F FB FF FF call int statint = -7; DODF1778 C7 45 F8 F9 FF FF FF nov dword ptr [StatInt]. exaocFF82A ff ff ff ff i Gx0ODFUE ff ff ff ff ff ff ff ff int LocalInt = 2; 0ODF177F C7 45 EC 02 00 00 00 nov dword ptr [LocalInt]exaaCFF82C result = LocalInt + StatInt; CC Registers eax, dword ptr [Local exa0CFF8ZE eax, dword ptr [StatIexa@CFF82F dward ptr [result (0ex98CFF830 50 BODF1786 88 45 EC nov BODF1789 03 45 F8 add EAX = 00000aga BODF178C A3 38 A1 DF 00 nov EBX = 00B6C000 OX98CFF831 fB ECX = 6ØDFC800 cf EDX = 0000001 DODF1791 33 ce O BODF1793 5F xor ESI = O0DF1023 eax, eax edi pop Sims alapsed BX08CFF834 c3 EDI = 6OCFFB30 9ODF1701 5E pop csi la EIP - GODF1793 BODF1795 58 ebx Ox08CFF836 df E ESP = 0OCFF74C pop add BODF1796 81 C4 D8 99 00 e esp,008h ebp, esp EBP = 0OCFFB30 DODF179C 3B EC cnp rall 100 % AANF179F FR AN FA FF FF ATC CherkEsn (ADF173Ah)
Question 1. A student, while debugging his program, unintentionally displayed partially corrupted DISSASSEMBLY windows in MS Visual Studio Debug environment. He was able to display correctly Register window, and two Memory windows. His task was to detemine addresses of variables in the expression result = LocalInt + StatInt in Memory at the instance of the snapshot. He is not allowed to restart the debug session. Can you help him to answer the following questions: static int result 0; Memory 2 Memory 1 static int StotInt - -23; 00 00 00 00 00 00 00 00 int moin() OX09CFF81B BX99CFF81C OX99CFF81D 02 push ebp ebp,esp esp,008h ebx DODT1750 55 BODF1751 BD EC nov 00 fb ff ff ff OX00CFF81F Ox00CFF820 DODF1753 B1 EC Da D0 00 60 sub 81 00 00 00 24 00 00 00 0ODF1759 53 push DODF175A 56 push esi in DODF175B 57 push edi 00 00 00 00 90 00 ee 0 lea ed1, [ebp-ODah] ecx,36h eax,BCCccCcch 0ODF175C BD BD 28 FF FF FF 99 00 00 00 d2 10 df 09 99 00 00 09 0ODF1762 B9 36 00 00 00 OX00CFF824 nov LL BODF1767 BB CC CC CC CC nov CC נ CC ta f9 i ff y ff ý ff y Cc i dword ptr es:[edi] ecx,offset _E1EFIAA4 OKƏOCFF827 @_CheckrorDebuggerOxoOCFFa28 DODF176C F3 AB rep stos OX0OCFF826 92 00 G0 09 99 00 0e 09 90 01 00 00 ff ff ff f 0ODF176E 39 00 ce DF O0 nov 0ODF1773 EB 8F FB FF FF call int statint = -7; DODF1778 C7 45 F8 F9 FF FF FF nov dword ptr [StatInt]. exaocFF82A ff ff ff ff i Gx0ODFUE ff ff ff ff ff ff ff ff int LocalInt = 2; 0ODF177F C7 45 EC 02 00 00 00 nov dword ptr [LocalInt]exaaCFF82C result = LocalInt + StatInt; CC Registers eax, dword ptr [Local exa0CFF8ZE eax, dword ptr [StatIexa@CFF82F dward ptr [result (0ex98CFF830 50 BODF1786 88 45 EC nov BODF1789 03 45 F8 add EAX = 00000aga BODF178C A3 38 A1 DF 00 nov EBX = 00B6C000 OX98CFF831 fB ECX = 6ØDFC800 cf EDX = 0000001 DODF1791 33 ce O BODF1793 5F xor ESI = O0DF1023 eax, eax edi pop Sims alapsed BX08CFF834 c3 EDI = 6OCFFB30 9ODF1701 5E pop csi la EIP - GODF1793 BODF1795 58 ebx Ox08CFF836 df E ESP = 0OCFF74C pop add BODF1796 81 C4 D8 99 00 e esp,008h ebp, esp EBP = 0OCFFB30 DODF179C 3B EC cnp rall 100 % AANF179F FR AN FA FF FF ATC CherkEsn (ADF173Ah)
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY