File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ def uc_afl_fuzz(uc: Uc,
127127
128128 if isinstance (input_file , str ):
129129 input_file = ctypes .create_string_buffer (input_file .encode ('utf-8' ))
130- if isinstance (input_file , bytes ):
130+ elif isinstance (input_file , bytes ):
131131 input_file = ctypes .create_string_buffer (input_file )
132132 elif input_file is None :
133133 input_file = 0
@@ -182,7 +182,7 @@ def uc_afl_fuzz_custom(uc: Uc,
182182
183183 if isinstance (input_file , str ):
184184 input_file = ctypes .create_string_buffer (input_file .encode ('utf-8' ))
185- if isinstance (input_file , bytes ):
185+ elif isinstance (input_file , bytes ):
186186 input_file = ctypes .create_string_buffer (input_file )
187187 elif input_file is None :
188188 input_file = 0
You can’t perform that action at this time.
0 commit comments