Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This code here checks for 2 digits i think, if these 2 digits are not correctly inputted, it goes to the explode bomb function, can

This code here checks for 2 digits i think, if these 2 digits are not correctly inputted, it goes to the explode bomb function, can you find the 2 correct digits by analyzing the assembly code provided and get to the end of the compiler without calling explode bomb? 0x00005555555557ff <+0>: endbr64
0x0000555555555803<+4>: push %rbp
0x0000555555555804<+5>: push %rbx
0x0000555555555805<+6>: sub $0x1b8,%rsp
0x000055555555580c <+13>: mov %rdi,%r10
0x000055555555580f <+16>: mov %fs:0x28,%rax
0x0000555555555818<+25>: mov %rax,0x1a8(%rsp)
0x0000555555555820<+33>: xor %eax,%eax
0x0000555555555822<+35>: movl $0xb,0x10(%rsp)
0x000055555555582a <+43>: movq $0x0,0x18(%rsp)
0x0000555555555833<+52>: movq $0x0,0x28(%rsp)
0x000055555555583c <+61>: movl $0xd,0x30(%rsp)
0x0000555555555844<+69>: lea 0x10(%rsp),%r11
0x0000555555555849<+74>: mov %r11,0x38(%rsp)
0x000055555555584e <+79>: movq $0x0,0x48(%rsp)
0x0000555555555857<+88>: movl $0x19,0x50(%rsp)
0x000055555555585f <+96>: lea 0x30(%rsp),%rax
0x0000555555555864<+101>: mov %rax,0x58(%rsp)
0x0000555555555869<+106>: mov %r11,0x68(%rsp)
0x000055555555586e <+111>: movl $0xfffffff4,0x70(%rsp)
0x0000555555555876<+119>: lea 0x50(%rsp),%rdx
0x000055555555587b <+124>: mov %rdx,0x78(%rsp)
0x0000555555555880<+129>: mov %rax,0x88(%rsp)
0x0000555555555888<+137>: movl $0xffffffcd,0x90(%rsp)
0x0000555555555893<+148>: lea 0x70(%rsp),%rcx
0x0000555555555898<+153>: mov %rcx,0x98(%rsp)
0x00005555555558a0<+161>: mov %rdx,0xa8(%rsp)
0x00005555555558a8<+169>: movl $0x52,0xb0(%rsp)
0x00005555555558b3<+180>: lea 0x90(%rsp),%rsi
0x00005555555558bb <+188>: mov %rsi,0xb8(%rsp)
0x00005555555558c3<+196>: mov %rcx,0xc8(%rsp)
0x00005555555558cb <+204>: movl $0xffffffff,0xd0(%rsp)
0x00005555555558d6<+215>: lea 0xb0(%rsp),%rdi
0x00005555555558de <+223>: mov %rdi,0xd8(%rsp)
0x00005555555558e6<+231>: mov %rsi,0xe8(%rsp)
0x00005555555558ee <+239>: movl $0xd3,0xf0(%rsp)
0x00005555555558f9<+250>: lea 0xd0(%rsp),%r8
0x0000555555555901<+258>: mov %r8,0xf8(%rsp)
0x0000555555555909<+266>: mov %rdi,0x108(%rsp)
0x0000555555555911<+274>: movl $0xfffffffb,0x110(%rsp)
0x000055555555591c <+285>: lea 0xf0(%rsp),%r9
0x0000555555555924<+293>: mov %r9,0x118(%rsp)
0x000055555555592c <+301>: mov %r8,0x128(%rsp)
0x0000555555555934<+309>: movl $0xd,0x130(%rsp)
0x000055555555593f <+320>: lea 0x110(%rsp),%rbx
0x00005555555

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

The Accidental Data Scientist

Authors: Amy Affelt

1st Edition

1573877077, 9781573877077

More Books

Students also viewed these Databases questions