diff --git a/Dockerfile b/Dockerfile index f682628..fd2318e 100755 --- a/Dockerfile +++ b/Dockerfile @@ -53,7 +53,7 @@ RUN git clone https://github.com/php/php-src -b master --depth 1 && cd php-src \ && export LDFLAGS='-g -fsanitize=address -shared-libasan -Wl,-rpath=/usr/lib/llvm-16/lib/clang/16/lib/linux/' \ \ && make -j100 \ - && make install + && make install && echo owo ADD php.ini /etc/php/php.ini diff --git a/README.md b/README.md index 77bcefc..d5b293b 100755 --- a/README.md +++ b/README.md @@ -8,11 +8,11 @@ Edit the branch in `Dockerfile:33` Tested on fa218eab4a9b5304afb871a4405546068cb65008 -1. Composer: always fails +1. Composer: Fixed 2. Psalm: always fails 3. MadelineProto: got a single shutdown hang the first time I tried (even with the new closure fixes), then nothing; expecting an assertion crash 4. Infection (patched): always fails -5. Psalm (unit): hang due to infinite loop in GC +5. Psalm (unit): ? 6. php-parser (unit): always fails 7. Psalm (master, unit): always fails 8. Psalm (patched master, unit): always fails diff --git a/bugs/7_psalm_master.sh b/bugs/7_psalm_master.sh index 85a6506..2dde4b6 100755 --- a/bugs/7_psalm_master.sh +++ b/bugs/7_psalm_master.sh @@ -22,6 +22,6 @@ composer i --ignore-platform-reqs echo "About to run psalm" -docker run -v $PWD:/app --rm --privileged -it asan_tests /usr/bin/php --repeat 2 -f /app/wrap.php /app/psalm --no-cache +docker run -v $PWD:/app --rm --privileged -it asan_tests bash -c 'export USE_ZEND_ALLOC=1; /usr/bin/php --repeat 2 -f /app/wrap.php /app/psalm --no-cache --threads=100' -echo "OK, no bugs!" \ No newline at end of file +echo "OK, no bugs!"