php-src/sapi/phpdbg
Nikita Popov 14f599ea7d Use zend_long for resource ID
Currently, resource IDs are limited to 32-bits. As resource IDs
are not reused, this means that resource ID overflow for
long-running processes is very possible.

This patch switches resource IDs to use zend_long instead, which
means that on 64-bit systems, 64-bit resource IDs will be used.
This makes resource ID overflow practically impossible.

The tradeoff is an 8 byte increase in zend_resource size.

Closes GH-7436.
2021-08-31 14:58:59 +02:00
..
tests replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
.gdbinit
.phpdbginit Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
config.m4 replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
config.w32 replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
create-test.php Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
CREDITS
Makefile.frag Drop test-phpdbg and clean-phpdbg targets 2021-05-14 12:20:00 +02:00
phpdbg_arginfo.h Improve class entry generation 2021-02-16 13:09:56 +01:00
phpdbg_bp.c replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg_bp.h remove specialized printing from phpdbg (#7156) 2021-06-17 14:22:33 +02:00
phpdbg_break.c replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg_break.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_btree.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_btree.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_cmd.c Fixed some spaces used instead of tabs 2021-06-29 11:30:26 +02:00
phpdbg_cmd.h remove specialized printing from phpdbg (#7156) 2021-06-17 14:22:33 +02:00
phpdbg_frame.c remove specialized printing from phpdbg (#7156) 2021-06-17 14:22:33 +02:00
phpdbg_frame.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_help.c replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg_help.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_info.c remove specialized printing from phpdbg (#7156) 2021-06-17 14:22:33 +02:00
phpdbg_info.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_io.c ditch remote 2021-06-13 21:08:35 +02:00
phpdbg_io.h ditch remote 2021-06-13 21:08:35 +02:00
phpdbg_lexer.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_lexer.l PHPDBG: fix bug parsing 3-word opcodes 2021-04-22 10:11:26 +02:00
phpdbg_list.c ditch remote 2021-06-13 21:08:35 +02:00
phpdbg_list.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_out.c remove specialized printing from phpdbg (#7156) 2021-06-17 14:22:33 +02:00
phpdbg_out.h remove specialized printing from phpdbg (#7156) 2021-06-17 14:22:33 +02:00
phpdbg_parser.y ditch remote 2021-06-13 21:08:35 +02:00
phpdbg_print.c replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg_print.h replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg_prompt.c replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg_prompt.h drop phpdbg web helper extension and wait command (#7144) 2021-06-13 14:02:11 +02:00
phpdbg_set.c replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg_set.h replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg_sigsafe.c Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
phpdbg_sigsafe.h Replace zend_bool uses with bool 2021-01-15 12:33:06 +01:00
phpdbg_utils.c Use zend_long for resource ID 2021-08-31 14:58:59 +02:00
phpdbg_utils.h remove specialized printing from phpdbg (#7156) 2021-06-17 14:22:33 +02:00
phpdbg_watch.c ditch remote 2021-06-13 21:08:35 +02:00
phpdbg_watch.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_win.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg_win.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
phpdbg.1.in replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg.c replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg.h replace phpdbg custom opcode dumper with O+ dump (#7227) 2021-07-13 15:32:14 +02:00
phpdbg.init.d Trim trailing whitespace in source code files 2018-10-13 14:17:28 +02:00
phpdbg.stub.php Enable class entry generation for sapi extensions 2021-02-14 12:03:48 +01:00
test.php Apply tidy formatting 2020-02-03 13:41:31 +01:00
web-bootstrap.php Rename non-existing site phpdbg.com to localhost 2019-02-19 20:21:20 +01:00