Après avoir fait ./a.out : je suis le pid 2911 main = 0x55da4ede0179 gettimeofday = 0x7fc917925870 &argc = 0x7ffd1e269f5c &i = 0x7ffd1e269f6c &j = 0x55da4ede4000 t = 0x55da4ede3060 m = 0x55da8162c310 [solar@salle225-11 Ex1]$ cat /proc/2911/maps 55da4eddf000-55da4ede0000 r--p 00000000 00:3e 80832245 /export/home/an23/solar/SCR/SCR3.1/TP1/Ex1/a.out 55da4ede0000-55da4ede1000 r-xp 00001000 00:3e 80832245 /export/home/an23/solar/SCR/SCR3.1/TP1/Ex1/a.out 55da4ede1000-55da4ede2000 r--p 00002000 00:3e 80832245 /export/home/an23/solar/SCR/SCR3.1/TP1/Ex1/a.out 55da4ede2000-55da4ede3000 r--p 00002000 00:3e 80832245 /export/home/an23/solar/SCR/SCR3.1/TP1/Ex1/a.out 55da4ede3000-55da4ede5000 rw-p 00003000 00:3e 80832245 /export/home/an23/solar/SCR/SCR3.1/TP1/Ex1/a.out 55da8162c000-55da8164d000 rw-p 00000000 00:00 0 [heap] 7fc917600000-7fc917624000 r--p 00000000 103:05 6028 /usr/lib/libc.so.6 7fc917624000-7fc917796000 r-xp 00024000 103:05 6028 /usr/lib/libc.so.6 7fc917796000-7fc917805000 r--p 00196000 103:05 6028 /usr/lib/libc.so.6 7fc917805000-7fc917809000 r--p 00204000 103:05 6028 /usr/lib/libc.so.6 7fc917809000-7fc91780b000 rw-p 00208000 103:05 6028 /usr/lib/libc.so.6 7fc91780b000-7fc917813000 rw-p 00000000 00:00 0 7fc9178ee000-7fc9178f3000 rw-p 00000000 00:00 0 7fc91791f000-7fc917923000 r--p 00000000 00:00 0 [vvar] 7fc917923000-7fc917925000 r--p 00000000 00:00 0 [vvar_vclock] 7fc917925000-7fc917927000 r-xp 00000000 00:00 0 [vdso] 7fc917927000-7fc917928000 r--p 00000000 103:05 6019 /usr/lib/ld-linux-x86-64.so.2 7fc917928000-7fc917952000 r-xp 00001000 103:05 6019 /usr/lib/ld-linux-x86-64.so.2 7fc917952000-7fc917960000 r--p 0002b000 103:05 6019 /usr/lib/ld-linux-x86-64.so.2 7fc917960000-7fc917962000 r--p 00039000 103:05 6019 /usr/lib/ld-linux-x86-64.so.2 7fc917962000-7fc917963000 rw-p 0003b000 103:05 6019 /usr/lib/ld-linux-x86-64.so.2 7fc917963000-7fc917964000 rw-p 00000000 00:00 0 7ffd1e24a000-7ffd1e26b000 rw-p 00000000 00:00 0 [stack] ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall] le main est dans 55da4ede0000-55da4ede1000 r-xp 00001000 00:3e 80832245 /export/home/an23/solar/SCR/SCR3.1/TP1/Ex1/a.out gettimeofday dans 7fc917925000-7fc917927000 r-xp 00000000 00:00 0 [vdso] &argc et &i dans 7ffd1e24a000-7ffd1e26b000 rw-p 00000000 00:00 0 [stack] &j et t sont sur la même plage ils 55da4ede la seul différence est que &j est 4000 la ou le t est pour 3060 mais ils sont tous les 2 sur la même ligne : 55da4ede3000-55da4ede5000 rw-p 00003000 00:3e 80832245 /export/home/an23/solar/SCR/SCR3.1/TP1/Ex1/a.out m dans 55da8162c000-55da8164d000 rw-p 00000000 00:00 0 [heap] Ex2: buf: 18064 kB stack: 1704kB heap: 51596 kB huge: 2036 kB mmap: Ex3: Version 1: solar@salle225-08 Ex3]$ size a.out text data bss dec hex filename 1136 512 4032 5680 1630 a.out [solar@salle225-08 Ex3]$ size a.out -t text data bss dec hex filename 1136 512 4032 5680 1630 a.out 1136 512 4032 5680 1630 (TOTALS)