RG
Size: a a a
VR
root@vsi:/mnt/f# gcc -o test test.c
root@vsi:/mnt/f# ltrace ./test
strrchr("./test", '/') = "/test"
printf("usage: %s <password>\n", "test"usage: test <password>
) = 23
+++ exited (status 0) +++
root@vsi:/mnt/f# ltrace ./test lol
strcmp("lol", "piretrum1337") = -4
puts("incorrect password!\n"incorrect password!
) = 21
+++ exited (status 0) +++
root@vsi:/mnt/f# file test
test: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=b499f37118ba3f32f2ff85a78459680233781858, not stripped
VR
VR
VR
VR
RG
VR
gcc -fcf-protection=none -o test test.c
VR
VR