github / github/codeql

Question - Variable initialization

Aperta
#7,827 12 commenti 0 reazioni 0 assegnatari Vedi su GitHub
question
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

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!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.