remove misplaced comment

This commit is contained in:
disinvite 2024-09-01 15:42:18 -04:00
parent 389bdf9af4
commit a3334246a4

View File

@ -348,7 +348,6 @@ def is_real_string(s: str) -> bool:
# When we sanitize the asm, the result is the same regardless. # When we sanitize the asm, the result is the same regardless.
if self.orig_bin.is_debug: if self.orig_bin.is_debug:
for addr, string in self.orig_bin.iter_string("latin1"): for addr, string in self.orig_bin.iter_string("latin1"):
# Arbitrary threshold of 4, but I think this is what Ghidra does too
if is_real_string(string): if is_real_string(string):
self._db.set_orig_symbol( self._db.set_orig_symbol(
addr, SymbolType.STRING, string, len(string) addr, SymbolType.STRING, string, len(string)