github / github/codeql

Question - Variable initialization

Abierto
#7,827 12 comentarios 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
CodeQL
Estrellas
10.1k
Forks
2.1k
Merge medio
2 d 15 h
PR fusionados (30 d)
141

Descripción

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!

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.