1
0
Fork 0
Commit Graph

712 Commits

Author SHA1 Message Date
Xuefer 8707055147 readability
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@763 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 12:02:25 +00:00
Xuefer ab71de73ec Decompiler: improve dumpop for easier reading
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@762 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 12:00:32 +00:00
Xuefer 1be06bf44c Decompiler: simple cover test, make sure all opcode is tested
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@761 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 11:03:00 +00:00
Xuefer 26a6230a83 Decompiler: jmp_set/jmpz adjust
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@760 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 10:23:55 +00:00
Xuefer add7fb175d dump global code after function/class
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@759 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 09:42:15 +00:00
Xuefer 70864b7369 Decompiler: improves break/continue/goto, updates test sample
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@758 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 08:23:57 +00:00
Xuefer f16b6d7027 Decompiler: improves operator decompile
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@757 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 07:57:23 +00:00
Xuefer 877d66d561 remove unncessary debug code
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@756 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 07:44:00 +00:00
Xuefer b847fcba3d fix nested function call
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@755 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 07:42:45 +00:00
Xuefer 0839ae3f60 Decompiler: foldToCode/str clean up
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@754 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 05:31:08 +00:00
Xuefer f6bba786f4 decompiler: namespace support
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@753 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 04:58:46 +00:00
Xuefer 5be83a23b0 DECLARE_CONST
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@752 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 04:06:50 +00:00
Xuefer 489be67bd9 decompiler: improvements late binding function, sample code organize
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@751 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 04:00:31 +00:00
Xuefer 80f0bd32d7 decompiler: dirty improvement for \r\n
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@750 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-17 03:03:10 +00:00
Xuefer cccdfd61aa decompiler: massive improvements for php 5 and 5.3
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@749 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-16 19:01:39 +00:00
Xuefer 5edca12e80 decompiler: make it easier to be consistent with output
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@748 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-14 05:35:52 +00:00
Xuefer 37dd846f2e adds more code for decompile testing
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@747 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-14 05:30:54 +00:00
Xuefer ba361bc8ea Decompiler: fix ticks, str
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@746 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-14 05:21:26 +00:00
Xuefer 2a57b902fd str() fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@745 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-14 05:10:42 +00:00
Xuefer acb46c5e96 remove __toString which was unclear design
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@744 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-14 04:56:16 +00:00
Xuefer e2935702b4 decompiler: process ZEND_CASE opcode, switch/case is not recognized as it used to be however
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@743 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-14 02:14:32 +00:00
Xuefer b8228fae13 update decompile test code
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@742 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-13 04:37:45 +00:00
Xuefer ed0a1d6526 consistent type of Decompiler_Code::toCode return
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@741 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-13 04:30:17 +00:00
Xuefer 7cfae1680f processor: remove extra )
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@740 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-11 13:12:08 +00:00
Xuefer 6e4375d61b decompiler: fix decompiling runtime array
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@737 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-11 04:41:04 +00:00
Xuefer 8d18908346 decompiler: fix argument default value
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@736 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-10 14:38:36 +00:00
Xuefer 86749b6e64 decompiler: fix array assoc handling, remove default return
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@735 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-10 14:09:17 +00:00
Xuefer b67dfb1c4d add sample code for decompiler
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@734 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-10 14:08:20 +00:00
Xuefer de2523c848 decompiler: avoid ${ literal being recognized
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@733 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-10 13:05:10 +00:00
Xuefer 9d6ca9871d disassembler/decompiler: fix multiline array and indention
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@732 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-10 09:31:17 +00:00
Xuefer d4419514a0 PHP_6: disassembler/decompiler: fix function static variable
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@731 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-10 09:07:58 +00:00
Xuefer d7a969ea1c PHP_6: disassembler/decompiler: fix property
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@730 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-10 07:58:58 +00:00
Xuefer 8e3a73cbfc update copyright year
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@729 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-10 02:13:11 +00:00
Xuefer 2684576d42 decompiler: missing static members if no class properties
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@727 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 14:19:41 +00:00
Xuefer 54fe3c7424 php6 changes is not back ported to branches/1.3
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@725 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 12:57:35 +00:00
Xuefer c04bb792d8 merge from trunk
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@724 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 12:55:48 +00:00
Xuefer 4299945865 decompiler: fix computed array elements
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@723 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 11:48:12 +00:00
Xuefer 64879478cc method call decompile fix
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@722 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 11:41:07 +00:00
Xuefer e2a871ec76 PHP_6: prepared in literal way for __FILE__ __DIR__ fix up
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@721 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 11:05:07 +00:00
Xuefer 0bb88333d1 improve method call decompiler
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@720 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 11:02:07 +00:00
Xuefer 369b9eabbb runtime check for field list assertion to tell which is mismatch
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@719 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 10:22:14 +00:00
Xuefer b7195c1939 fix assertion failure for PHP4
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@718 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 10:18:29 +00:00
Xuefer 27fd7264a0 improve isset/empty for object property
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@717 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 07:38:20 +00:00
Xuefer 4271653af9 PHP 6: initial catch up with php 6 literals and trait
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@716 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 07:07:48 +00:00
Xuefer 2e9dd4df93 remove unused foreach code
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@715 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 04:08:26 +00:00
Xuefer da9771ebf9 disassembler: DECLARE_INHERITED_CLASS/DELAYED class not found
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@714 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-09 03:08:38 +00:00
Xuefer 7471acdf96 disassembler: refix previous partial
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@713 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-08 18:27:55 +00:00
Xuefer dd701b70be updated from eaccelerator
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@712 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-08 18:26:22 +00:00
Xuefer 7116b04bac add build dependency for opcode_spec
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@711 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-08 17:37:29 +00:00
Xuefer c343c77ef4 partial fix for decompiling 5.3
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@710 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-08 05:22:12 +00:00