jit_bugs/bugs/3_madeline.sh

20 lines
372 B
Bash
Raw Normal View History

2023-10-23 23:42:45 +02:00
#!/bin/bash -e
standalone=$PWD/bugs/wrap_madeline.php
2023-10-24 17:50:54 +02:00
refactor=$PWD/refactor.php
2023-10-23 23:42:45 +02:00
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
2023-10-24 17:50:54 +02:00
php $refactor
docker run -v $PWD:/app --rm --privileged -it asan_tests /usr/bin/php --repeat 2 -d opcache.blacklist_filename=b.txt -f /app/wrap.php test.php