-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ | |
__contact__ = "[email protected]" | ||
|
||
import codecs | ||
import collections | ||
import copy as copymod | ||
import functools | ||
import gc | ||
|
@@ -32,7 +31,7 @@ | |
import struct | ||
import time | ||
import uuid | ||
from collections import Counter | ||
from collections import Counter, defaultdict | ||
from hashlib import md5, sha1, sha256, sha512 | ||
from typing import Union | ||
|
||
|
@@ -5469,7 +5468,7 @@ def length_until_eof(rva): | |
- export_dir.AddressOfNames | ||
) | ||
|
||
symbol_counts = collections.defaultdict(int) | ||
symbol_counts = defaultdict(int) | ||
export_parsing_loop_completed_normally = True | ||
for i in range(min(export_dir.NumberOfNames, int(safety_boundary / 4))): | ||
symbol_ordinal = self.get_word_from_data(address_of_name_ordinals, i) | ||
|
@@ -5586,7 +5585,7 @@ def length_until_eof(rva): | |
- export_dir.AddressOfFunctions | ||
) | ||
|
||
symbol_counts = collections.defaultdict(int) | ||
symbol_counts = defaultdict(int) | ||
export_parsing_loop_completed_normally = True | ||
for idx in range(min(export_dir.NumberOfFunctions, int(safety_boundary / 4))): | ||
if idx + export_dir.Base not in ordinals: | ||
|