File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 32
32
static uint32_t steps_left ;
33
33
static bool bailed_out = false;
34
34
35
- /* Because the fuzzer is always compiled with clang,
36
- * we can assume that we don't use global registers / hybrid VM. */
37
- typedef zend_op * (ZEND_FASTCALL * opcode_handler_t )(zend_execute_data * , const zend_op * );
38
-
39
35
static zend_always_inline void fuzzer_bailout (void ) {
40
36
bailed_out = true;
41
37
zend_bailout ();
@@ -67,7 +63,7 @@ static void fuzzer_execute_ex(zend_execute_data *execute_data) {
67
63
68
64
while (1 ) {
69
65
fuzzer_step ();
70
- opline = (( opcode_handler_t ) opline -> handler ) (execute_data , opline );
66
+ opline = opline -> handler (execute_data , opline );
71
67
if ((uintptr_t ) opline & ZEND_VM_ENTER_BIT ) {
72
68
opline = (const zend_op * ) ((uintptr_t ) opline & ~ZEND_VM_ENTER_BIT );
73
69
if (opline ) {
You can’t perform that action at this time.
0 commit comments