xref: /third_party/ltp/tools/sparse/sparse-src/validation/crash-rewrite-branch.c
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/tools/sparse/sparse-src/validation/
1f08c3bdfSopenharmony_civoid a(int c, int e)
2f08c3bdfSopenharmony_ci{
3f08c3bdfSopenharmony_ci	for(;                   b; c ;
4f08c3bdfSopenharmony_ci
5f08c3bdfSopenharmony_ci	if (()) {
6f08c3bdfSopenharmony_ci		unsigned short d = e;
7f08c3bdfSopenharmony_ci		if (())
8f08c3bdfSopenharmony_ci			while ()
9f08c3bdfSopenharmony_ci				;
10f08c3bdfSopenharmony_ci		&d;
11f08c3bdfSopenharmony_ci	}
12f08c3bdfSopenharmony_ci
13f08c3bdfSopenharmony_ci	if (()) {
14f08c3bdfSopenharmony_ci		int f = &f;
15f08c3bdfSopenharmony_ci	}
16f08c3bdfSopenharmony_ci}
17f08c3bdfSopenharmony_ci
18f08c3bdfSopenharmony_ci/*
19f08c3bdfSopenharmony_ci * check-name: crash rewrite_branch
20f08c3bdfSopenharmony_ci * check-command: test-linearize $file
21f08c3bdfSopenharmony_ci *
22f08c3bdfSopenharmony_ci * check-error-ignore
23f08c3bdfSopenharmony_ci * check-output-ignore
24f08c3bdfSopenharmony_ci */
25

Indexes created Thu Nov 07 10:32:03 CST 2024