$ ./pt_linux_x64 # there is no output
$ strace ./pt_linux_x64 # prints
execve("./pt_linux_x64", ["./pt_linux_x64"], [/* 33 vars */]) = -1 ENOEXEC (Exec format error)
write(2, "strace: exec: Exec format error\n", 32strace: exec: Exec format error
) = 32
exit_group(1) = ?
+++ exited with 1 +++
and here is the information about my machine:
Linux version 4.18.0 (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.11)) #1 SMP Fri Sep 24 02:26:50 CST 2021
$ strace ./pt_linux_x64 # prints
execve("./pt_linux_x64", ["./pt_linux_x64"], [/* 33 vars */]) = -1 ENOEXEC (Exec format error)
write(2, "strace: exec: Exec format error\n", 32strace: exec: Exec format error
) = 32
exit_group(1) = ?
+++ exited with 1 +++
and here is the information about my machine:
Linux version 4.18.0 (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.11)) #1 SMP Fri Sep 24 02:26:50 CST 2021
Comment