(Revised comment form above (so you can accept it)):
Detailed syscall parameters can be found in the Linux kernel header syscalls.h . In the above case, since sys_access (# 33 on x86) has only two parameters:
- first a pointer to the file name, so your file name was saved at 0x4c4d8e
- The second parameter is the file mode (see the mode flag)
- since there is no third parameter in this syscall, edx does not matter and contains some undefined value
The return value of this syscall is -2 (ENOENT defined in errno-base.h ), which means an error (there is no such file or directory).
Also note (see Basile comment above) that you are duplicating strace functionality.
source share