leaking_addresses: use system command to get arch
authorTobin C. Harding <me@tobin.cc>
Fri, 5 Jan 2018 22:24:49 +0000 (09:24 +1100)
committerTobin C. Harding <me@tobin.cc>
Fri, 6 Apr 2018 22:50:34 +0000 (08:50 +1000)
commit6efb7458280a8f5d4c1955324e9d8985e90a882b
treed73b113a0ac2fcb6da5c1bd2f831e336c7a93f0e
parent2f042c93a138f87a2f85e80daa5dbab6bf138045
leaking_addresses: use system command to get arch

Currently script uses Perl to get the machine architecture. This can be
erroneous since Perl uses the architecture of the machine that Perl was
compiled on not the architecture of the running machine. We should use
the systems `uname` command instead.

Use `uname -m` instead of Perl to get the machine architecture.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
scripts/leaking_addresses.pl