github / github/codeql

AsmStmt has no accessor for assembly, or clobberlist

オープン
#6,157 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
C++
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。