CPP: Some guard questions about control
オープン
question
- 主要言語
- CodeQL
- スター
- 10.1k
- フォーク
- 2.1k
- 平均マージ
- 2日 15時間
- マージ済み PR(30日)
- 141
説明
Hi!
I want to detect if there is a check for NULL return value of a function.And I want to get the block which is controlled by `ret == NULL`
So Do I have to consider the following four cases?
```
if(ret == NULL) //comparesEq(ret, null, 0, true, true))
if(ret != NULL) //comparesEq(ret, null, 0, false, true)
if(ret) // I don't know yet how to write this
if(!ret) //I don't know yet how to write this
```
Or Is there a method that includes the above four cases?
コントリビューションガイド
評価
この issue はまだ評価されていません。