php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
#include "zend.h"
#include "phpdbg.h"
#include "phpdbg_btree.h"
#include "phpdbg_watch.h"
#include "phpdbg_utils.h"
#include "phpdbg_prompt.h"
#include "zend_portability.h"
#include <unistd.h>
#include <sys/mman.h>
Go to the source code of this file.
Data Structures | |
struct | phpdbg_watch_parse_struct |
Macros | |
#define | HT_FROM_ZVP(zvp) |
#define | HT_WATCH_OFFSET (sizeof(zend_refcounted *) + sizeof(uint32_t)) /* we are not interested in gc and flags */ |
#define | HT_PTR_HT(ptr) |
#define | HT_WATCH_HT(watch) |
Variables | |
const phpdbg_command_t | phpdbg_watch_commands [] |
return | SUCCESS |
#define HT_FROM_ZVP | ( | zvp | ) |
Definition at line 131 of file phpdbg_watch.c.
Definition at line 134 of file phpdbg_watch.c.
#define HT_WATCH_HT | ( | watch | ) |
Definition at line 135 of file phpdbg_watch.c.
#define HT_WATCH_OFFSET (sizeof(zend_refcounted *) + sizeof(uint32_t)) /* we are not interested in gc and flags */ |
Definition at line 133 of file phpdbg_watch.c.
phpdbg_watch_element * phpdbg_add_bucket_watch_element | ( | Bucket * | bucket, |
phpdbg_watch_element * | element ) |
Definition at line 539 of file phpdbg_watch.c.
phpdbg_watch_element * phpdbg_add_ht_watch_element | ( | zval * | zv, |
phpdbg_watch_element * | element ) |
Definition at line 547 of file phpdbg_watch.c.
void phpdbg_add_recursive_watch_from_ht | ( | phpdbg_watch_element * | element, |
zend_long | idx, | ||
zend_string * | str, | ||
zval * | zv ) |
Definition at line 573 of file phpdbg_watch.c.
phpdbg_watch_element * phpdbg_add_watch_element | ( | phpdbg_watchpoint_t * | watch, |
phpdbg_watch_element * | element ) |
Definition at line 506 of file phpdbg_watch.c.
void phpdbg_automatic_dequeue_free | ( | phpdbg_watch_element * | element | ) |
Definition at line 761 of file phpdbg_watch.c.
void phpdbg_backup_watch_element | ( | phpdbg_watch_element * | element | ) |
Definition at line 860 of file phpdbg_watch.c.
bool phpdbg_check_watch_diff | ( | phpdbg_watchtype | type, |
void * | oldPtr, | ||
void * | newPtr ) |
Definition at line 138 of file phpdbg_watch.c.
void phpdbg_check_watchpoint | ( | phpdbg_watchpoint_t * | watch | ) |
Definition at line 1011 of file phpdbg_watch.c.
void phpdbg_clean_watch_element | ( | phpdbg_watch_element * | element | ) |
Definition at line 970 of file phpdbg_watch.c.
int phpdbg_create_var_watchpoint | ( | char * | input, |
size_t | len ) |
Definition at line 1410 of file phpdbg_watch.c.
void phpdbg_delete_watch_collision | ( | phpdbg_watchpoint_t * | watch | ) |
Definition at line 395 of file phpdbg_watch.c.
Definition at line 773 of file phpdbg_watch.c.
Definition at line 1506 of file phpdbg_watch.c.
void phpdbg_dissociate_watch_element | ( | phpdbg_watch_element * | element, |
phpdbg_watch_element * | until ) |
Definition at line 865 of file phpdbg_watch.c.
void phpdbg_free_watch_element | ( | phpdbg_watch_element * | element | ) |
Definition at line 805 of file phpdbg_watch.c.
void phpdbg_free_watch_element_tree | ( | phpdbg_watch_element * | element | ) |
Definition at line 896 of file phpdbg_watch.c.
bool phpdbg_is_recursively_watched | ( | void * | ptr, |
phpdbg_watch_element * | element ) |
Definition at line 560 of file phpdbg_watch.c.
Definition at line 1245 of file phpdbg_watch.c.
int phpdbg_print_changed_zvals | ( | void | ) |
Definition at line 1157 of file phpdbg_watch.c.
void phpdbg_print_watch_diff | ( | phpdbg_watchtype | type, |
zend_string * | name, | ||
void * | oldPtr, | ||
void * | newPtr ) |
Definition at line 160 of file phpdbg_watch.c.
Definition at line 1534 of file phpdbg_watch.c.
void phpdbg_queue_element_for_recreation | ( | phpdbg_watch_element * | element | ) |
Definition at line 695 of file phpdbg_watch.c.
void phpdbg_recurse_watch_element | ( | phpdbg_watch_element * | element | ) |
Definition at line 597 of file phpdbg_watch.c.
Definition at line 1125 of file phpdbg_watch.c.
void phpdbg_remove_watch_element | ( | phpdbg_watch_element * | element | ) |
Definition at line 832 of file phpdbg_watch.c.
void phpdbg_remove_watch_element_recursively | ( | phpdbg_watch_element * | element | ) |
Definition at line 814 of file phpdbg_watch.c.
void phpdbg_remove_watchpoint | ( | phpdbg_watchpoint_t * | watch | ) |
Definition at line 949 of file phpdbg_watch.c.
void phpdbg_set_addr_watchpoint | ( | void * | addr, |
size_t | size, | ||
phpdbg_watchpoint_t * | watch ) |
Definition at line 349 of file phpdbg_watch.c.
void phpdbg_set_bucket_watchpoint | ( | Bucket * | bucket, |
phpdbg_watchpoint_t * | watch ) |
Definition at line 362 of file phpdbg_watch.c.
void phpdbg_set_ht_watchpoint | ( | HashTable * | ht, |
phpdbg_watchpoint_t * | watch ) |
Definition at line 367 of file phpdbg_watch.c.
void phpdbg_set_zval_watchpoint | ( | zval * | zv, |
phpdbg_watchpoint_t * | watch ) |
Definition at line 357 of file phpdbg_watch.c.
Definition at line 1453 of file phpdbg_watch.c.
bool phpdbg_try_re_adding_watch_element | ( | zval * | parent, |
phpdbg_watch_element * | element ) |
Definition at line 719 of file phpdbg_watch.c.
void phpdbg_unwatch_parent_ht | ( | phpdbg_watch_element * | element | ) |
Definition at line 669 of file phpdbg_watch.c.
void phpdbg_update_watch_collision_elements | ( | phpdbg_watchpoint_t * | watch | ) |
Definition at line 934 of file phpdbg_watch.c.
void phpdbg_update_watch_element_watch | ( | phpdbg_watch_element * | element | ) |
Definition at line 912 of file phpdbg_watch.c.
void phpdbg_update_watch_ref | ( | phpdbg_watchpoint_t * | watch | ) |
Definition at line 421 of file phpdbg_watch.c.
void phpdbg_watch_backup_data | ( | phpdbg_watchpoint_t * | watch | ) |
Definition at line 372 of file phpdbg_watch.c.
void phpdbg_watch_efree | ( | void *ptr ZEND_FILE_LINE_DC | ZEND_FILE_LINE_ORIG_DC | ) |
Definition at line 1204 of file phpdbg_watch.c.
void phpdbg_watch_parent_ht | ( | phpdbg_watch_element * | element | ) |
Definition at line 645 of file phpdbg_watch.c.
zend_string * phpdbg_watchpoint_change_collision_name | ( | phpdbg_watchpoint_t * | watch | ) |
Definition at line 983 of file phpdbg_watch.c.
PHPDBG_API int phpdbg_watchpoint_parse_input | ( | char * | input, |
size_t | len, | ||
HashTable * | parent, | ||
size_t | i, | ||
phpdbg_watch_parse_struct * | info, | ||
bool | silent ) |
Definition at line 1331 of file phpdbg_watch.c.
int phpdbg_watchpoint_segfault_handler | ( | siginfo_t * | info, |
void * | context ) |
Definition at line 285 of file phpdbg_watch.c.
switch | ( | param-> | type | ) |
Definition at line 1394 of file phpdbg_watch.c.
const phpdbg_command_t phpdbg_watch_commands[] |
Definition at line 124 of file phpdbg_watch.c.
return SUCCESS |
Definition at line 1407 of file phpdbg_watch.c.