/CSAPP-Lab-Solutions

Computer Systems: A Programmer's Perspective. This repo records my solutions to the labs.

Primary LanguageC

CSAPP-Lab-Solutions

Computer Systems: A Programmer's Perspective. This repo records my solutions of the Lab assignments

  • Data Lab

    • bitwise operations
    • learning IEEE754 floating point representation
  • Bomb Lab

    • debug with gdb
    • understanding assembly code
    • understanding lea instruction -- load effective address
  • Attack Lab

    • understanding code injection attack
    • understanding stack protection mecahnism
    • understanding return oriented programming attack
  • Cache Lab

    • understanding spatial and temporal locality
    • implementing LRU cache replacement policy
  • Shell lab

    • Unix IPC mechanism(signal)