Skip to content

Commit 23144c3

Browse files
committed
filter some match
1 parent f8d9361 commit 23144c3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

emmy_debugger/src/debugger/emmy_debugger.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,6 +1365,9 @@ int Debugger::FuzzyMatchFileName(const std::string &chunkName, const std::string
13651365

13661366
// 我们用chunkname去匹配filename
13671367
int maxMatchSize = static_cast<int>(std::min(chunkSize, fileSize));
1368+
if (maxMatchSize <= 1) {
1369+
return 0;
1370+
}
13681371

13691372
int matchProcess = 1;
13701373

0 commit comments

Comments
 (0)