mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 07:28:13 +00:00
44 lines
943 B
Bash
Executable file
44 lines
943 B
Bash
Executable file
#!/bin/sh
|
|
|
|
[ -z "${UNAME}" ] && UNAME=$(uname)
|
|
|
|
DIR=`dirname $0`
|
|
|
|
if [ "$UNAME" = Darwin ]; then
|
|
export DYLD_LIBRARY_PATH=.
|
|
else
|
|
export LD_LIBRARY_PATH=.
|
|
fi
|
|
|
|
if test -e $DIR/sample_x86; then
|
|
echo "=========================="
|
|
$DIR/sample_x86 -32
|
|
echo "=========================="
|
|
$DIR/sample_x86 -64
|
|
echo "=========================="
|
|
$DIR/sample_x86 -16
|
|
echo "=========================="
|
|
$DIR/shellcode -32
|
|
echo "=========================="
|
|
$DIR/mem_apis
|
|
fi
|
|
if test -e $DIR/sample_arm; then
|
|
echo "=========================="
|
|
$DIR/sample_arm
|
|
fi
|
|
if test -e $DIR/sample_arm64; then
|
|
echo "=========================="
|
|
$DIR/sample_arm64
|
|
fi
|
|
if test -e $DIR/sample_mips; then
|
|
echo "=========================="
|
|
$DIR/sample_mips
|
|
fi
|
|
if test -e $DIR/sample_sparc; then
|
|
echo "=========================="
|
|
$DIR/sample_sparc
|
|
fi
|
|
if test -e $DIR/sample_m68k; then
|
|
echo "=========================="
|
|
$DIR/sample_m68k
|
|
fi
|