Premium Partner

Dobin 0x11_MemoryLayout.pdf

Dobin 0x11_MemoryLayout.pdf

Dobin 0x11_MemoryLayout.pdf


Kartei Details

Karten 9
Sprache English
Kategorie Religion/Ethik
Stufe Universität
Erstellt / Aktualisiert 21.06.2019 / 21.06.2019
Lizenzierung Keine Angabe
Weblink
https://card2brain.ch/box/20190621_dobin_0x11memorylayout_pdf
Einbinden
<iframe src="https://card2brain.ch/box/20190621_dobin_0x11memorylayout_pdf/embed" width="780" height="150" scrolling="no" frameborder="0"></iframe>

Describe the memory layout of a 32 bit system inluding the EIP and ESP pointer.

What are the charecteristics of the stack?

Stack:

  • There is one contiguous memory region containing the stack for the process
  • LIFO - Last in, First Out
  • Contains funtion local variables
  • Also contains: Saved Instruction Pointer (SIP)
  • Current function adds data to the top (bottom) of the stack

What are the charecteristics of the heap?

Heap: 

  • There is on contiguous memory region containing the heap
  • Memory allocator returns specific pieces of the memory region
  • For malloc()
  • Alos contains: heap management data

What is stored in the code region in memory?

Code region contains:

  • Compiled program code