@@ -239,7 +239,6 @@ def parse_functions(functions):
239
239
"""
240
240
func_list = []
241
241
with contextlib .suppress (AttributeError , TypeError ):
242
- LOG .debug ("Parsing functions" )
243
242
for idx , f in enumerate (functions ):
244
243
if f .name and f .address :
245
244
cleaned_name = demangle_symbolic_name (f .name )
@@ -265,7 +264,6 @@ def parse_strings(parsed_obj):
265
264
"""
266
265
strings_list = []
267
266
with contextlib .suppress (AttributeError ):
268
- LOG .debug ("Parsing strings" )
269
267
strings = parsed_obj .strings
270
268
if isinstance (strings , lief .lief_errors ):
271
269
return strings_list
@@ -299,7 +297,6 @@ def parse_symbols(symbols):
299
297
"""
300
298
symbols_list = []
301
299
exe_type = ""
302
- LOG .debug ("Parsing symbols" )
303
300
for symbol in symbols :
304
301
try :
305
302
symbol_version = symbol .symbol_version if symbol .has_version else ""
@@ -395,7 +392,6 @@ def parse_pe_data(parsed_obj):
395
392
list[dict]: A list of dictionaries, each representing a data directory.
396
393
"""
397
394
data_list = []
398
- LOG .debug ("Parsing data dictionaries" )
399
395
data_directories = parsed_obj .data_directories
400
396
if not data_directories or isinstance (data_directories , lief .lief_errors ):
401
397
return data_list
@@ -439,7 +435,6 @@ def process_pe_resources(parsed_obj):
439
435
Returns:
440
436
dict: A dictionary containing metadata about the resources
441
437
"""
442
- LOG .debug ("Parsing PE resources" )
443
438
rm = parsed_obj .resources_manager
444
439
if not rm or isinstance (rm , lief .lief_errors ):
445
440
return {}
@@ -528,7 +523,6 @@ def parse_pe_authenticode(parsed_obj):
528
523
dict: A dictionary containing the Authenticode information
529
524
"""
530
525
try :
531
- LOG .debug ("Parsing authentihash" )
532
526
sep = ":" if sys .version_info .minor > 7 else ()
533
527
authenticode = {
534
528
"md5_hash" : parsed_obj .authentihash_md5 .hex (* sep ),
@@ -573,7 +567,6 @@ def parse_pe_symbols(symbols):
573
567
- symbols_list (list): A list of symbol dictionaries
574
568
- exe_type (str): The determined executable type.
575
569
"""
576
- LOG .debug ("Parsing symbols" )
577
570
symbols_list = []
578
571
exe_type = ""
579
572
for symbol in symbols :
@@ -618,7 +611,6 @@ def parse_pe_imports(imports):
618
611
- imports_list (list[dict])
619
612
- dll_list (list[dict])
620
613
"""
621
- LOG .debug ("Parsing imports" )
622
614
imports_list = []
623
615
dlls = set ()
624
616
if not imports or isinstance (imports , lief .lief_errors ):
@@ -660,7 +652,6 @@ def parse_pe_exports(exports):
660
652
list[dict]: A list of exported symbol dictionaries.
661
653
662
654
"""
663
- LOG .debug ("Parsing exports" )
664
655
exports_list = []
665
656
if not exports or isinstance (exports , lief .lief_errors ):
666
657
return exports_list
@@ -698,7 +689,6 @@ def parse_macho_symbols(symbols):
698
689
- symbols_list (list): A list of symbol dictionaries.
699
690
- exe_type (str): The determined executable type.
700
691
"""
701
- LOG .debug ("Parsing symbols" )
702
692
symbols_list = []
703
693
exe_type = ""
704
694
if not symbols or isinstance (symbols , lief .lief_errors ):
0 commit comments