-
Notifications
You must be signed in to change notification settings - Fork 3
/
run_tests.sh
executable file
·20 lines (14 loc) · 1.26 KB
/
run_tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
echo "Running dynamically linked x86-64 test"
../qemu/build/qemu-x86_64 -plugin ./libibresolver.so,output="tests/x86-64/fn_ptr.csv" tests/x86-64/fn_ptr.elf
echo "Running dynamically linked x86-64 test with an offset .text section"
../qemu/build/qemu-x86_64 -plugin ./libibresolver.so,output="tests/x86-64/fn_ptr-offset-text.csv" tests/x86-64/fn_ptr-offset-text.elf
echo "Running statically linked x86-64 test"
../qemu/build/qemu-x86_64 -plugin ./libibresolver.so,output="tests/x86-64/fn_ptr-static.csv" tests/x86-64/fn_ptr-static.elf
echo "Running dynamically linked arm32 test"
../qemu/build/qemu-arm -L /usr/arm-linux-gnueabihf/ -plugin ./libibresolver.so,output="tests/arm32/fn_ptr.csv" tests/arm32/fn_ptr.elf
echo "Running statically linked arm32 test"
../qemu/build/qemu-arm -plugin ./libibresolver.so,output="tests/arm32/fn_ptr-static.csv" tests/arm32/fn_ptr-static.elf
echo "Running dynamically linked arm32/arm_thumb_mixed test"
../qemu/build/qemu-arm -L /usr/arm-linux-gnueabihf/ -plugin ./libibresolver.so,output="tests/arm32/arm_thumb_mixed.csv" tests/arm32/arm_thumb_mixed.elf
echo "Running statically linked arm32/arm_thumb_mixed test"
../qemu/build/qemu-arm -plugin ./libibresolver.so,output="tests/arm32/arm_thumb_mixed-static.csv" tests/arm32/arm_thumb_mixed-static.elf