Tencent / TscanCode

A static code analyzer for C++, C#, Lua
Other
2k stars 589 forks source link

TscSharp在解析文件时会进入死循环状态 #48

Open iNeverSleeeeep opened 4 years ago

iNeverSleeeeep commented 4 years ago

当c#文件中含有类似如下语法,在Tokenizing阶段会卡住。

class SomeClass
{
    private Dictionary<string, (string a, string b)> dictionary = new Dictionary<string, (string a, string b)>();
}
lsjsoft commented 2 years ago

在处理元组时会崩溃

___
( ︶︿︶)
Oops, I am running into crash.
Contact Tencent TscanCode Team please!
___