Skip to content

Commit

Permalink
idb2pat: re-add loc variable lost during merge
Browse files Browse the repository at this point in the history
closes #27.
  • Loading branch information
williballenthin committed Mar 30, 2016
1 parent 2f0a449 commit 21ad641
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/flare/idb2pat.py
Expand Up @@ -255,6 +255,7 @@ def make_func_sig(config, func):

sig += ".." * (32 - (len(sig) / 2))

loc = 32
crc_data = [0 for i in zrange(256)]
# for 255 bytes starting at index 32, or til end of function, or variable byte
for i in zrange(32, min(func.endEA - func.startEA, 255 + 32)):
Expand Down

0 comments on commit 21ad641

Please sign in to comment.