#include <stdio.h>
#include <string.h>
#include "zend.h"
#include "zend_compile.h"
#include "zend_exceptions.h"
#include "zend_vm.h"
#include "zend_generators.h"
#include "zend_interfaces.h"
#include "zend_smart_str.h"
#include "phpdbg.h"
#include "phpdbg_io.h"
#include "phpdbg_help.h"
#include "phpdbg_print.h"
#include "phpdbg_info.h"
#include "phpdbg_break.h"
#include "phpdbg_list.h"
#include "phpdbg_utils.h"
#include "phpdbg_prompt.h"
#include "phpdbg_cmd.h"
#include "phpdbg_set.h"
#include "phpdbg_frame.h"
#include "phpdbg_lexer.h"
#include "phpdbg_parser.h"
Go to the source code of this file.
|
void | phpdbg_string_init (char *buffer) |
|
void | phpdbg_try_file_init (char *init_file, size_t init_file_len, bool free_init) |
|
void | phpdbg_init (char *init_file, size_t init_file_len, bool use_default) |
|
void | phpdbg_clean (bool full, bool resubmit) |
|
| if (VCWD_STAT(param->str, &sb) !=FAILURE) |
|
| PHPDBG_COMMAND (stdin) |
|
int | phpdbg_compile_stdin (zend_string *code) |
|
int | phpdbg_compile (void) |
|
int | phpdbg_skip_line_helper (void) |
|
| if (zend_hash_index_exists(&PHPDBG_G(seek),(zend_ulong) phpdbg_user_execute_data(EG(current_execute_data)) ->opline)) |
|
int | phpdbg_output_ev_variable (char *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv) |
|
| PHPDBG_OUTPUT_BACKUP () |
|
| if (PHPDBG_G(flags) &PHPDBG_IN_SIGNAL_HANDLER) |
|
| if (!(PHPDBG_G(flags) &PHPDBG_IS_STEPONEVAL)) |
|
| PHPDBG_G (flags)| |
|
| PHPDBG_G (flags) & |
|
| if (stepping &&!(PHPDBG_G(flags) &PHPDBG_IS_STEPONEVAL)) |
|
| CG (unclean_shutdown)=0 |
|
| PHPDBG_OUTPUT_BACKUP_RESTORE () |
|
| if (!PHPDBG_G(in_execution)) |
|
| if (param) |
|
◆ DO_INTERACTIVE
#define DO_INTERACTIVE |
( |
| allow_async_unsafe | ) |
|
Value: do { \
const zend_op *before_ex =
EG(opline_before_exception); \
backup_opline =
EG(current_execute_data)->opline; \
} \
zend_clear_exception(); \
list_code(); \
if (backup_opline \
EG(current_execute_data)->opline = backup_opline; \
} else { \
} \
EG(opline_before_exception) = before_ex; \
} \
} else { \
list_code(); \
phpdbg_interactive(allow_async_unsafe,
NULL); \
} \
} while (0)
int phpdbg_interactive(bool allow_async_unsafe, char *input)
#define ZEND_USER_CODE(type)
#define ZEND_HANDLE_EXCEPTION
◆ INDEX_EXISTS_CHECK
◆ CG()
◆ if() [1/7]
if |
( |
! | PHPDBG_G(flags) &PHPDBG_IS_STEPONEVAL | ) |
|
◆ if() [2/7]
if |
( |
! | PHPDBG_Gin_execution | ) |
|
◆ if() [3/7]
◆ if() [4/7]
◆ if() [5/7]
if |
( |
stepping &&! | PHPDBG_G(flags) &PHPDBG_IS_STEPONEVAL | ) |
|
◆ if() [6/7]
◆ if() [7/7]
if |
( |
zend_hash_index_exists(& | seek, |
|
|
(zend_ulong) phpdbg_user_execute_data(EG(current_execute_data)) -> | opline ) |
◆ phpdbg_clean()
void phpdbg_clean |
( |
bool | full, |
|
|
bool | resubmit ) |
◆ PHPDBG_COMMAND()
◆ phpdbg_compile()
int phpdbg_compile |
( |
void | | ) |
|
◆ phpdbg_compile_stdin()
◆ PHPDBG_G() [1/2]
◆ PHPDBG_G() [2/2]
◆ phpdbg_init()
void phpdbg_init |
( |
char * | init_file, |
|
|
size_t | init_file_len, |
|
|
bool | use_default ) |
◆ PHPDBG_OUTPUT_BACKUP()
◆ PHPDBG_OUTPUT_BACKUP_RESTORE()
PHPDBG_OUTPUT_BACKUP_RESTORE |
( |
| ) |
|
◆ phpdbg_output_ev_variable()
int phpdbg_output_ev_variable |
( |
char * | name, |
|
|
size_t | len, |
|
|
char * | keyname, |
|
|
size_t | keylen, |
|
|
HashTable * | parent, |
|
|
zval * | zv ) |
◆ phpdbg_skip_line_helper()
Initial value:{
}
#define PHPDBG_IS_STEPPING
#define phpdbg_error(strfmt,...)
Definition at line 602 of file phpdbg_prompt.c.
◆ phpdbg_string_init()
void phpdbg_string_init |
( |
char * | buffer | ) |
|
◆ phpdbg_try_file_init()
void phpdbg_try_file_init |
( |
char * | init_file, |
|
|
size_t | init_file_len, |
|
|
bool | free_init ) |
◆ else
◆ ex
◆ original_execute_data
◆ original_stack
◆ PHPDBG_FINISH
◆ PHPDBG_LEAVE
◆ phpdbg_prompt_commands
Initial value:= {
}
const phpdbg_command_t phpdbg_break_commands[]
#define PHPDBG_END_COMMAND
#define PHPDBG_COMMAND_D(name, tip, alias, children, args, flags)
#define PHPDBG_ASYNC_SAFE
const phpdbg_command_t phpdbg_help_commands[]
const phpdbg_command_t phpdbg_info_commands[]
const phpdbg_command_t phpdbg_list_commands[]
const phpdbg_command_t phpdbg_print_commands[]
const phpdbg_command_t phpdbg_set_commands[]
const phpdbg_command_t phpdbg_watch_commands[]
zend_generator * generator
Definition at line 63 of file phpdbg_prompt.c.
◆ phpdbg_startup_run
◆ retval
◆ SUCCESS
◆ top
◆ zend_try
Initial value:{
} else {
}
}
}
#define phpdbg_out(fmt,...)
zend_execute_data * original_execute_data
zend_vm_stack original_stack
ZEND_API void zend_print_zval_r(zval *expr, int indent)
ZEND_API ZEND_COLD zend_result zend_exception_error(zend_object *ex, int severity)
ZEND_API zend_result zend_eval_stringl(const char *str, size_t str_len, zval *retval_ptr, const char *string_name)
ZEND_API void zval_ptr_dtor(zval *zval_ptr)
Definition at line 971 of file phpdbg_prompt.c.