Skip to content

Commit d59be84

Browse files
committed
🚑 Fix crash (no type for parameter)
1 parent 302598c commit d59be84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bnhelpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def _add_vmt_methods(bv: BinaryView, vmt: DelphiVMT, out_struct: types.Structure
9191
bv.arch,
9292
Type.function(
9393
function.return_type,
94-
[x.type for x in function.parameter_vars],
94+
[(Type.void() if x.type is None else x.type) for x in function.parameter_vars],
9595
function.calling_convention
9696
)
9797
)

0 commit comments

Comments
 (0)