From f61a4772bfc33e08e7b06250e2f0f640bcae875f Mon Sep 17 00:00:00 2001 From: xXx-caillou-xXx Date: Thu, 30 Aug 2018 14:43:58 +0200 Subject: 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. --- src/sp_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_utils.h') diff --git a/src/sp_utils.h b/src/sp_utils.h index 97c97fd..c094fac 100644 --- a/src/sp_utils.h +++ b/src/sp_utils.h @@ -46,7 +46,7 @@ void sp_log_msg(char const *feature, int type, const char *fmt, ...); int compute_hash(const char *const filename, char *file_hash); -const zend_string *sp_zval_to_zend_string(zval *); +const zend_string *sp_zval_to_zend_string(const zval *); bool sp_match_value(const zend_string *, const zend_string *, const sp_pcre *); bool sp_match_array_key(const zval *, const zend_string *, const sp_pcre *); bool sp_match_array_value(const zval *, const zend_string *, const sp_pcre *); -- cgit v1.3