Shimin Chen
chensm@cs.cmu.edu
Office hours:
WeH 8019
Wed 2-3pm
x8-5143
Sept 9: Bits and integers
Slides (
ppt
,
pdf
,
pdf4up
)
Sept 16: Assembly and gdb
Slides (
ppt
,
pdf
,
pdf4up
)
Code:
example.c
GDB concise reference [
pdf
]
GDB quick reference [
pdf
]
Sept 23: Function, array, and linked list
Slides (
ppt
,
pdf
,
pdf4up
)
correction
Code:
example1.c
example2.c
example3.c
example4.c
Sept 30: Stack and buffer overflow
Slides (
ppt
,
pdf
,
pdf4up
)
Code:
example1.c
example2.c
Oct 7: Floating point and review for exam 1
Slides (
ppt
,
pdf
,
pdf4up
)
Oct 21: Loop unrolling and blocking
Slides (
ppt
,
pdf
,
pdf4up
)
Oct 28: Process and signals
Slides (
ppt
,
pdf
,
pdf4up
)
Nov 4: Error handling and I/O
Slides (
ppt
,
pdf
,
pdf4up
)
Nov 11: Malloc
Slides (
ppt
,
pdf
,
pdf4up
)
Nov 18: I/O
Slides (
ppt
,
pdf
,
pdf4up
)
Nov 25: Network programming
Slides (
ppt
,
pdf
,
pdf4up
)
Code for echo proxy
Dec 2: Threads
Slides (
ppt
,
pdf
,
pdf4up
)