Skip to content

Commit 50c0ea4

Browse files
committed
Removed bunch of debugs
Signed-off-by: Prabhu Subramanian <[email protected]>
1 parent a4eb1f9 commit 50c0ea4

File tree

4 files changed

+4
-14
lines changed

4 files changed

+4
-14
lines changed

Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
<key>CFBundleName</key>
1010
<string>blint</string>
1111
<key>CFBundleVersion</key>
12-
<string>2.4.1</string>
12+
<string>2.4.2</string>
1313
</dict>
1414
</plist>

blint/lib/binary.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@ def parse_functions(functions):
239239
"""
240240
func_list = []
241241
with contextlib.suppress(AttributeError, TypeError):
242-
LOG.debug("Parsing functions")
243242
for idx, f in enumerate(functions):
244243
if f.name and f.address:
245244
cleaned_name = demangle_symbolic_name(f.name)
@@ -265,7 +264,6 @@ def parse_strings(parsed_obj):
265264
"""
266265
strings_list = []
267266
with contextlib.suppress(AttributeError):
268-
LOG.debug("Parsing strings")
269267
strings = parsed_obj.strings
270268
if isinstance(strings, lief.lief_errors):
271269
return strings_list
@@ -299,7 +297,6 @@ def parse_symbols(symbols):
299297
"""
300298
symbols_list = []
301299
exe_type = ""
302-
LOG.debug("Parsing symbols")
303300
for symbol in symbols:
304301
try:
305302
symbol_version = symbol.symbol_version if symbol.has_version else ""
@@ -395,7 +392,6 @@ def parse_pe_data(parsed_obj):
395392
list[dict]: A list of dictionaries, each representing a data directory.
396393
"""
397394
data_list = []
398-
LOG.debug("Parsing data dictionaries")
399395
data_directories = parsed_obj.data_directories
400396
if not data_directories or isinstance(data_directories, lief.lief_errors):
401397
return data_list
@@ -439,7 +435,6 @@ def process_pe_resources(parsed_obj):
439435
Returns:
440436
dict: A dictionary containing metadata about the resources
441437
"""
442-
LOG.debug("Parsing PE resources")
443438
rm = parsed_obj.resources_manager
444439
if not rm or isinstance(rm, lief.lief_errors):
445440
return {}
@@ -528,7 +523,6 @@ def parse_pe_authenticode(parsed_obj):
528523
dict: A dictionary containing the Authenticode information
529524
"""
530525
try:
531-
LOG.debug("Parsing authentihash")
532526
sep = ":" if sys.version_info.minor > 7 else ()
533527
authenticode = {
534528
"md5_hash": parsed_obj.authentihash_md5.hex(*sep),
@@ -573,7 +567,6 @@ def parse_pe_symbols(symbols):
573567
- symbols_list (list): A list of symbol dictionaries
574568
- exe_type (str): The determined executable type.
575569
"""
576-
LOG.debug("Parsing symbols")
577570
symbols_list = []
578571
exe_type = ""
579572
for symbol in symbols:
@@ -618,7 +611,6 @@ def parse_pe_imports(imports):
618611
- imports_list (list[dict])
619612
- dll_list (list[dict])
620613
"""
621-
LOG.debug("Parsing imports")
622614
imports_list = []
623615
dlls = set()
624616
if not imports or isinstance(imports, lief.lief_errors):
@@ -660,7 +652,6 @@ def parse_pe_exports(exports):
660652
list[dict]: A list of exported symbol dictionaries.
661653
662654
"""
663-
LOG.debug("Parsing exports")
664655
exports_list = []
665656
if not exports or isinstance(exports, lief.lief_errors):
666657
return exports_list
@@ -698,7 +689,6 @@ def parse_macho_symbols(symbols):
698689
- symbols_list (list): A list of symbol dictionaries.
699690
- exe_type (str): The determined executable type.
700691
"""
701-
LOG.debug("Parsing symbols")
702692
symbols_list = []
703693
exe_type = ""
704694
if not symbols or isinstance(symbols, lief.lief_errors):

file_version_info.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ VSVersionInfo(
3232
u'040904B0',
3333
[StringStruct(u'CompanyName', u'OWASP Foundation'),
3434
StringStruct(u'FileDescription', u'blint - The Binary Linter'),
35-
StringStruct(u'FileVersion', u'2.4.1.0'),
35+
StringStruct(u'FileVersion', u'2.4.2.0'),
3636
StringStruct(u'InternalName', u'blint'),
3737
StringStruct(u'LegalCopyright', u'© OWASP Foundation. All rights reserved.'),
3838
StringStruct(u'OriginalFilename', u'blint.exe'),
3939
StringStruct(u'ProductName', u'blint'),
40-
StringStruct(u'ProductVersion', u'2.4.1.0')])
40+
StringStruct(u'ProductVersion', u'2.4.2.0')])
4141
]),
4242
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
4343
]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "blint"
3-
version = "2.4.1"
3+
version = "2.4.2"
44
description = "Linter and SBOM generator for binary files."
55
authors = [
66
{name= "Team AppThreat", email = "[email protected]"},

0 commit comments

Comments
 (0)