[BUG] TypeError: %d format: a number is required, not struc_t
VoidSec opened this issue · 0 comments
VoidSec commented
Failed while executing plugin_t.run():
Traceback (most recent call last):
File "D:/IDA/plugins/DriverBuddyReloaded.py", line 466, in run
driver_type = utils.get_driver_id(driver_entry_addr, log_file)
File "D:\IDA/plugins\DriverBuddyReloaded\utils.py", line 209, in get_driver_id
populate_wdf()
File "D:\IDA/plugins\DriverBuddyReloaded\wdf.py", line 759, in populate_wdf
id = add_struct(version)
File "D:\IDA/plugins\DriverBuddyReloaded\wdf.py", line 50, in add_struct
idc.add_struc_member(struc, "pfnWdfChildListCreate", idc.BADADDR, idc.FF_DATA | FF_PTR, None, ptr_size)
File "D:\IDA\python\3\idc.py", line 3919, in add_struc_member
return eval_idc('add_struc_member(%d, "%s", %d, %d, %d, %d);' % (sid, ida_kernwin.str2user(name or ""), offset, flag, typeid, nbytes))
TypeError: %d format: a number is required, not struc_t