2 University of Electronic Science Technology of China(UESTC) ☐Case4 int static variable=5; void f register int i1,i2,i3,i4,i5,i6,i7,i8,i9,i10; register char *c1,*c2,*c3,*c4,*c5, *c6*c7,*c8*c9,*c10 extern inta very long_name; double dbl Real-Time Systems Lab LIAO Yong
2 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) Case 4 int static_variable=5; void f() { register int i1,i2,i3,i4,i5,i6,i7,i8,i9,i10; register char *c1, *c2, *c3, *c4, *c5, *c6, *c7, *c8, *c9, *c10, extern inta_very_long_name; double dbl;
3 University of Electronic Science Technology of China(UESTC) ☐Case4 int funcret_int(); double func_ret_double(); char *func ret_char ptro i1=1i2=2:i3=3:i4=4i5=5i6=6 i7=74i8=8i9=9i10=10片 c1=(char *)110:c2=(char *)120 c3=(char*)130c4=(char*)140: c5=(char*)150:c6=(char*)160片 c7=(char *)170:c8=(char *)180 c9=(char *)190 c10=(char*)2005 Real-Time Systems Lab LIAO Yong
3 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) Case 4 int func_ret_int(); double func_ret_double(); char *func_ret_char_ptr(); i1=1;i2=2;i3=3;i4=4;i5=5;i6=6; i7=7;i8=8;i9=9;i10=10; c1=(char *)110; c2=(char *)120; c3=(char *)130; c4=(char *)140; c5=(char *)150; c6=(char *)160; c7=(char *)170; c8=(char *)180; c9=(char *)190; c10=(char *)200;
University of Electronic Science Technology of China(UESTC) Case4 int a very long_name=1; i2=intfunc_ret_int(10,i1,i10); dbl=func_ret_double; c1=func ret_char_ptr(c1) int func ret_int(int a,int b,register int c) int dh d=b-6; return a+b+ci Real-Time Systems Lab LIAO Yong
4 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) Case 4 int a_very_long_name=1; i2=intfunc_ret_int(10, i1, i10); dbl=func_ret_double(); c1= func_ret_char_ptr(c1); } int func_ret_int(int a,int b, register int c) { int d; d=b-6; return a+b+c;} ……
5 University of Electronic Science Technology of China(UESTC) Case 4 int static variable=5 ,data .enen .global static variable static variable .long 5 Real-Time Systems Lab LIAO Yong
5 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) Case 4 int static_variable=5; .data .enen .global _static_variable _static_variable .long 5
6 University of Electronic Science Technology of China(UESTC) Case 4 void f() register int i1,i2,i3,i4,i5,i6,i7,i8,i9,i10: register char *c1,*c2,*c3,*c4,*c5, *c6*c7*c8*c9*c10 extern inta_verylong_name; double dbl: intfunc ret_int; double func ret_double char *func ret char ptro Real-Time Systems Lab LIAO Yong
6 Real-Time Systems Lab LIAO Yong University of Electronic Science & Technology of China (UESTC) Case 4 void f() { register int i1,i2,i3,i4,i5,i6,i7,i8,i9,i10; register char *c1, *c2, *c3, *c4, *c5, *c6, *c7, *c8, *c9, *c10, extern inta_very_long_name; double dbl; intfunc_ret_int(); double func_ret_double(); char *func_ret_char_ptr();