mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
ea0b5d9d1c
A new rollup tool now exists for flattening out the headers in a way that works better for our purposes than cpp. A lot of the API clutter has been removed. APIs that aren't a sure thing in terms of general recommendation are now marked internal. There's now a smoke test for the amalgamation archive and gigantic header file. So we can now guarantee you can use this project on the easiest difficulty setting without the gigantic repository. A website is being created, which is currently a work in progress: https://justine.storage.googleapis.com/cosmopolitan/index.html
51 lines
1.7 KiB
C
51 lines
1.7 KiB
C
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_IMAGELOADCONFIGDIRECTORY_H_
|
|
#define COSMOPOLITAN_LIBC_NT_STRUCT_IMAGELOADCONFIGDIRECTORY_H_
|
|
#include "libc/nt/struct/imageloadconfigcodeintegrity.internal.h"
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
struct NtImageLoadConfigDirectory {
|
|
uint32_t Size;
|
|
uint32_t TimeDateStamp;
|
|
uint16_t MajorVersion;
|
|
uint16_t MinorVersion;
|
|
uint32_t GlobalFlagsClear;
|
|
uint32_t GlobalFlagsSet;
|
|
uint32_t CriticalSectionDefaultTimeout;
|
|
uint64_t DeCommitFreeBlockThreshold;
|
|
uint64_t DeCommitTotalFreeThreshold;
|
|
uint64_t LockPrefixTable;
|
|
uint64_t MaximumAllocationSize;
|
|
uint64_t VirtualMemoryThreshold;
|
|
uint64_t ProcessAffinityMask;
|
|
uint32_t ProcessHeapFlags;
|
|
uint16_t CSDVersion;
|
|
uint16_t DependentLoadFlags;
|
|
uint64_t EditList;
|
|
uint64_t SecurityCookie;
|
|
uint64_t SEHandlerTable;
|
|
uint64_t SEHandlerCount;
|
|
uint64_t GuardCFCheckFunctionPointer;
|
|
uint64_t GuardCFDispatchFunctionPointer;
|
|
uint64_t GuardCFFunctionTable;
|
|
uint64_t GuardCFFunctionCount;
|
|
uint32_t GuardFlags;
|
|
struct NtImageLoadConfigCodeIntegrity CodeIntegrity;
|
|
uint64_t GuardAddressTakenIatEntryTable;
|
|
uint64_t GuardAddressTakenIatEntryCount;
|
|
uint64_t GuardLongJumpTargetTable;
|
|
uint64_t GuardLongJumpTargetCount;
|
|
uint64_t DynamicValueRelocTable;
|
|
uint64_t CHPEMetadataPointer;
|
|
uint64_t GuardRFFailureRoutine;
|
|
uint64_t GuardRFFailureRoutineFunctionPointer;
|
|
uint32_t DynamicValueRelocTableOffset;
|
|
uint16_t DynamicValueRelocTableSection;
|
|
uint16_t Reserved2;
|
|
uint64_t GuardRFVerifyStackPointerFunctionPointer;
|
|
uint32_t HotPatchTableOffset;
|
|
uint32_t Reserved3;
|
|
uint64_t EnclaveConfigurationPointer;
|
|
};
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_IMAGELOADCONFIGDIRECTORY_H_ */
|