3 # 1. Inject a freshly built object file with a 256 MB data section
4 # into a fresh executable.
5 # 2. Check if the new executable is still functional.
7 source ./boilerplate.sh
9 elfucli --input $BUILDDIR/putsmain \
10 --reladd $BUILDDIR/data256mb.o \
11 --output $BUILDDIR/putsmain-with-data256mb
14 $BUILDDIR/putsmain-with-data256mb | grep -q "puts() #2 called in main()"