We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c15c9c commit f0dfdcaCopy full SHA for f0dfdca
sapi/fuzzer/fuzzer-execute.c
@@ -22,6 +22,10 @@
22
#define MAX_STEPS 1000
23
static uint32_t steps_left;
24
25
+/* Because the fuzzer is always compiled with clang,
26
+ * we can assume that we don't use global registers / hybrid VM. */
27
+typedef int (ZEND_FASTCALL *opcode_handler_t)(zend_execute_data *);
28
+
29
void fuzzer_execute_ex(zend_execute_data *execute_data) {
30
while (1) {
31
int ret;
@@ -32,7 +36,7 @@ void fuzzer_execute_ex(zend_execute_data *execute_data) {
32
36
zend_bailout();
33
37
}
34
38
35
- if ((ret = ((user_opcode_handler_t) EX(opline)->handler)(execute_data)) != 0) {
39
+ if ((ret = ((opcode_handler_t) EX(opline)->handler)(execute_data)) != 0) {
40
if (ret > 0) {
41
execute_data = EG(current_execute_data);
42
} else {
0 commit comments