Skip to content

Commit

Permalink
Update disassembler.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardofn committed Oct 5, 2020
1 parent 243fafb commit 22b8285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/virustotal/vt_ida/disassembler.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def wildcard_instruction(addr):
mask = ida_idp.ph_calcrel(addr)
# IDA > 7.5 return a list, < 7.5 returns a byte object
if idaapi.IDA_SDK_VERSION >= 750:
mask_bytes = mask[0] # mask_length = mask[1]
mask_bytes = mask[0]
mask_str = binascii.hexlify(mask_bytes).decode('utf-8')
else:
mask_str = binascii.hexlify(mask).decode('utf-8')
Expand Down

0 comments on commit 22b8285

Please sign in to comment.