Show offset of the truncated large strings ##search

This commit is contained in:
pancake 2024-06-11 09:12:48 +02:00 committed by pancake
parent a927554c25
commit 3b18a26b43

View File

@ -1,4 +1,4 @@
/* radare - LGPL - Copyright 2006-2023 pancake */
/* radare - LGPL - Copyright 2006-2024 pancake */
#define R_LOG_ORIGIN "search.strings"
@ -71,7 +71,7 @@ static int findstrings(RSearch *s, ut64 from, const ut8 *buf, int len, RSearchKe
if (matches < max_matches) {
matches++;
} else {
R_LOG_WARN ("Truncated match, keyword is too large");
R_LOG_WARN ("Truncated match, keyword is too large at 0x%08"PFMT64x, from + i);
matches = 0;
}
} else {