github / github/codeql

AsmStmt has no accessor for assembly, or clobberlist

Đang mở
#6,157 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
C++
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ả

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.

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.