-
Arch Lab
Arch LabPart AExp 1When running rsum_list (rsum.ys), I accidentally set the pos of stack to 200 (normally 0x200). Then when pushing the callee-saved registers and the PCs to record call functions, ... -
Attack Lab
Attack LabUse gdb to get the stack pointer (%rsp)Use regex and translate all possible mov / pop / nop / equal nop instructionsWhen using ROP attack, we should always remember that we... -
Bomb Lab
Bomb LabThis may be the most famous lab across all CSAPP labs, which requires us to defuse a bomb by reading the assembly (technically reverse engineering). All thoughts are in comments of the bomb... -
Data Lab
Data LabThe most interesting function implemented in integer is howManyBits, which requires a binary/half interval technique. Also, it’s worth remembering the IEEE 754 floating point numbers s... -
CSAPP Mainpage
CSAPP LabsThis is a train of thought when resolving CS:APP3e labs. All codes are available at GitHub Progress: Data Lab Bomb Lab Attack Lab Arch Lab Cache Lab Perf Lab (Seems same as Cache L... -
Monotonic Stack and Queue
Sliding WindowExplanationThe Sliding Window problem is a common algorithmic challenge that requires finding the minimum or maximum value within a fixed-length window in an array. A straightforward ... -
TODO-List
Here is a list of todos with deadlinesPassages and Books CS:APP CS61A Cpp Primer (5th edition) Google Code-style Manual CS61B Algorithm (clrs or sth else) LeetCode Courses MIT 18.03 Differ... -
Hello World
Welcome to My CS Blog! 🚀About This BlogThis blog is dedicated to Computer Science topics, including algorithms, data structures, AI, software development, and system design. Whether you’re a begin...
1