Test: /sapi/phpdbg/tests/stdin_001.phpt - Version 7.1.0    

There are 10 different diffs reported by users for this test.

Count Diff
140 (61%)
008+
009+ Termsig=11
008- prompt> [Breakpoint #0 at -:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
37 (16%)
008+ Segmentation fault
009+
010+ Termsig=11
008- prompt> [Breakpoint #0 at -:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
29 (13%)
008+ Segmentation fault (core dumped)
009+
010+ Termsig=11
008- prompt> [Breakpoint #0 at -:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
15 (7%)
008- prompt> [Breakpoint #0 at -:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
3 (1%)
2 (1%)
001+
001- prompt> [Successful compilation of stdin input]
002- prompt> [Breakpoint #0 added at -:3]
003- prompt> [Breakpoint #0 at -:3, hits: 1]
004- >00003: echo "Hello, world!\n";
005- 00004:
006- prompt> Hello, world!
007- [Script ended normally]
008- prompt> [Breakpoint #0 at -:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
1 (0%)
011+ prompt>
011- prompt>
012+ =================================================================
013+ ==17854==ERROR: LeakSanitizer: detected memory leaks
014+
015+ Direct leak of 88 byte(s) in 1 object(s) allocated from:
016+ #0 0x4e6360 in calloc /home/fuzzer/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cc:72:3
017+ #1 0x1d028eb in phpdbg_stack_push (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1d028eb)
018+ #2 0x1c84a0f in phpdbg_parse (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c84a0f)
019+ #3 0x1c88309 in phpdbg_do_parse (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c88309)
020+ #4 0x1cac543 in phpdbg_interactive (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1cac543)
021+ #5 0x1c7c28a in main (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c7c28a)
022+ #6 0x7f3b2ba1982f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
023+
024+ Direct leak of 8 byte(s) in 1 object(s) allocated from:
025+ #0 0x4d288a in strdup /home/fuzzer/llvm/projects/compiler-rt/lib/asan/asan_interceptors.cc:562:3
026+ #1 0x1ce776a in phpdbg_set_prompt (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1ce776a)
027+ #2 0x1c797af in main (/home/fuzzer/PHP/php-7.1.0/sapi/phpdbg/phpdbg+0x1c797af)
028+ #3 0x7f3b2ba1982f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
029+
030+ SUMMARY: AddressSanitizer: 96 byte(s) leaked in 2 allocation(s).
1 (0%)
008+ Segmentation fault
008- prompt> [Breakpoint #0 at -:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
1 (0%)
008+ Bus error (core dumped)
009+
010+ Termsig=7
008- prompt> [Breakpoint #0 at -:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>
1 (0%)
008+
009+ Termsig=7
008- prompt> [Breakpoint #0 at -:3, hits: 1]
009- >00003: echo "Hello, world!\n";
010- 00004:
011- prompt>