Windows error 0x00001146, 4422

Detailed Error Information

SECUREBOOT_INVALID_POLICY[1]

MessageThe Secure Boot policy is invalid.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x80071146.

HRESULT analysis[2]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code4422 (0x1146)

Questions

1vote
1answer

Can ASLR randomization be different per function?

I have the following code snippet: #include <inttypes.h> #include <stdio.h> uint64_t esp_func(void) { __asm__("movl %esp, %eax"); } int main() { uint32_t esp = 0; __asm__("\t movl %%esp,%0" : "=r"(esp)); printf("esp: 0x%08x\n", esp); printf("esp: 0x%08lx\n", esp_func()); return 0; } Which prints the following upon multiple executions: ❯ clang -g esp.c && [...] read more
c
assembly
x86
aslr

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0