jit_bugs/bugs/3_madeline.sh

16 lines
318 B
Bash
Raw Normal View History

2023-10-23 23:42:45 +02:00
#!/bin/bash -e
standalone=$PWD/bugs/wrap_madeline.php
cd /tmp
rm -rf jit_test
wget https://paste.daniil.it/jit_1.tar.xz -c
2023-10-23 23:48:34 +02:00
tar -xf jit_1.tar.xz
2023-10-23 23:42:45 +02:00
cd jit_test
cp $standalone wrap.php
docker run -v $PWD:/app --rm --privileged -it asan_tests /usr/bin/php -d opcache.blacklist_filename=b.txt -f /app/wrap.php test.php