New heuristics and enhanced comparison of matches
New heuristics and enhanced comparison of matches

HEUR: More "heuristics" used to clean-up the assembly dumps, giving better scores for non true modifications.
HEUR: Changed the default time-out per heuristic to 3 minutes.
HEUR: Added heuristic "Function hash" and "Bytes sum".
HEUR: Modified heuristic "Bytes hash". Instead of taking only the 1st byte of each instruction, it now takes the bytes from the instruction that doesn't change due to relocation, etc...
FIX: Added a workaround for (another) IDAPython bug. This bug is triggered in IDA 6.8, at least, when switch contruction's cases are retrieved.
FIX: When sorting the basic blocks to construct the final assembly dump to export and compare be sure to always put the first the entry point, regardless of the address.
FIX: Assembly comments with the ';' character were not being stripped.

joxeankoret/diaphora