Task: Memory Access
Navigate to the labs/lab-03/tasks/memory-access/ directory, and enter support/src/. Inspect the mem_access.c source file.
-
Describe each variable by completing its (address, size, access rights) tuple.
-
Try to modify the
ca,cpandcp2variables by assigning some other value to them. Check your changes by running thechecker.shscript insupport/tests/. Explain the behavior.
If you’re having difficulties solving this exercise, go through this reading material.