Question: Please help explain the difference between the two outputs with the following asslebler programs. Incructions and details are below. Cs 3433 - Principles of Computer
Please help explain the difference between the two outputs with the following asslebler programs.
Incructions and details are below.
Cs 3433 - Principles of Computer and Information Security Assigument da: Mapping the Stack Due at start of class Monday, October 1, 2018 This project is to take a program which is known, fcall18.c, and map the stack on the Ubuntu distribution on the hen0(1-4).ca.utsarr.net Linux machines running gec version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) as well as map the stack on the Debian 9 distribution which is running gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) both with ASLR turned of In addition, since the behavior is different, explain precisely why there is a difference in out- put. Note that you can only connect to the heno(1-4 machines from inside the CS network (ie. toxo(1-6]). The program, fcali 18. e, is: #include void funct (int a, int b, int c) int u; char but 1 [s]; int v char buf2(10] int wi int ret; vb; ret (int (bu 25); ret)4; printf ("u-%d, . Xd, %d ", u. v, v); w- int mainO int x, y, z x 0 y-1; z-2: funct (x, y, z); y*-3; 2+-3; print f ( "X-Zd. return(O); y za, z " %d ", x, y, z); Cs 3433 - Principles of Computer and Information Security Assigument da: Mapping the Stack Due at start of class Monday, October 1, 2018 This project is to take a program which is known, fcall18.c, and map the stack on the Ubuntu distribution on the hen0(1-4).ca.utsarr.net Linux machines running gec version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) as well as map the stack on the Debian 9 distribution which is running gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) both with ASLR turned of In addition, since the behavior is different, explain precisely why there is a difference in out- put. Note that you can only connect to the heno(1-4 machines from inside the CS network (ie. toxo(1-6]). The program, fcali 18. e, is: #include void funct (int a, int b, int c) int u; char but 1 [s]; int v char buf2(10] int wi int ret; vb; ret (int (bu 25); ret)4; printf ("u-%d, . Xd, %d ", u. v, v); w- int mainO int x, y, z x 0 y-1; z-2: funct (x, y, z); y*-3; 2+-3; print f ( "X-Zd. return(O); y za, z " %d ", x, y, z)