Question: Binary Bomb Lab - Phase 4: (x86 Assembly) I am getting lost when running the gdb through the assembly code. Can some translate the code

Binary Bomb Lab - Phase 4: (x86 Assembly)

I am getting lost when running the gdb through the assembly code. Can some translate the code and explain it in simple terms please?

Binary Bomb Lab - Phase 4: (x86 Assembly) I am getting lost

func4:

when running the gdb through the assembly code. Can some translate the

isoc99_sscanf@plt:

code and explain it in simple terms please? func4: isoc99_sscanf@plt: 000000000040109f :

000000000040109f : 40109f: 4010a0: 4010a3: 4010a7 4010ab: 4010af: 4010b4: 4010b9: 4010be: 4010c1: 4010c3: 4010c6: 4010c9: 4010cc: 4010ce: 4010d3: 4010d8: 4010dd: 4010e0: 4010e5: 4010e8: 4010ea: 4010ee: 4010f0: 4010f5: 4010f6: push mov sub %rbp %rsp , %rbp $8x10,%rsp 48 89 e5 48 83 ec 10 48 8d 4d fc 48 8d 55 f8 be cd 29 40 00 b8 00 00 00 00 e8 b2 fb ff ff 83 f8 02 15 5 8 8b 45 f8 83 e8 20 83 f8 le 76 05 6x4 ( %rbp ) , %rcx lea -9x8 (%rbp ) ,%rdx mov $6x4023cd , %esi mov $6x0,%eax callq 400c70 mov sub $6x20 , %eax cmp $0x1e,%eax jbe 4010d3 callq 40166e cmpl $6x1,-9x4 (%rbp) je 4010f5 callq 40166e Leaveq 0x8 (%rbp), %eax ba 3e 00 00 00 8b 7d f8 e8 7f ff ff ff 83 f8 01 75 06 83 7d fc 01 74 05 e8 79 05 00 00 000000000040109f : 40109f: 4010a0: 4010a3: 4010a7 4010ab: 4010af: 4010b4: 4010b9: 4010be: 4010c1: 4010c3: 4010c6: 4010c9: 4010cc: 4010ce: 4010d3: 4010d8: 4010dd: 4010e0: 4010e5: 4010e8: 4010ea: 4010ee: 4010f0: 4010f5: 4010f6: push mov sub %rbp %rsp , %rbp $8x10,%rsp 48 89 e5 48 83 ec 10 48 8d 4d fc 48 8d 55 f8 be cd 29 40 00 b8 00 00 00 00 e8 b2 fb ff ff 83 f8 02 15 5 8 8b 45 f8 83 e8 20 83 f8 le 76 05 6x4 ( %rbp ) , %rcx lea -9x8 (%rbp ) ,%rdx mov $6x4023cd , %esi mov $6x0,%eax callq 400c70 mov sub $6x20 , %eax cmp $0x1e,%eax jbe 4010d3 callq 40166e cmpl $6x1,-9x4 (%rbp) je 4010f5 callq 40166e Leaveq 0x8 (%rbp), %eax ba 3e 00 00 00 8b 7d f8 e8 7f ff ff ff 83 f8 01 75 06 83 7d fc 01 74 05 e8 79 05 00 00

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!