github / github/codeql

Question - Variable initialization

Đang mở
#7,827 12 bình luận 0 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

Variable initialization (cpp)

Hi, I'm having problems trying to catch the first assignment of a variable in a function's argument.

For instance, catching the `struct->elem` variable from `recvfrom` arg 2, and finding its first assignment whereby it is equated to `ptr`. Ultimately, I want to catch all `ptr` variables that are used in the `recvfrom` function.
```
struct->elem = ptr
recvfrom(df, struct->elem...)
```

Thanks for any help!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.