xbe 0.1.1

A parser for .xbe files (Xbox executable)
Documentation
//! Contains a list of kernel symbol names.
//!
//! Can be used to translate import IDs in the thunk table to human-readable
//! names.

/// Associates symbol import IDs from the kernel thunk table with human-readable
/// names.
pub static KERNEL_SYMBOLS: &[&str; 379] = &[
    "(#0 unused)",    // 0 unused apparently
    "AvGetSavedDataAddress",
    "AvSendTVEncoderOption",
    "AvSetDisplayMode",
    "AvSetSavedDataAddress",
    "DbgBreakPoint",
    "DbgBreakPointWithStatus",
    "DbgLoadImageSymbols",
    "DbgPrint",
    "HalReadSMCTrayState",
    "DbgPrompt",
    "DbgUnLoadImageSymbols",
    "ExAcquireReadWriteLockExclusive",
    "ExAcquireReadWriteLockShared",
    "ExAllocatePool",
    "ExAllocatePoolWithTag",
    "ExEventObjectType",
    "ExFreePool",
    "ExInitializeReadWriteLock",
    "ExInterlockedAddLargeInteger",
    "ExInterlockedAddLargeStatistic",
    "ExInterlockedCompareExchange64",
    "ExMutantObjectType",
    "ExQueryPoolBlockSize",
    "ExQueryNonVolatileSetting",
    "ExReadWriteRefurbInfo",
    "ExRaiseException",
    "ExRaiseStatus",
    "ExReleaseReadWriteLock",
    "ExSaveNonVolatileSetting",
    "ExSemaphoreObjectType",
    "ExTimerObjectType",
    "ExfInterlockedInsertHeadList",
    "ExfInterlockedInsertTailList",
    "ExfInterlockedRemoveHeadList",
    "FscGetCacheSize",
    "FscInvalidateIdleBlocks",
    "FscSetCacheSize",
    "HalClearSoftwareInterrupt",
    "HalDisableSystemInterrupt",
    "HalDiskCachePartitionCount",
    "HalDiskModelNumber",
    "HalDiskSerialNumber",
    "HalEnableSystemInterrupt",
    "HalGetInterruptVector",
    "HalReadSMBusValue",
    "HalReadWritePCISpace",
    "HalRegisterShutdownNotification",
    "HalRequestSoftwareInterrupt",
    "HalReturnToFirmware",
    "HalWriteSMBusValue",
    "InterlockedCompareExchange",
    "InterlockedDecrement",
    "InterlockedIncrement",
    "InterlockedExchange",
    "InterlockedExchangeAdd",
    "InterlockedFlushSList",
    "InterlockedPopEntrySList",
    "InterlockedPushEntrySList",
    "IoAllocateIrp",
    "IoBuildAsynchronousFsdRequest",
    "IoBuildDeviceIoControlRequest",
    "IoBuildSynchronousFsdRequest",
    "IoCheckShareAccess",
    "IoCompletionObjectType",
    "IoCreateDevice",
    "IoCreateFile",
    "IoCreateSymbolicLink",
    "IoDeleteDevice",
    "IoDeleteSymbolicLink",
    "IoDeviceObjectType",
    "IoFileObjectType",
    "IoFreeIrp",
    "IoInitializeIrp",
    "IoInvalidDeviceRequest",
    "IoQueryFileInformation",
    "IoQueryVolumeInformation",
    "IoQueueThreadIrp",
    "IoRemoveShareAccess",
    "IoSetIoCompletion",
    "IoSetShareAccess",
    "IoStartNextPacket",
    "IoStartNextPacketByKey",
    "IoStartPacket",
    "IoSynchronousDeviceIoControlRequest",
    "IoSynchronousFsdRequest",
    "IofCallDriver",
    "IofCompleteRequest",
    "KdDebuggerEnabled",
    "KdDebuggerNotPresent",
    "IoDismountVolume",
    "IoDismountVolumeByName",
    "KeAlertResumeThread",
    "KeAlertThread",
    "KeBoostPriorityThread",
    "KeBugCheck",
    "KeBugCheckEx",
    "KeCancelTimer",
    "KeConnectInterrupt",
    "KeDelayExecutionThread",
    "KeDisconnectInterrupt",
    "KeEnterCriticalRegion",
    "MmGlobalData",
    "KeGetCurrentIrql",
    "KeGetCurrentThread",
    "KeInitializeApc",
    "KeInitializeDeviceQueue",
    "KeInitializeDpc",
    "KeInitializeEvent",
    "KeInitializeInterrupt",
    "KeInitializeMutant",
    "KeInitializeQueue",
    "KeInitializeSemaphore",
    "KeInitializeTimerEx",
    "KeInsertByKeyDeviceQueue",
    "KeInsertDeviceQueue",
    "KeInsertHeadQueue",
    "KeInsertQueue",
    "KeInsertQueueApc",
    "KeInsertQueueDpc",
    "KeInterruptTime",
    "KeIsExecutingDpc",
    "KeLeaveCriticalRegion",
    "KePulseEvent",
    "KeQueryBasePriorityThread",
    "KeQueryInterruptTime",
    "KeQueryPerformanceCounter",
    "KeQueryPerformanceFrequency",
    "KeQuerySystemTime",
    "KeRaiseIrqlToDpcLevel",
    "KeRaiseIrqlToSynchLevel",
    "KeReleaseMutant",
    "KeReleaseSemaphore",
    "KeRemoveByKeyDeviceQueue",
    "KeRemoveDeviceQueue",
    "KeRemoveEntryDeviceQueue",
    "KeRemoveQueue",
    "KeRemoveQueueDpc",
    "KeResetEvent",
    "KeRestoreFloatingPointState",
    "KeResumeThread",
    "KeRundownQueue",
    "KeSaveFloatingPointState",
    "KeSetBasePriorityThread",
    "KeSetDisableBoostThread",
    "KeSetEvent",
    "KeSetEventBoostPriority",
    "KeSetPriorityProcess",
    "KeSetPriorityThread",
    "KeSetTimer",
    "KeSetTimerEx",
    "KeStallExecutionProcessor",
    "KeSuspendThread",
    "KeSynchronizeExecution",
    "KeSystemTime",
    "KeTestAlertThread",
    "KeTickCount",
    "KeTimeIncrement",
    "KeWaitForMultipleObjects",
    "KeWaitForSingleObject",
    "KfRaiseIrql",
    "KfLowerIrql",
    "KiBugCheckData",
    "KiUnlockDispatcherDatabase",
    "LaunchDataPage",
    "MmAllocateContiguousMemory",
    "MmAllocateContiguousMemoryEx",
    "MmAllocateSystemMemory",
    "MmClaimGpuInstanceMemory",
    "MmCreateKernelStack",
    "MmDeleteKernelStack",
    "MmFreeContiguousMemory",
    "MmFreeSystemMemory",
    "MmGetPhysicalAddress",
    "MmIsAddressValid",
    "MmLockUnlockBufferPages",
    "MmLockUnlockPhysicalPage",
    "MmMapIoSpace",
    "MmPersistContiguousMemory",
    "MmQueryAddressProtect",
    "MmQueryAllocationSize",
    "MmQueryStatistics",
    "MmSetAddressProtect",
    "MmUnmapIoSpace",
    "NtAllocateVirtualMemory",
    "NtCancelTimer",
    "NtClearEvent",
    "NtClose",
    "NtCreateDirectoryObject",
    "NtCreateEvent",
    "NtCreateFile",
    "NtCreateIoCompletion",
    "NtCreateMutant",
    "NtCreateSemaphore",
    "NtCreateTimer",
    "NtDeleteFile",
    "NtDeviceIoControlFile",
    "NtDuplicateObject",
    "NtFlushBuffersFile",
    "NtFreeVirtualMemory",
    "NtFsControlFile",
    "NtOpenDirectoryObject",
    "NtOpenFile",
    "NtOpenSymbolicLinkObject",
    "NtProtectVirtualMemory",
    "NtPulseEvent",
    "NtQueueApcThread",
    "NtQueryDirectoryFile",
    "NtQueryDirectoryObject",
    "NtQueryEvent",
    "NtQueryFullAttributesFile",
    "NtQueryInformationFile",
    "NtQueryIoCompletion",
    "NtQueryMutant",
    "NtQuerySemaphore",
    "NtQuerySymbolicLinkObject",
    "NtQueryTimer",
    "NtQueryVirtualMemory",
    "NtQueryVolumeInformationFile",
    "NtReadFile",
    "NtReadFileScatter",
    "NtReleaseMutant",
    "NtReleaseSemaphore",
    "NtRemoveIoCompletion",
    "NtResumeThread",
    "NtSetEvent",
    "NtSetInformationFile",
    "NtSetIoCompletion",
    "NtSetSystemTime",
    "NtSetTimerEx",
    "NtSignalAndWaitForSingleObjectEx",
    "NtSuspendThread",
    "NtUserIoApcDispatcher",
    "NtWaitForSingleObject",
    "NtWaitForSingleObjectEx",
    "NtWaitForMultipleObjectsEx",
    "NtWriteFile",
    "NtWriteFileGather",
    "NtYieldExecution",
    "ObCreateObject",
    "ObDirectoryObjectType",
    "ObInsertObject",
    "ObMakeTemporaryObject",
    "ObOpenObjectByName",
    "ObOpenObjectByPointer",
    "ObpObjectHandleTable",
    "ObReferenceObjectByHandle",
    "ObReferenceObjectByName",
    "ObReferenceObjectByPointer",
    "ObSymbolicLinkObjectType",
    "ObfDereferenceObject",
    "ObfReferenceObject",
    "PhyGetLinkState",
    "PhyInitialize",
    "PsCreateSystemThread",
    "PsCreateSystemThreadEx",
    "PsQueryStatistics",
    "PsSetCreateThreadNotifyRoutine",
    "PsTerminateSystemThread",
    "PsThreadObjectType",
    "RtlAnsiStringToUnicodeString",
    "RtlAppendStringToString",
    "RtlAppendUnicodeStringToString",
    "RtlAppendUnicodeToString",
    "RtlAssert",
    "RtlCaptureContext",
    "RtlCaptureStackBackTrace",
    "RtlCharToInteger",
    "RtlCompareMemory",
    "RtlCompareMemoryUlong",
    "RtlCompareString",
    "RtlCompareUnicodeString",
    "RtlCopyString",
    "RtlCopyUnicodeString",
    "RtlCreateUnicodeString",
    "RtlDowncaseUnicodeChar",
    "RtlDowncaseUnicodeString",
    "RtlEnterCriticalSection",
    "RtlEnterCriticalSectionAndRegion",
    "RtlEqualString",
    "RtlEqualUnicodeString",
    "RtlExtendedIntegerMultiply",
    "RtlExtendedLargeIntegerDivide",
    "RtlExtendedMagicDivide",
    "RtlFillMemory",
    "RtlFillMemoryUlong",
    "RtlFreeAnsiString",
    "RtlFreeUnicodeString",
    "RtlGetCallersAddress",
    "RtlInitAnsiString",
    "RtlInitUnicodeString",
    "RtlInitializeCriticalSection",
    "RtlIntegerToChar",
    "RtlIntegerToUnicodeString",
    "RtlLeaveCriticalSection",
    "RtlLeaveCriticalSectionAndRegion",
    "RtlLowerChar",
    "RtlMapGenericMask",
    "RtlMoveMemory",
    "RtlMultiByteToUnicodeN",
    "RtlMultiByteToUnicodeSize",
    "RtlNtStatusToDosError",
    "RtlRaiseException",
    "RtlRaiseStatus",
    "RtlTimeFieldsToTime",
    "RtlTimeToTimeFields",
    "RtlTryEnterCriticalSection",
    "RtlUlongByteSwap",
    "RtlUnicodeStringToAnsiString",
    "RtlUnicodeStringToInteger",
    "RtlUnicodeToMultiByteN",
    "RtlUnicodeToMultiByteSize",
    "RtlUnwind",
    "RtlUpcaseUnicodeChar",
    "RtlUpcaseUnicodeString",
    "RtlUpcaseUnicodeToMultiByteN",
    "RtlUpperChar",
    "RtlUpperString",
    "RtlUshortByteSwap",
    "RtlWalkFrameChain",
    "RtlZeroMemory",
    "XboxEEPROMKey",
    "XboxHardwareInfo",
    "XboxHDKey",
    "XboxKrnlVersion",
    "XboxSignatureKey",
    "XeImageFileName",
    "XeLoadSection",
    "XeUnloadSection",
    "READ_PORT_BUFFER_UCHAR",
    "READ_PORT_BUFFER_USHORT",
    "READ_PORT_BUFFER_ULONG",
    "WRITE_PORT_BUFFER_UCHAR",
    "WRITE_PORT_BUFFER_USHORT",
    "WRITE_PORT_BUFFER_ULONG",
    "XcSHAInit",
    "XcSHAUpdate",
    "XcSHAFinal",
    "XcRC4Key",
    "XcRC4Crypt",
    "XcHMAC",
    "XcPKEncPublic",
    "XcPKDecPrivate",
    "XcPKGetKeyLen",
    "XcVerifyPKCS1Signature",
    "XcModExp",
    "XcDESKeyParity",
    "XcKeyTable",
    "XcBlockCrypt",
    "XcBlockCryptCBC",
    "XcCryptService",
    "XcUpdateCrypto",
    "RtlRip",
    "XboxLANKey",
    "XboxAlternateSignatureKeys",
    "XePublicKeyData",
    "HalBootSMCVideoMode",
    "IdexChannelObject",
    "HalIsResetOrShutdownPending",
    "IoMarkIrpMustComplete",
    "HalInitiateShutdown",
    "RtlSnprintf",
    "RtlSprintf",
    "RtlVsnprintf",
    "RtlVsprintf",
    "HalEnableSecureTrayEject",
    "HalWriteSMCScratchRegister",
    "(#367 unknown)",
    "(#368 unknown)",
    "(#369 unknown)",
    "XProfpControl",
    "XProfpGetData",
    "IrtClientInitFast",
    "IrtSweep",
    "MmDbgAllocateMemory",
    "MmDbgFreeMemory",
    "MmDbgQueryAvailablePages",
    "MmDbgReleaseAddress",
    "MmDbgWriteCheck",
];