In /usr/bin/valgrind line 24:
exec $0.bin "$@"
     ^-- SC2086: Double quote to prevent globbing and word splitting.

Did you mean: 
exec "$0".bin "$@"

For more information:
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...