Slide 18
Slide 18 text
Calling Convention
int callee(int, int, int);
int caller(void)
{
return callee(1, 2, 3) + 5;
}
caller:
push ebp
mov ebp, esp
push 3
push 2
push 1
call callee
add eax, 5
add esp, 12
mov esp, ebp
pop ebp
ret
en.wikipedia.org/wiki/X86_calling_conventions
therefore, it's easy for analysis tools,
just follow calling convention,
and turn it back to C/C++ codes, ...Right?