github / github/codeql

AsmStmt has no accessor for assembly, or clobberlist

Aperta
#6,157 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub
C++
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

Given an AsmStmt as follows:
```c
asm volatile
(
"syscall"
: "=a" (ret)
: "0"(nr), "D"(arg0), "S"(arg1), "d"(arg2)
: "rcx", "r11", "memory"
);
```
There seems to be no predicate to retrieve the assembly string (in this case, `"syscall"`), the return or the clobberlist. Calling `getAChild` inherited from `Expr` only yields the input/output expressions.

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.