VirtualBox

Changeset 104433 in vbox for trunk/src/VBox/Debugger


Ignore:
Timestamp:
Apr 25, 2024 2:13:49 PM (10 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
162933
Message:

DBGPlugInWinNt: Flag and some comments on LDR_DATA_TABLE_ENTRY / KLDR_DATA_TABLE_ENTRY.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGPlugInWinNt.cpp

    r102855 r104433  
    6363 * PsLoadedModuleList entry for 32-bit NT aka LDR_DATA_TABLE_ENTRY.
    6464 * Tested with XP.
     65 *
     66 * See comments in NTMTE64.
    6567 */
    6668typedef struct NTMTE32
     
    8587    }               FullDllName,
    8688                    BaseDllName;
    87     uint32_t        Flags;
     89    uint32_t        Flags;                              /**< NTMTE_F_XXX  */
    8890    uint16_t        LoadCount;
    8991    uint16_t        TlsIndex;
     
    9496/**
    9597 * PsLoadedModuleList entry for 64-bit NT aka LDR_DATA_TABLE_ENTRY.
     98 *
     99 * Starting with XP it it's specialized for the kernel as KLDR_DATA_TABLE_ENTRY
     100 * with compatible layout up to a point, the non-K version is used in user land.
     101 * The Flags values probably differs a bit by now.
    96102 */
    97103typedef struct NTMTE64
     
    116122    }               FullDllName,                       /**< 0x48 */
    117123                    BaseDllName;                       /**< 0x58 */
    118     uint32_t        Flags;                             /**< 0x68 */
     124    uint32_t        Flags;                             /**< 0x68 NTMTE_F_XXX */
    119125    uint16_t        LoadCount;                         /**< 0x6c */
    120126    uint16_t        TlsIndex;                          /**< 0x6e */
     
    122128} NTMTE64;
    123129typedef NTMTE64 *PNTMTE64;
     130
     131#define NTMTE_F_FORCE_INTEGRITY                     0x20 /* copy of IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY */
    124132
    125133/** MTE union. */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette