diff options
| author | xXx-caillou-xXx | 2018-08-30 14:43:58 +0200 |
|---|---|---|
| committer | jvoisin | 2018-08-30 12:43:58 +0000 |
| commit | f61a4772bfc33e08e7b06250e2f0f640bcae875f (patch) | |
| tree | 2c26573cdd6ffa9eed1a46291660d82611154eb0 /src/sp_disabled_functions.h | |
| parent | dcc64e0f1530fbe5d528873977199ceeb715305d (diff) | |
Match on ret improvements
This commit does two things:
- Implement matching on calltraces for ret
- Implement matching on ret of user functions if the return value is not used.
Diffstat (limited to 'src/sp_disabled_functions.h')
| -rw-r--r-- | src/sp_disabled_functions.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sp_disabled_functions.h b/src/sp_disabled_functions.h index 258e2e6..ae1500a 100644 --- a/src/sp_disabled_functions.h +++ b/src/sp_disabled_functions.h | |||
| @@ -9,9 +9,10 @@ bool should_disable(zend_execute_data *, const char *, const zend_string *, | |||
| 9 | const char *, const sp_list_node *, const zend_string *); | 9 | const char *, const sp_list_node *, const zend_string *); |
| 10 | bool should_disable_ht(zend_execute_data *, const char *, const zend_string *, | 10 | bool should_disable_ht(zend_execute_data *, const char *, const zend_string *, |
| 11 | const char *, const sp_list_node *, const HashTable *); | 11 | const char *, const sp_list_node *, const HashTable *); |
| 12 | bool should_drop_on_ret_ht(zval *, const char *, const sp_list_node *config, | 12 | bool should_drop_on_ret_ht(const zval *, const char *, const sp_list_node *config, |
| 13 | const HashTable *); | 13 | const HashTable *, zend_execute_data *); |
| 14 | bool should_drop_on_ret(zval *, const sp_list_node *config, const char *); | 14 | bool should_drop_on_ret(const zval *, const sp_list_node *config, const char *, |
| 15 | zend_execute_data *); | ||
| 15 | char *get_complete_function_path(zend_execute_data const *const); | 16 | char *get_complete_function_path(zend_execute_data const *const); |
| 16 | 17 | ||
| 17 | #endif /* __SP_DISABLE_FUNCTIONS_H */ | 18 | #endif /* __SP_DISABLE_FUNCTIONS_H */ |
