Game
-
Game - pwnable.xyzWrite-ups/pwnable.xyz 2020. 2. 12. 21:33
Prob Info int __cdecl __noreturn main(int argc, const char **argv, const char **envp) { const char *v3; // rdi signed int v4; // eax setup(); v3 = "Shell we play a game?"; puts("Shell we play a game?"); init_game(); while ( 1 ) { while ( 1 ) { print_menu(v3, argv); v3 = "> "; printf("> "); v4 = read_int32(); if ( v4 != 1 ) break; (*((void (**)(void))cur + 3))(); } if ( v4 > 1 ) { if ( v4 == 2 ) ..