1
0
Fork 0
Commit Graph

678 Commits (89d82663c1f5dcb540cc74e523bfb829c519ef08)

Author SHA1 Message Date
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
Xuefer 13e183586f fix type of op_type mismsatch for PHP 5-, assert before changing opline_num
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@769 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-18 07:45:56 +00:00
Xuefer 1ef6c24da0 ignore EINVAL error for ftruncate on /dev/zero
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@768 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-18 07:19:02 +00:00
Xuefer fcf274966f check return value to avoid gcc warning
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@767 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-18 07:16:12 +00:00
Xuefer 037f6cb42e news update
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@765 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-18 04:25:16 +00:00
Xuefer 6e7edfd240 30 seconds timeout for clog checking
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@764 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2011-04-18 04:20:40 +00:00
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