Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Dump of assembler code for function phase_4: => 0x0000000000401040 : 0x0000000000401044 : 0x0000000000401049 : 0x000000000040104e : 0x0000000000401053 : 0x0000000000401058 : 0x000000000040105d : cmp 0x0000000000401060
Dump of assembler code for function phase_4: => 0x0000000000401040 : 0x0000000000401044 : 0x0000000000401049 : 0x000000000040104e : 0x0000000000401053 : 0x0000000000401058 : 0x000000000040105d : cmp 0x0000000000401060 : jne 0x0000000000401062 : 0x0000000000401067 : 0x0000000000401069 : callq 0x000000000040106e : 0x0000000000401073 : 0x0000000000401078 : 0xc (%rsp), %edi 0x000000000040107c : callq 0x40100e 0x0000000000401081 : cmp 0x0000000000401084 : jne $0xb,%eax 0x40108d 0x0000000000401086 : cmp1 $0xb, 0x8 (%rsp) 0x000000000040108b : je 0x401092 0x000000000040108d : callq 0x40153e 0x0000000000401092 : add $0x18,%rsp 0x0000000000401096 : retq sub lea lea mov mov $0x0,%eax callq 0x400c30 $0x2,%eax 0x401069 $0xe, 0xc (%rsp) cmpl jbe $0x18,%rsp 0x8 (%rsp), %rcx 0xc (%rsp), %rdx $0x402745,%esi mov mov mov 0x40106e 0x40153e $0xe,%edx $0x0,%esi Dump of assembler code for function func4: => 0x000000000040100e : 0x000000000040100f : 0x0000000000401011 : 0x0000000000401013 : 0x0000000000401015 : 0x0000000000401018 : 0x000000000040101a : 0x000000000040101c : 0x000000000040101e : cmp 0x0000000000401020 : jg 0x0000000000401022 : jl mov 0x0000000000401024 : 0x0000000000401026 : pop 0x0000000000401027 : retq 0x0000000000401028 : lea 0x000000000040102b : 0x0000000000401030 : 0x0000000000401032 : jmp 0x0000000000401034 : lea 0x0000000000401037 : callq add 0x000000000040103c : 0x000000000040103e : jmp push mov sub mov shr add sar add %rbx %edx, %eax %esi,%eax %eax,%ebx $0x1f,%ebx %eax,%ebx %ebx %esi,%ebx %edi,%ebx 0x401028 0x401034 %ebx,%eax %rbx -0x1(%rbx),%edx callq 0x40100e add %eax,%ebx 0x401024 0x1(%rbx),%esi 0x40100e %eax,%ebx 0x401024
Step by Step Solution
★★★★★
3.32 Rating (158 Votes )
There are 3 Steps involved in it
Step: 1
ANSWER The function phase4 takes two arguments stored in rcx and rdx respectively and performs the following operations 1 Subtracts 0x18 from rsp to a...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started