While reverse enginnering a simple C program for training, I asked myself what was the point of those lines :
LAB_001006b5 XREF: 0010069d(j) 001006b5 48 8b 45 e0 MOV RAX,qword ptr [RBP + local_28] 001006b9 48 83 c0 08 ADD RAX,0x8 001006bd 48 8b 00 MOV RAX,qword ptr [RAX] 001006c0 48 89 c7 MOV argc,RAX 001006c3 e8 98 fe CALL <EXTERNAL>::atoi int atoi(char * __nptr) ff ff
I thought that the function atoi called from the CALL instruction just pop the param from the stack (so lines from 001006b5 to 001006c0 were pointless ?) Am I getting it right or not?
Last question : what "MOV argc,RAX" means ?? I mean, argc is a constant ?