Hello, if anyone knows about assembly and C, I would appreciate you to help me in this:
Let's say I have the following assembly codes:
Which assembly function corresponds with its C function?Code:F1: lea ex, [0+rdi*16] ret F2: movzx eax, BYTE PTR [rdi+4] ret F3: mov eax, DWORD PTR [rdi+16] ret F4: mov eax,edi sal eax,2 ret Now I have the following C codes: int scooby(int* a){ return a[4]; } int scrappy(char*a) { return a[4]; }