Difference between revisions of "KHeapChunkHeader"

From 3dbrew
Jump to navigation Jump to search
(Thanks! Added some tiny clarifications.)
(Absolutely fucking not)
Line 1: Line 1:
[[Category:Kernel objects]]
 
 
 
This is the header stored in FCRAM for each FCRAM heap chunk. The kernel maintains this structure.
 
This is the header stored in FCRAM for each FCRAM heap chunk. The kernel maintains this structure.
  
Line 16: Line 14:
 
| 0x0
 
| 0x0
 
| u32
 
| u32
| Size (in 4K pages)
+
| Size in pages
 
|-
 
|-
 
| 0x4
 
| 0x4

Revision as of 20:25, 27 September 2015

This is the header stored in FCRAM for each FCRAM heap chunk. The kernel maintains this structure.

An attack like gspwn can be used to overwrite instances of this header in order to exploit the ARM11 kernel on system versions below 9.3 (memchunkhax).


Size : 0xC bytes?

Offset Type Description
0x0 u32 Size in pages
0x4 KHeapHeader* Next
0x8 KHeapHeader* Prev