Skip to content

Commit

Permalink
minor format
Browse files Browse the repository at this point in the history
  • Loading branch information
clearbluejar committed Jan 4, 2024
1 parent e94c8ab commit f6baafc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ghidriff/version_tracking_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ def find_matches(
# tuples of correlators instances
# ( name, hasher, one_to_one, one_to_many)
# DO NOT CHANGE ORDER UNLESS INTENDED, ORDER HAS MAJOR IMPACT ON ACCURACY AND EFFICIENCY
func_correlators = [
func_correlators = [
('ExactBytesFunctionHasher', ExactBytesFunctionHasher.INSTANCE, True, False),
('ExactInstructionsFunctionHasher', ExactInstructionsFunctionHasher.INSTANCE, True, False),
(StructuralGraphExactHasher.MATCH_TYPE, StructuralGraphExactHasher(), True, False),
('ExactMnemonicsFunctionHasher', ExactMnemonicsFunctionHasher.INSTANCE, True, False),
('BSIM', None, True, True), # not a true function hasher
('BSIM', None, True, True), # not a true function hasher
(BulkInstructionsHasher.MATCH_TYPE, BulkInstructionsHasher(), True, False),
(SigCallingCalledHasher.MATCH_TYPE, SigCallingCalledHasher(), True, False),
(StringsRefsHasher.MATCH_TYPE, StringsRefsHasher(), True, False),
Expand Down Expand Up @@ -119,8 +119,6 @@ def find_matches(


# Run Function Hash Correlators

func_matches = None
# Each round of matching will "accept" the matches and subtract them from the unmatched functions
# This is why the order of correlators matter
for cor in func_correlators:
Expand Down

0 comments on commit f6baafc

Please sign in to comment.