1
0
Fork 0
Commit Graph

1054 Commits

Author SHA1 Message Date
Xuefer 68de62de57 decompiler: more sample templating trick
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1344 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-08-20 02:55:04 +00:00
Xuefer a0217c2654 Decompiler: support for const in static array index; TODO: PHP 5.0- support for static array
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1343 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-08-12 09:25:57 +00:00
Xuefer 2ba9c1223a Decompiler: strip namespace in const array
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1342 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-08-12 08:21:09 +00:00
Xuefer 6409eb5aef cacher: fixes #228, enable var caching for cli
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1341 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-22 07:22:58 +00:00
Xuefer b3c077134b Decompiler: multiple catch support for PHP 5.1-
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1340 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-22 07:20:55 +00:00
Xuefer c3ecacac4e Decompiler: multiple catch support for PHP 5.1-
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1339 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-22 06:39:28 +00:00
Xuefer 70c75c5277 phpdop: show jumpouts/jmpins
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1338 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-22 06:06:39 +00:00
Xuefer f55cf8f36a devel: dont symlink non-existing file
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1337 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-19 10:13:01 +00:00
Xuefer ef01ec91e8 devel: fix yield sample for decompile test
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1336 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-19 06:57:49 +00:00
Xuefer df7065accb Decompiler: update PHP4 support for static method call
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1335 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-19 06:50:48 +00:00
Xuefer e8600f7d4a devel: use cpp to generate samples for different php version
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1334 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-19 05:03:07 +00:00
Xuefer f77dead6de Decompiler: support for yield generator
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1333 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-19 04:26:11 +00:00
Xuefer d5e4348353 code clean up
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1332 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-19 04:25:47 +00:00
Xuefer 9c0219add7 separate PHP 4/5 decompile sample
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1331 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-19 03:52:20 +00:00
Xuefer ce401736a1 Decompiler: refix switch (SWITCH_FREE)
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1330 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-17 09:41:08 +00:00
Xuefer 6207654325 Decompiler: avoid duplicate switch result
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1329 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-17 09:10:44 +00:00
Xuefer a8b80b601f use dec for opline
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1328 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-17 08:21:51 +00:00
Xuefer 01ecac3cfe undone code removal mistake
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1327 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-16 03:24:01 +00:00
Xuefer 98eb42c690 fix type string for PHP5.1-
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1326 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-16 02:44:50 +00:00
Xuefer efab40dc18 adds opcode string for PHP5.2 seperately for easier compiling
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1325 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-16 02:42:55 +00:00
Xuefer 5931080a82 devel: make deps works before build
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1324 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-16 02:23:42 +00:00
Xuefer 8c373555e6 devel: allow phpize/make to work on multiple dirs
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1323 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-16 02:19:50 +00:00
Xuefer afb899020c Decompiler: fix new without assign
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1322 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-15 17:53:06 +00:00
Xuefer 02eb6beda4 add back PHP_4 code for disassembler
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1321 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-15 17:37:57 +00:00
Xuefer b166cbc63e fix build using old C
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1320 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-15 16:55:56 +00:00
Xuefer 22e80e3194 Decompiler, disassembler: fix unset for PHP 5.0
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1319 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-15 15:53:25 +00:00
Xuefer 66bda12097 Decompiler: update static member support for PHP 5.0
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1318 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-15 09:32:39 +00:00
Xuefer c9913ec0ac Decompiler: fix PHP5.0 foreach, pre/post inc/dec
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1317 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-15 09:03:17 +00:00
Xuefer 366799451a Decompiler, disassembler: update PHP 5.0 support
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1316 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-15 04:40:37 +00:00
Xuefer e5dfddef7a Decompiler: fix PHP 5.0 static member
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1315 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-15 04:07:26 +00:00
Xuefer 63c0a0aa24 Decompiler, disassembler: update PHP 5.0 support
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1314 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-15 03:05:24 +00:00
Xuefer 31e5f026de ZEND_STRS ZEND_STRL is inconsist between PHP5.0- and PHP5.0+
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1313 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-15 02:30:59 +00:00
Xuefer c4d23d3884 update dependencies
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1312 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-15 02:29:46 +00:00
Xuefer 30224380bd update po
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1311 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-15 02:27:44 +00:00
Xuefer 6fc001508c optimizer: fix recalc of catch_op/finally_op
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1310 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-14 19:02:32 +00:00
Xuefer 081bb66e29 Decompiler: fix handling catch with/without FETCH_CLASS & JMP for different PHP version
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1309 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-14 19:01:49 +00:00
Xuefer 53208532aa Decompiler: bind FETCH_CLASS & CATCH together; fix unset for PHP5.1; improve printBacktrace for devel
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1308 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-14 18:46:23 +00:00
Xuefer 742ae699e7 adds TODO for brk
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1307 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-13 04:33:04 +00:00
Xuefer b6c66205a7 Decompiler, disassembler: fix catch for different PHP version; fetch hack is not necessary for PHP5.4+; update for ?: operator
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1306 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-13 04:24:58 +00:00
Xuefer fea60080b7 Decompiler: adds simple backtrace print, fix warning for catch
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1305 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-12 18:08:46 +00:00
Xuefer 2ac16ece5e Decompiler: recognize __FILE__
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1304 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-12 17:02:45 +00:00
Xuefer b2ad347af5 disassembler, Decompiler: fix catch, ticks
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1303 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-12 16:59:43 +00:00
Xuefer beb0ee22d1 Disassembler: can now recover compile time constant
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1302 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-12 09:23:18 +00:00
Xuefer 31c0487196 disassembler: USER_OPCODE is not 5.0
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1301 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-12 08:47:30 +00:00
Xuefer db3cc8b69b disassembler, Decompiler: fix ISSET_ISEMPTY_VAR
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1300 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-12 07:58:09 +00:00
Xuefer 57ba915338 Decompiler: fix warning
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1299 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-12 07:41:12 +00:00
Xuefer 215cc889dd undef unused
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1298 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-12 07:40:44 +00:00
Xuefer ef420d39bd fix PHP 5.0 build
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1297 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-12 04:30:00 +00:00
Xuefer bb447cc80f Decompiler: remove PHP 4 support. adds XC_QM_ASSIGN_VAR
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1296 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-12 03:32:26 +00:00
Xuefer 2575870deb disassembler: fix UNSET_VAR for PHP 5.4+
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1295 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
2013-07-12 03:13:34 +00:00