demystify
demystify copied to clipboard
Be wiser in MsoftFilenameAnalysis output handling, e.g enums/controlled lists
Currently for each character issue discovered we do something a bit verbose:
def reportIssue(self, s, msg, value=''):
self.report = self.report + "File: " + s + " " + msg + " " + value + "\n"
E.g.
self.reportIssue(s, "contains, non-printable character:", hex(c) + ", " + self.unicodename(c))
We might be able to create a list of value pairs, e.g. (enum, char), e.g. ('non-ascii-char', '{char}) we can then process this more intelligently at the end of the analysis and perhaps in different ways too.