This repo provide solutions, writeups and handouts of CS:APP3e lab. Notice that these labs will be modified every year, depends on the mood of TAs each year. That's what PKU like, right? ;)
Anyone who copies this repository shall be held fully responsible for his actions.
Edited files:
bits.c
Online lab, handout not unique
Edited files:
- Patched
bomb
New files:
answer.txt
bomb.objdump
Extra files:
- Crack Phase 6:
test.py
result.txt
- Decompiler:
bomb.c
Edit files:
sim/misc/*.ys
sim/seq/seq-full.hcl
sim/pipe/pipe-full.hcl
sim/pipe/ncopy.ys
Score 187.9/190
Online lab, handout not unique
New files:
phase*.txt
*target.objdump
Extra files:
- Generate bitwise instructions:
Makefile
temp.s
temp.objdump
New files:
csim.c
Edited files:
trans.c
Score 59.6/60
Edited files:
tsh.c
Edited files:
mm.c
Score 118/120
Removed files:
proxy.c
csapp.c
csapp.h
Modified files:
Makefile
New files:
proxy.cpp
csapp2.cpp
csapp2.h
cache.h
cache.cpp