0

help me...i don't know how to solve this bomb lab phase_3

can anyone teach me how to solve it? thanks Dump of assembler code for function phase_3: 0x0000000000401470 <+0>: push %rbp 0x0000000000401471 <+1>: mov %rsp,%rbp 0x0000000000401474 <+4>: sub $0x10,%rsp 0x0000000000401478 <+8>: lea -0x8(%rbp),%rcx 0x000000000040147c <+12>: lea -0x4(%rbp),%rdx 0x0000000000401480 <+16>: mov $0x40330f,%esi 0x0000000000401485 <+21>: mov $0x0,%eax 0x000000000040148a <+26>: callq 0x401110 <__isoc99_sscanf@plt> 0x000000000040148f <+31>: cmp $0x1,%eax 0x0000000000401492 <+34>: jle 0x4014a5 <phase_3+53> 0x0000000000401494 <+36>: mov -0x4(%rbp),%eax 0x0000000000401497 <+39>: cmp $0x7,%eax 0x000000000040149a <+42>: ja 0x4014e2 <phase_3+114> 0x000000000040149c <+44>: mov %eax,%eax 0x000000000040149e <+46>: jmpq *0x4031b0(,%rax,8) 0x00000000004014a5 <+53>: callq 0x40190e <explode_bomb> 0x00000000004014aa <+58>: jmp 0x401494 <phase_3+36> 0x00000000004014ac <+60>: mov $0x2ab,%eax 0x00000000004014b1 <+65>: cmp %eax,-0x8(%rbp) 0x00000000004014b4 <+68>: jne 0x4014f5 <phase_3+133> 0x00000000004014b6 <+70>: leaveq 0x00000000004014b7 <+71>: retq 0x00000000004014b8 <+72>: mov $0x282,%eax 0x00000000004014bd <+77>: jmp 0x4014b1 <phase_3+65> 0x00000000004014bf <+79>: mov $0x5e,%eax 0x00000000004014c4 <+84>: jmp 0x4014b1 <phase_3+65> 0x00000000004014c6 <+86>: mov $0x270,%eax --Type <RET> for more, q to quit, c to continue without paging--c 0x00000000004014cb <+91>: jmp 0x4014b1 <phase_3+65> 0x00000000004014cd <+93>: mov $0x63,%eax 0x00000000004014d2 <+98>: jmp 0x4014b1 <phase_3+65> 0x00000000004014d4 <+100>: mov $0x75,%eax 0x00000000004014d9 <+105>: jmp 0x4014b1 <phase_3+65> 0x00000000004014db <+107>: mov $0x62,%eax 0x00000000004014e0 <+112>: jmp 0x4014b1 <phase_3+65> 0x00000000004014e2 <+114>: callq 0x40190e <explode_bomb> 0x00000000004014e7 <+119>: mov $0x

3rd Oct 2022, 11:56 PM
jie
jie - avatar
1 Resposta
0
May God help you.
23rd Jun 2023, 2:45 PM
Souhail Ben Belhassen
Souhail Ben Belhassen - avatar