Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

My solution of CS:APP3e lab. Anyone who copies this repository shall be held fully responsible for his actions.

Notifications You must be signed in to change notification settings

guyutongxue/Introduction_to_Computer_System

Repository files navigation

CS:APP3e Lab solutions (PKU-ver, not full score)

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.

DataLab

Edited files:

  • bits.c

BombLab

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

ArchLab

Edit files:

  • sim/misc/*.ys
  • sim/seq/seq-full.hcl
  • sim/pipe/pipe-full.hcl
  • sim/pipe/ncopy.ys

Score 187.9/190

AttackLab

Online lab, handout not unique

New files:

  • phase*.txt
  • *target.objdump

Extra files:

  • Generate bitwise instructions:
    • Makefile
    • temp.s
    • temp.objdump

CacheLab

New files:

  • csim.c

Edited files:

  • trans.c

Score 59.6/60

ShellLab tshlab

Edited files:

  • tsh.c

MallocLab

Edited files:

  • mm.c

Score 118/120

ProxyLab

Removed files:

  • proxy.c
  • csapp.c
  • csapp.h

Modified files:

  • Makefile

New files:

  • proxy.cpp
  • csapp2.cpp
  • csapp2.h
  • cache.h
  • cache.cpp

About

My solution of CS:APP3e lab. Anyone who copies this repository shall be held fully responsible for his actions.

Topics

Resources

Stars

Watchers

Forks