forked from xdebug/xdebug
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathxdebug_filter.h
43 lines (36 loc) · 1.88 KB
/
xdebug_filter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
+----------------------------------------------------------------------+
| Xdebug |
+----------------------------------------------------------------------+
| Copyright (c) 2002-2018 Derick Rethans |
+----------------------------------------------------------------------+
| This source file is subject to version 1.01 of the Xdebug license, |
| that is bundled with this package in the file LICENSE, and is |
| available at through the world-wide-web at |
| https://xdebug.org/license.php |
| If you did not receive a copy of the Xdebug license and are unable |
| to obtain it through the world-wide-web, please send a note to |
| derick@xdebug.org so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Derick Rethans <derick@xdebug.org> |
+----------------------------------------------------------------------+
*/
#ifndef XDEBUG_FILTER_H
#define XDEBUG_FILTER_H
#include "php.h"
#include "php_xdebug.h"
int xdebug_filter_is_valid(void);
int xdebug_is_stack_frame_filtered(int filter_type, function_stack_entry *fse);
int xdebug_is_top_stack_frame_filtered(int filter_type);
void xdebug_filter_register_constants(INIT_FUNC_ARGS);
void xdebug_filter_run_tracing(function_stack_entry *fse);
void xdebug_filter_run_code_coverage(zend_op_array *op_array);
#define XDEBUG_FILTER_NONE 0x000
#define XDEBUG_FILTER_TRACING 0x100
#define XDEBUG_FILTER_CODE_COVERAGE 0x200
#define XDEBUG_PATH_WHITELIST 0x01
#define XDEBUG_PATH_BLACKLIST 0x02
#define XDEBUG_NAMESPACE_WHITELIST 0x11
#define XDEBUG_NAMESPACE_BLACKLIST 0x12
PHP_FUNCTION(xdebug_set_filter);
#endif