File: tab.c

package info (click to toggle)
frama-c 20161101%2Bsilicon%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 42,324 kB
  • ctags: 35,695
  • sloc: ml: 200,142; ansic: 31,465; makefile: 2,334; sh: 1,643; lisp: 259; python: 85; asm: 26
file content (47 lines) | stat: -rw-r--r-- 618 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//@ assigns \result \from \nothing;
int any_int();
int x=55,y=77,t[4];
void main0() {
  int i = any_int ();
  t[1] = x;
  t[i] = y;
}

void main() {
  int i = any_int ();
  t[i] = 1;
  t[1] = y;
}

int TT[5][5]={0,1,1,0,0,0,0,0,0,0,0,1};
int TTT[5][5]={1,2,3,4,5,0,0,0,0,0,1};

void main1(){
  TT[5][5] =2;
}
/*
typedef struct {int a; int b;} T;
void g() {
  int x,y,i,t[4],*p;
  T s1,s2;
  t[i] = y;
  t[1] = x;
  s1 = s2;
  s1.a = s2.a;
  s1.b = s2.b;
}

int t[10][10];
int ***p, i,j,x;
char **c;
void g1() {
//  *(*(p+2)) = &i;
//  ***(p+i) = x;
  *(*(c+2)+1) = 'a';
}

void h1() {
  *(*(*(&c+2)+1)+5) = 'a';
}

*/