1
0
Fork 0
Commit Graph

626 Commits (95e951610229b405977c959ace289833ac73a764)

Author SHA1 Message Date
Xuefer 95e9516102 avoid overflow in memsetptr
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@838 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-25 02:24:14 +00:00
Xuefer 00228b0cd6 PHP_5_4: improves traits support
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@837 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-25 02:14:44 +00:00
Xuefer adff8d2eab fill uninitialized with line number for debugging purpose
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@836 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-25 01:59:20 +00:00
Xuefer 26270cb455 support for null end STRUCT_ARRAY
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@835 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-25 01:58:22 +00:00
Xuefer 07ca0eec2f optimizer: handle goto in convert_switch optimization
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@834 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-23 17:17:10 +00:00
Xuefer eaf5198399 handle array/size same way
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@833 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-23 17:16:20 +00:00
Xuefer 02fd7e8f97 fix __DIR__ __FILE__ handling in literal. path resolve is still in todo
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@832 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-23 16:17:34 +00:00
Xuefer 8eeae065ec fix test running for devel. redirect uses __DIR__ so run-tests.php has to the one under php-src/
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@831 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-23 16:16:19 +00:00
Xuefer b11d22334b opcode fix: op2 of ZEND_BIND_TRAITS is unused
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@830 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2012-03-23 09:34:24 +00:00
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