fa25-cs354 cs354function-pointerexceptionprocessmodescontext-switch
W12 W12
Content locked
The catalog is public. Reading this content requires approved access.
Sign in to readWeek 12 Objectives
This Week
Read before Next Week
Pointers
Recall Pointer Basics in C
Recall Casting in C
Function Pointers
Example
Buffer Overflow & Stack Smashing
Bounds Checking
Buffer Overflow
Stack Smashing
Flow of Execution
Exceptional Control Flow
Some Uses of Exceptions
Exceptional Events
General Exceptional Control Flow
Kinds of Exceptions
1. Interrupt
2. Trap
3. Fault
4. Abort
Transferring Control via Exception Table
Transferring Control to an Exception Handler
Exception Table
Exceptions/System Calls in IA-32 & Linux
Exception Numbers and Types
System Calls and Service Numbers
Making System Calls
System Call Example
Assembly Code
Processes & Context
Concurrency
User/Kernel Modes
Context Switch
Context Switch Example
Stepping through a read() System Call