首页 > 代码库 > 【2014-11-22】《The Hardware/Software Interface》– Section 6

【2014-11-22】《The Hardware/Software Interface》– Section 6

Buffer Overflows

  1. IA32 Linux Memory Layout
    • Stack
      • Runtime stack (8MB limit)
    • Heap
      • Dynamically allocated storage
      • Allocated by malloc(), calloc(), new()
    • Data
      • Statically allocated data
        • Read-only: string literals
        • Read/write: global arrays and variables
    • Text
      • Executable machine instructions
      • Read-only
  2. image
  3. image
  4. image
  5. image

【2014-11-22】《The Hardware/Software Interface》– Section 6