sanitize: remove old routine
closes:
@@ -8,13 +8,3 @@ def sanitize_string_for_printing(s: str) -> str:
sanitized_string = s.replace("\\\\", "\\") # print single backslashes
sanitized_string = "".join(c for c in sanitized_string if c in string.printable)
return sanitized_string
\ No newline at end of file
-
-
-def sanitize_string_for_script(s: str) -> str:
- """
- Return sanitized string that is added to IDA script source.
- """
- sanitized_string = sanitize_string_for_printing(s)
- sanitized_string = sanitized_string.replace("\\", "\\\\")
- sanitized_string = sanitized_string.replace('"', '\\"')
- return sanitized_string
