☰
Debian Codegraph
@
1:19.1.7-22
1:19.1.7-20
/
/
clang
/
test
/
Analysis
/
concrete-address.c
☽
☼
clang/test/Analysis/concrete-address.c
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_analyze_cc1 -analyzer-checker=core,alpha.core -verify %s
2
// expected-no-diagnostics
3
4
void foo(void) {
5
int *p = (int*) 0x10000; // Should not crash here.
6
*p = 3;
7
}