Task: Memory Access

Navigate to the labs/lab-03/tasks/memory-access/ directory, and enter support/src/. Inspect the mem_access.c source file.

  1. Describe each variable by completing its (address, size, access rights) tuple.

  2. Try to modify the ca, cp and cp2 variables by assigning some other value to them. Check your changes by running the checker.sh script in support/tests/. Explain the behavior.

If you’re having difficulties solving this exercise, go through this reading material.