No description
Find a file
2026-10-20 23:17:20 -06:00
literal.c hello world 2026-10-20 23:15:48 -06:00
memmap.c format update 2026-10-20 23:17:20 -06:00
README.md hello world 2026-10-20 23:15:48 -06:00

Week 9 debugger lab

File What it is Who owns it
memmap.c A short program that prints where its globals, static, locals, array, pointer and string literal live Given, do not change
literal.c The same letters as an array and as a string literal, with the illegal write behind a define Given, do not change
cc -std=c17 -Wall -Wextra -g -O0 memmap.c -o memmap
./memmap
cc -std=c17 -Wall -Wextra -g -O0 literal.c -o literal
./literal
cc -std=c17 -Wall -Wextra -g -O0 -DWRITE_THROUGH_LITERAL literal.c -o literal-write
./literal-write

Style is enforced by CS2060-ProgrammingWithC/STYLE.md; python3 tools/check_c_style.py src/*.c reports layout problems.