0% found this document useful (0 votes)
14 views8 pages

Understanding Heap Overflow Basics

The document discusses a talk on heap overflows. The talk will cover what the heap is, how it is managed, and the differences between the heap and stack. It will also provide examples of heap overflows in Visual Studio Code.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views8 pages

Understanding Heap Overflow Basics

The document discusses a talk on heap overflows. The talk will cover what the heap is, how it is managed, and the differences between the heap and stack. It will also provide examples of heap overflows in Visual Studio Code.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Heap overflow

Abd Alrahman saleh


ex-heap-1.c Questions

$(3 + rest of time)


1 min 3 mins 3 mins mins

Brief talk ex-heap-2.c


Brief talk about the heap : Heap
HEAP STACK

- What is heap?
- What is chunk?
- What is block?
- How is the heap managed?
- What is it different from the stack?
Brief talk about the heap : Chunk
HEAP
Brief talk about the heap : Heap vs stack

Heap Stack

- Low - Critical
- int *buffer = (int *) malloc(20); - int buffer [32];
- Programmer - OS
- Programmer - Automatically
Example 1,2 : in VS Code
Resources

[1][Link]

[2] [Link]

[3][Link] 84b30e1ecee0

[4][Link]

[5][Link]

[6][Link] [Link]

[7] [Link] [8] [Link]


Q/A

You might also like