blob: 52405b632792a9375bae998bcd35281e681ebf20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/sh
# Test if elfu can inject a x86-32 object file into an x86-32
# executable. Since both are given, we can compare the output to a
# reference file.
source ./boilerplate.sh
elfucli --input reference/putsmain32 \
--reladd reference/puts-alternative32.o \
--output $BUILDDIR/putsmain32-with-puts-alternative32
test_check_retval
cmp reference/putsmain32-with-puts-alternative32 \
$BUILDDIR/putsmain32-with-puts-alternative32
test_check_retval
|