Question: Following is the C code that was recovered for funci: int funci( int x, int y) { int t1 = func3( &x); printf(ti is: %d

Following is the C code that was recovered for funci: int funci( int x, int y) { int t1 = func3( &x); printf("ti is: %d ", t1); int t2 = func3( &y); printf("t2 is: %d ", t2); if ( tl > t2 ) { return tl; } return t2; } %rbp # SETUP ####### # # # And here is the assembly code for func3 Dump of assembler code for function func3: Ox0000000000400666 push Ox0000000000400667 : mov (%rsp), %rbp => 0x000000000040066a : sub $0x20, %rsp Ox000000000040066e : mov %rdi, -Ox18(%rbp) Ox0000000000400672 : movl $0x1, -0x4(%rbp) Ox0000000000400679 : mov -Ox18, (%rbp), %rax Ox000000000040067d : mov (%rax),%eax Ox000000000040067f : $0x4, %eax x400682 : jle 0x4006a7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
