llvm-project
llvm-project copied to clipboard
Clang Attribute Push - Crash on Invalid
- Bug found from fuzzing
Crashing Code
int x;
#pragma clang attribute push ([[noreturn (x))
Issue
- Crash on invalid Input
- Does not crash on preprocessor
CompilerExplorer
https://godbolt.org/z/1crhzKejP
@llvm/issue-subscribers-clang-frontend
Author: Andy Benson (apbenson00)
- Bug found from fuzzing
Crashing Code
int x;
#pragma clang attribute push ([[noreturn (x))
Issue
- Crash on invalid Input
- Does not crash on preprocessor
CompilerExplorer
https://godbolt.org/z/1crhzKejP