So I'm trying to figure out what this function does, but I'm a little puzzled by this instruction sequence:
mov -0x4(%rsp),%eax
lea 0x0(,%rax,8),%edx
There isn't a mention of rax within the function before that. What would be the value within the rax register--is it just the top of the stack?
The previous line was mov -0x4(%rsp),%eax
, so is it just whatever's in eax
?