KCodeSet

KCodeSet

class KCodeSet extends KAutoObject;

Size : 0x64 bytes

OffsetTypeDescription
0x0u32Pointer to vtable
0x4u32Reference count
0x8KCodeSetMemDescriptorMemory section info for .text
0x1CKCodeSetMemDescriptorMemory section info for .rodata
0x30KCodeSetMemDescriptorMemory section info for .data
0x44u32Total .text pages
0x48u32Total .rodata pages
0x4Cu32Total RW pages (.bss + .data)
0x50u64Process name as 8-byte string
0x58u16?
0x5Au16?
0x5Cu64TitleID

KCodeSetMemDescriptor #

Sections too large to fit into any available memory blocks will be split across multiple memory blocks with a KBlockInfo instance for each. This is described by the memory section info struct:

OffsetTypeDescription
0x0u32Start address (virtual)
0x4u32Total pages
0x8u32KBlockInfo count
0xCKLinkedListNode*Pointer to first KLinkedListNode in the list of objects
0x10KLinkedListNode*Pointer to last KLinkedListNode in the list of objects

Category:Kernel auto objects