Skip to content

Commit

Permalink
fix #21
Browse files Browse the repository at this point in the history
  • Loading branch information
VoidSec committed Apr 25, 2022
1 parent 7f07236 commit 8a442b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DriverBuddyReloaded/wdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def add_struct(version):
id = idc.get_struc_id('WDFFUNCTIONS')
if id != -1:
# delete old struc
idc.del_struc(idaapi.get_struc(id))
idc.del_struc(id)
log('Creating struct for WDF Functions version 1.%d' % version)
id = idc.add_struc(-1, 'WDFFUNCTIONS', 0)
struc = idaapi.get_struc(id)
Expand Down

0 comments on commit 8a442b0

Please sign in to comment.