Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For this assembly code I need to enter something to defuse the bomb. I know it has to be %d %c %d, can someone help

For this assembly code I need to enter something to defuse the bomb. I know it has to be "%d %c %d", can someone help me to understand the assembly or what the inputs would be?

image text in transcribed

mov mov jmpg calig -40120 01020 Dump of assembler code for function phase_3: Ox0000000000400543 : subo $0x18, $rsp Ox0000000000400547 : lea Ox8 (&rsp), $r8 Ox0000000000400f4c : lea Ox7 (trsp), frcx Ox0000000000400f51 : lea Oxc (trsp), trdx Ox0000000000400f56 : mov $0x4025de, desi Ox0000000000400f5b : $0x0, feax Ox0000000000400f60 : calla Ox400c10 Ox0000000000400f65 : cmp $0x2, seax YUX, Sax Ox0000000000400f68 : jg Ox400f6f Ox0000000000400f6a : callq Ox401624 0x0000000000400f6f : cmpl YUXXC $0x7, Oxc (frsp) Ox0000000000400874 : ja Ox40106f Ox0000000000400f7a : mov Oxc (&rsp), feax Ox0000000000400f7e : jmpa *0x402600 (, frax, 8) Ox0000000000400f85 : mov $0x77, teax Ox0000000000400f8a : cmpl $0x3c7, 0x8 (trsp) Ox0000000000400f92 : je Ox401079 *** Ox0000000000400f98 : callq Ox401624 Ox0000000000400f9d : $0x77, teax Ox0000000000400fa2 : jmpg Ox401079 Ox0000000000400fa? : mov $0x69, teax Ox0000000000400fac : cmpl $oxa 9, 0x8 (krsp) --Type to continue, or q to quit--- Ox0000000000400fb4 : Ox401079 Ox0000000000400fba : callq Ox401624 Ox0000000000400fbf : mov $0x69, feax * Ox0000000000400fc4 Ox0000000000400fc9 : mov $0x62, feax Ox0000000000400fce : cmpl $0x155, 0x8 (trap) Ox0000000000400fd6 : Ox401079 Ox0000000000400fdc : sas. Ox401624 Tos Ox0000000000400fel : mov $0x62, feax incas Ox0000000000400fe6 : jmpa Ox401079 Fabius Ox0000000000400feb : mov $0x63, feax FENO Ox0000000000400ff0 : cmpl $Oxlad, 0x8 (trap) *** Ox0000000000400ff8 : je Ox401079 Ox0000000000400ffa : Ox401624 100 Ox0000000000400fff : mov $0x63, feax ON Ox0000000000401004 : jmp Ox401079 TES See Ox0000000000401006 : mov $0x6e, feax co Ox000000000040100b : cmpl Ox0000000000401013 : Ox401079 Ox0000000000401015 : call 0x401624 Ox000000000040101a : mov $0x6e, seax 101 103 Ox000000000040101f : jmp Ox401079 Ox0000000000401021 : mov $0, eax --Type to continue, or q to quit--- Ox0000000000401026 : cmpl $0x7d, 0x8 (&rsp) Ox000000000040102b : Ox401079 Ox000000000040102d : callq Ox401624 SON. Ox0000000000401032 : mov $0x6a, Seax DAS Ox0000000000401037 : jmp Ox401079 Ox0000000000401039 : mov $0x6f, Seax Ox000000000040103e : cmpl $0x315, 0x8 (frsp) Ox0000000000401046 : Ox401079 Ox0000000000401048 : callq Ox401624 Ox000000000040104d : mov $0x6f, feax Ox0000000000401052 : jmp Ox401079 Ox0000000000401054 : mov $0x6d, seax Ox0000000000401059 : cmpl $0x9b, 0x8 (frsp) w Ox0000000000401061 : Ox401079 0x0000000000401063 : callq Ox401624 Ox0000000000401068 : mov $0x6d, teax La Ox0000000000401060 : jmp Ox401079 Ox000000000040106f : callq 0x401624 Ox0000000000401074 : mov $0x63, feax *** Ox0000000000401079 : cmp Ox7 (&rsp), tal Ox000000000040107d : Ox401084 Ox000000000040107f : callg Ox 401624 Ox0000000000401084 : add $0x18, frsp ---Type to continue, or a to quit--- Ox0000000000401088 : reta End of assembler dump. calig )

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

How else would you analyze purchase transactions?

Answered: 1 week ago