Question: Bomblab p2 - finding 6 numbers Dump of assembler code for function phase_2: => 0x0000000000400e6c : push %rbp 0x0000000000400e6d : push %rbx 0x0000000000400e6e : sub
Bomblab p2 - finding 6 numbers
Dump of assembler code for function phase_2: => 0x0000000000400e6c <+0>: push %rbp 0x0000000000400e6d <+1>: push %rbx 0x0000000000400e6e <+2>: sub $0x28,%rsp 0x0000000000400e72 <+6>: mov %rsp,%rsi 0x0000000000400e75 <+9>: callq 0x401361
I'm using gdb to try and determine the 6 sequential numbers that will be output for this, but I'm having a lot of trouble. I decompiled this and found this phase_2 code, but I'm struggling with it:
void phase_2(struct s0* rdi, struct s0* rsi, struct s0* rdx, struct s0* rcx, struct s0** r8, void* r9) { struct s0* rsp7; struct s0* rsi8; int32_t* rsp9; int32_t v10; struct s0** v11; struct s0** v12; int64_t v13; int32_t* rbx14; int32_t* rbp15; int32_t v16; int32_t v17; struct s0** v18; struct s0** v19; int64_t v20;
rsp7 = reinterpret_cast
Can anyone point me in the right direction?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
