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 b00ef4e commit c8336b2Copy full SHA for c8336b2
sapi/fuzzer/fuzzer-execute-common.h
@@ -23,6 +23,7 @@
23
#include "fuzzer.h"
24
#include "fuzzer-sapi.h"
25
#include "zend_exceptions.h"
26
+#include "zend_vm.h"
27
28
#define FILE_NAME "/tmp/fuzzer.php"
29
#define MAX_STEPS 1000
@@ -63,7 +64,7 @@ static void fuzzer_execute_ex(zend_execute_data *execute_data) {
63
64
65
while (1) {
66
fuzzer_step();
- opline = opline->handler(execute_data, opline);
67
+ opline = ((zend_vm_opcode_handler_func_t) zend_get_opcode_handler_func(opline))(execute_data, opline);
68
if ((uintptr_t) opline & ZEND_VM_ENTER_BIT) {
69
opline = (const zend_op *) ((uintptr_t) opline & ~ZEND_VM_ENTER_BIT);
70
if (opline) {
0 commit comments