1
0
Fork 0
Commit Graph

617 Commits (bbde30a43a19f3084179432e13b35f7b26463db1)

Author SHA1 Message Date
Xuefer bbde30a43a tests/bug52160.phpt: report multiple error correctly
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@829 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-23 08:38:00 +00:00
Xuefer eb52f93f2a fix constant name handling (possible SIGSEGV)
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@828 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-23 08:04:14 +00:00
Xuefer 6fbbefbafc avoid zend_alter_ini_entry which is execute time
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@827 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-23 07:58:35 +00:00
Xuefer 5cafdceeb4 adds optimizer to test
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@826 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-23 03:23:54 +00:00
Xuefer a7ad7cbd6e PHP_5_4: improve handling traits yet still need review. values of default_properties_table is nullable
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@825 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-22 18:18:05 +00:00
Xuefer ade1c4764b PHP_5_4: empty hashtable was optimized
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@824 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-22 17:53:11 +00:00
Xuefer 9e42d11716 PHP_5_4: HashTable bucket changes
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@823 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-22 17:29:49 +00:00
Xuefer 5daf260872 initial PHP_5_4 support
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@822 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-22 16:22:37 +00:00
Xuefer 7da6fd1a01 adds info for PHP_5_4
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@821 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-22 16:22:02 +00:00
Xuefer 34db445076 decode optimized if/return
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@820 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-06-08 03:45:25 +00:00
Xuefer c667b51f43 decompiler: fix handling of stdin. support of exported dasm result
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@819 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-06-08 02:51:59 +00:00
Xuefer 6dbbd04a8e update 1.3.2 release date
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@812 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-06-04 02:28:13 +00:00
Xuefer 037c6b7a8c Decompiler: clean up unused code, fix line spacing, simplify indent
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@811 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-27 07:55:20 +00:00
Xuefer 5b25fdb3b5 Decompiler: if/elseif/else
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@810 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-27 07:19:24 +00:00
Xuefer a6c2fd36f9 typo
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@809 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-27 06:44:32 +00:00
Xuefer 49f8f2288d Decompiler: recognize top level goto
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@808 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-27 06:43:43 +00:00
Xuefer 14a0dc698c Decompiler: for loop
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@807 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-27 05:56:54 +00:00
Xuefer 0921bdce74 Decompiler: dump any unhandled complex block
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@806 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-27 05:10:28 +00:00
Xuefer e4a3b35f70 Decmopiler: update sample to match unhandled ()
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@805 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-27 05:04:43 +00:00
Xuefer 5fc0861a68 Decompiler: get value from result instead of op1/op2 if possible
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@804 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-27 04:57:58 +00:00
Xuefer 7ef8764308 Decompile: remove tostr in getOpVal. it is implemented by str() and foldToCode()
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@803 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-27 04:52:34 +00:00
Xuefer 9bd790b519 Decompiler: && || and or
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@802 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-27 04:42:25 +00:00
Xuefer 6213915975 typo
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@801 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-27 04:19:27 +00:00
Xuefer 75a5ba00c6 Decompiler: use range to simplify calling
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@800 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-27 02:45:42 +00:00
Xuefer 674e498132 Decompiler: ?: and ? :
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@799 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-26 08:50:28 +00:00
Xuefer 79015d6a30 fix build: ISREF undefined in <=PHP_5_2
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@798 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-26 08:05:18 +00:00
Xuefer c081bb3801 sample code for ?: being used in if ()
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@797 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-26 05:44:42 +00:00
Xuefer a33a1514d7 code format cleanup
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@796 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-26 05:33:03 +00:00
Xuefer 44db58b5ca Decompiler: decompile try/catch
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@795 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-26 05:28:21 +00:00
Xuefer a34b4718d5 Disassembler: fix null field
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@794 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-26 05:27:47 +00:00
Xuefer 7a5c2f4e75 test sample for declare(ticks) nested with while (complex block)
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@793 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-26 02:21:21 +00:00
Xuefer b7ce02e3d6 prepare for decompile if/else
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@792 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-25 15:46:26 +00:00
Xuefer 597c9b743a Decompiler: fix foreach to not be recognized as switch, fix i/j looping
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@791 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-25 15:27:44 +00:00
Xuefer bcf7d47fea Decompiler: decompile switch
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@790 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-25 14:36:10 +00:00
Xuefer eeb72b449e Decompile: implement foreach, improve blank line
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@789 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-25 10:42:11 +00:00
Xuefer a376bf9ec2 Decompiler: adds blank line between blocks
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@788 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-25 10:14:07 +00:00
Xuefer 6d045a5975 decompile code branch
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@787 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-25 09:46:09 +00:00
Xuefer 86ac689e68 space clean up for decompiler
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@786 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-25 09:23:33 +00:00
Xuefer 0e72928f44 fix false assertion for empty while (1) {}
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@785 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-25 06:53:01 +00:00
Xuefer d4a2f773a0 avoid possible filename injection in admin page
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@783 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-22 14:56:40 +00:00
Xuefer 25cfffd7f7 avoid possible file name injection
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@782 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-22 14:45:00 +00:00
Xuefer 90ccdadc54 Decompiler: handle closure use()
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@781 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-22 12:05:08 +00:00
Xuefer b5ecc94497 prepare for use()
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@780 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-22 09:33:46 +00:00
Xuefer 366864483b cacher: fix segv if oplineinfo is used for !__FILE__ !__DIR__
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@779 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-22 07:51:38 +00:00
Xuefer ed71049c18 decompiler: refix FETCH_CONSTANT for PHP_5_3 instead of messing up with UCLASS
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@778 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-20 16:14:55 +00:00
Xuefer aca9c14116 decompiler: refix isset/empty on variable
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@777 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-20 15:39:30 +00:00
Xuefer 91fee633aa decompiler: fix isset/empty on variable
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@776 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-20 15:36:30 +00:00
Xuefer 823fdbd60b str() fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@775 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-20 15:26:00 +00:00
Xuefer c6477d8c8b fix op_array info for !__FILE__ !__DIR__ on restore
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@771 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-18 09:11:22 +00:00
Xuefer e24c0af4f1 fixed #236: kill gcc false warning
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@770 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-18 08:11:59 +00:00