15-213 Introduction to Computer Systems
Lecture 14: Cyclone

  • Reading:
  • Slides: none
  • Code: 14-cyclone/ (14-cyclone.tar)
  • Concepts:
    • Unsafe features of C
      • Pointer arithmetic (out-of-bounds array access)
      • Some casts (eg, integer to pointer)
      • Unions
      • Uninitialized variables
      • Linking (without type checking)
      • printf and scanf argument interpretation
      • Returning pointers to local variables
      • free (eg, premature or twice)
    • Fat pointers
    • Thin pointers
    • Tagged unions
    • Stack and heap regions
  • Previous lecture: Linking
  • Next lecture: File Systems

[ Home | Schedule | Assignments | Exams | Lab Machines | Resources ]
[ Textbook | Autolab ]
[ Newsgroup | Blackboard ]

fp@cs
Frank Pfenning