英文:
What is INT 0x29 (29h, 41) on Windows x86-64?
问题
这段x86-64汇编代码的功能是什么?中断41是什么?
英文:
What does this x86-64 assembly code do? What is interrupt 41?
MOV ECX, 0x7
INT 0x29
答案1
得分: 2
https://learn.microsoft.com/en-us/cpp/intrinsics/fastfail?view=msvc-170 提到:
Internally,
__fastfail
is implemented by using several architecture-specific mechanisms:
Architecture Instruction Location of code argument x86 int 0x29 ecx x64 int 0x29 rcx ARM Opcode 0xDEFB r0 ARM64 Opcode 0xF003 x0
https://www.softwareverify.com/blog/fail-fast-codes/ 提到,7 是 FAST_FAIL_FATAL_APP_EXIT
。
相关链接:https://stackoverflow.com/questions/32383972/find-out-whats-calling-fastfail
英文:
https://learn.microsoft.com/en-us/cpp/intrinsics/fastfail?view=msvc-170 says:
> Internally, __fastfail
is implemented by using several architecture-specific mechanisms:
>
> | Architecture | Instruction | Location of code argument |
> | ------------ | ------------- | ------------------------- |
> | x86 | int 0x29 | ecx |
> | x64 | int 0x29 | rcx |
> | ARM | Opcode 0xDEFB | r0 |
> | ARM64 | Opcode 0xF003 | x0 |
https://www.softwareverify.com/blog/fail-fast-codes/ says that 7 is FAST_FAIL_FATAL_APP_EXIT
.
Related: https://stackoverflow.com/questions/32383972/find-out-whats-calling-fastfail
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论