1
0
Fork 0
Commit Graph

595 Commits (62139159759927208fc05e54dac59bf7d906759f)

Author SHA1 Message Date
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
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