---
# System prepended metadata

title: NTNU CSAPP BookClub
tags: [CSIE]

---

---
title: NTNU CSAPP BookClub
tags: CSIE
---

# 分組 & 時間表


分組名單跟時間表
1. jw910731 AoK_Blast  yee
2. 彭安慈 咚啾 YingMuo
3. 何躍陽 黃冠棠(wago) Skyline
4. hq8398 alan 鄭仲bang

| 時間      | 組別      | 章節     |
| -------- | -------- | -------- |
| 7/14     | 1        | 1 & 2    |
| 7/21     | 2        | 3        |
| 7/28     | 1 & 2    | 1&2&３    |
| 8/4      | 3        | 4        |
| 8/11     | 3        | 4        |
| 8/18     | 4        | 5        |
| 8/25     | 4        | 5        |
| 9/1      | 1&2      | 6        |
| 9/8      | 1&2      | 6        |
| 9/15     | 3&4      | 7        |
| 9/22     | 3&4      | 7        |


# Slides
## Chapter 1 & 2
[Chapter 1~2](https://hackmd.io/@aokblast/r1jPxMupu#/)
[Chapter 1~3 補充](https://hackmd.io/@aokblast/SJH0zejAd)

## Chapter 3
[Chapter 3](https://hackmd.io/@YingMuo/CSAPP3_slide#/)

## Chapter 4
[Chapter 4p1](https://docs.google.com/presentation/d/12kIqk3wLijEC6ltcitGdGJm3RKcbqbXQqPms8PDipcY/edit?fbclid=IwAR0RwR9-FHzGT9MaLoxyeC8yyjFkjsaASuOVz5ZikI32rIb1i6UdIRneeOk#slide=id.ge7911cff8e_1_65)
[Chapter 4p2](https://blog.aokblast.su/ch4.pdf)

## Chapter 5
[Chapter 5](https://hackmd.io/@hiFbws9HS-uyBrkLZP8c_w/BkrfGULeY)

## Chapter 6
[Chapter 6p1](https://hackmd.io/@aokblast/HkdyU-KWt#/)
[Chapter 6p2](https://hackmd.io/@YingMuo/CSAPP06-2)
[Supplier](https://hackmd.io/@SIlbVPlXR26vjqUoZDgZzA/HkyscQn2z?type=view)

## Chapter 7
[Chapter 7p1](https://blog.aokblast.su/csapp_ch7_pt1.pdf)
[Chapter 7p2](https://blog.aokblast.su/csapp_ch7_pt2.pdf)

# Lab1
[CS:APP's Lab](http://csapp.cs.cmu.edu/3e/labs.html)
- Bomb Lab
    - Disassembly + Reverse engineer
    - Find out 6 correct input string that \"defuse the bomb\"
    - [name=jw910731] ~~我覺得挺好玩的 ww~~
- Attack Lab
    - BufferOverFlow
    - Code Injection
    - Return Oriented Programming
    - Tools
        - `hex2raw` - Payload constructor
    - Run with `-q` parameter
        - Avoid trying connecting CMU grading server
        - We are not CMU student QQ

## Get Ready with Lab
[**請先點我** 前往 CS:APP3e lab 官網](http://csapp.cs.cmu.edu/3e/labs.html)
- Writeup
    - Lab 的原始說明
- Self-Study Handout
    - 檔案載點
    - 請使用 Linux 執行， <span style="background-color: yellow;">**Windows and FreeBSD is not supported**</span>
    - 解壓縮指令 `tar xvf <filename>` ~~([name=jw910731] 我寫給自己的小抄拉哈哈)~~
    - Attack Lab 的官方執行環境是 Ubuntu 12.04
        - 測試在 Arch Linux (Linux kernel version 5.13.7-zen, glibc 2.33) 可以動，各位加油
        - 需要的 shared object
            - `linux-vdso.so.1`
            - `libc.so.6`
            - `ld-linux-x86-64.so.2`

![](https://i.imgur.com/oKrOkvg.jpg)


