RTL_RETPOLINE_ROUTINES - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTMMAPI_H

/**
 * The RTL_RETPOLINE_ROUTINES structure contains indices/offsets and jump-table
 * descriptors used for retpoline/runtime patching.
 */
typedef struct _RTL_RETPOLINE_ROUTINES
{
    ULONG SwitchtableJump[16]; // Jump offsets for switchtable entries.
    ULONG CfgIndirectRax;      // Index/offset for indirect calls using RAX under CFG.
    ULONG NonCfgIndirectRax;   // Index/offset for indirect calls not under CFG.
    ULONG ImportR10;           // Import slot/index for R10-based imports.
    ULONG JumpHpat;            // Hot-spot jump table offset.
} RTL_RETPOLINE_ROUTINES, *PRTL_RETPOLINE_ROUTINES;

#endif

View code on GitHub

NtDoc

No description available.