We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1281150 commit 1e31edeCopy full SHA for 1e31ede
src/fosslight_binary/binary_analysis.py
@@ -63,6 +63,8 @@ def get_checksum_and_tlsh(bin_with_path):
63
checksum_value = str(sha1_hash.hexdigest())
64
try:
65
tlsh_value = str(tlsh.hash(byte))
66
+ if tlsh_value == "TNULL" or (not tlsh_value):
67
+ tlsh_value = TLSH_CHECKSUM_NULL
68
except:
69
tlsh_value = TLSH_CHECKSUM_NULL
70
f.close()
0 commit comments