diff options
| author | kkadosh | 2018-03-19 16:39:47 +0000 |
|---|---|---|
| committer | blotus | 2018-03-19 17:39:47 +0100 |
| commit | 39929ce509361ee72746a9b971bdc531fbf0b843 (patch) | |
| tree | c3455c4e4428d3b613e926b28619396960a2713e /src/sp_utils.h | |
| parent | 3659eb1542270d25c36fb3f38600e85cb8b6a22b (diff) | |
The filename filter is now matching on callsite instead of implemsite (#167)
* Add match on the file where the function is called
* Add the test
* Constify some params
* Fix potentiel null deref
* Return more before if execute_data is NULL
Diffstat (limited to 'src/sp_utils.h')
| -rw-r--r-- | src/sp_utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sp_utils.h b/src/sp_utils.h index b92f16d..61a23f9 100644 --- a/src/sp_utils.h +++ b/src/sp_utils.h | |||
| @@ -49,7 +49,8 @@ bool sp_match_value(const char *, const char *, const sp_pcre *); | |||
| 49 | bool sp_match_array_key(const zval *, const char *, const sp_pcre *); | 49 | bool sp_match_array_key(const zval *, const char *, const sp_pcre *); |
| 50 | bool sp_match_array_value(const zval *, const char *, const sp_pcre *); | 50 | bool sp_match_array_value(const zval *, const char *, const sp_pcre *); |
| 51 | void sp_log_disable(const char *restrict, const char *restrict, | 51 | void sp_log_disable(const char *restrict, const char *restrict, |
| 52 | const char *restrict, const sp_disabled_function *); | 52 | const char *restrict, const sp_disabled_function *, |
| 53 | unsigned int, const char*restrict); | ||
| 53 | void sp_log_disable_ret(const char *restrict, const char *restrict, | 54 | void sp_log_disable_ret(const char *restrict, const char *restrict, |
| 54 | const sp_disabled_function *); | 55 | const sp_disabled_function *); |
| 55 | int hook_function(const char *, HashTable *, | 56 | int hook_function(const char *, HashTable *, |
