From a587990f3e64e11d032384b183bf214e0e5746b7 Mon Sep 17 00:00:00 2001 From: Rikard Nordgren Date: Sun, 3 May 2026 14:17:56 +0200 Subject: [PATCH] Do not print out similarities of 3 bytes --- tools/similarity.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/tools/similarity.c b/tools/similarity.c index 964c8a0b..57fb2c4a 100644 --- a/tools/similarity.c +++ b/tools/similarity.c @@ -305,16 +305,18 @@ int main(int argc,char **argv) fclose(f); } - // Otherwise, the match is unexplained. - matches[k]++; - - // Display particularly long matches - printf("$%04X = $%04X :",i,j); - for(int b=0;b 3) { + + // Otherwise, the match is unexplained. + matches[k]++; + + // Display particularly long matches + printf("$%04X = $%04X :",i,j); + for(int b=0;b