if (proc_self_exe) {
// do the syscall with VG_(resolved_exename)
- SET_STATUS_from_SysRes(VG_(do_syscall3)(SYSNO, (Word)VG_(resolved_exename), ARG2, ARG3));
- return;
+ ARG1 = (Word)VG_(resolved_exename);
}
#endif // defined(VGO_linux)
if (proc_self_exe) {
// do the syscall with VG_(resolved_exename)
- SET_STATUS_from_SysRes(VG_(do_syscall4)(SYSNO, ARG1, (Word)VG_(resolved_exename), ARG3, ARG4));
- return;
+ ARG2 = (Word)VG_(resolved_exename);
}
/* Otherwise handle normally */
if (proc_self_exe) {
// do the syscall with VG_(resolved_exename)
- SET_STATUS_from_SysRes(VG_(do_syscall4)(SYSNO, ARG1, (Word)VG_(resolved_exename), ARG3, ARG4));
- return;
+ ARG2 = (Word)VG_(resolved_exename);
}
/* Otherwise handle normally */