summaryrefslogtreecommitdiff
path: root/src/sp_config.h
diff options
context:
space:
mode:
authorjvoisin2022-12-07 21:02:22 +0100
committerjvoisin2022-12-08 20:55:46 +0100
commitccfaf3e4713b1878241f1235a6fcb66ad0582d47 (patch)
tree97dcd84aed33b1d98095d0cf3f467e9dfb975f0c /src/sp_config.h
parent5966fefb9a291bd0eecd0fff9396b2b6cea4a62e (diff)
Add unserialize_noclass
Diffstat (limited to 'src/sp_config.h')
-rw-r--r--src/sp_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sp_config.h b/src/sp_config.h
index ec73310..cddf816 100644
--- a/src/sp_config.h
+++ b/src/sp_config.h
@@ -83,6 +83,11 @@ typedef struct {
83 83
84typedef struct { 84typedef struct {
85 bool enable; 85 bool enable;
86 zend_string *textual_representation;
87} sp_config_unserialize_noclass;
88
89typedef struct {
90 bool enable;
86 bool simulation; 91 bool simulation;
87 zend_string *dump; 92 zend_string *dump;
88 zend_string *textual_representation; 93 zend_string *textual_representation;
@@ -202,6 +207,7 @@ typedef struct {
202#define SP_TOKEN_HARDEN_RANDOM "harden_random" 207#define SP_TOKEN_HARDEN_RANDOM "harden_random"
203#define SP_TOKEN_READONLY_EXEC "readonly_exec" 208#define SP_TOKEN_READONLY_EXEC "readonly_exec"
204#define SP_TOKEN_UNSERIALIZE_HMAC "unserialize_hmac" 209#define SP_TOKEN_UNSERIALIZE_HMAC "unserialize_hmac"
210#define SP_TOKEN_UNSERIALIZE_NOCLASS "unserialize_noclass"
205#define SP_TOKEN_UPLOAD_VALIDATION "upload_validation" 211#define SP_TOKEN_UPLOAD_VALIDATION "upload_validation"
206#define SP_TOKEN_XXE_PROTECTION "xxe_protection" 212#define SP_TOKEN_XXE_PROTECTION "xxe_protection"
207#define SP_TOKEN_EVAL_BLACKLIST "eval_blacklist" 213#define SP_TOKEN_EVAL_BLACKLIST "eval_blacklist"