INT 0x29(29h,41)在Windows x86-64上是什么?

huangapple go评论127阅读模式
英文:

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

huangapple
  • 本文由 发表于 2023年2月27日 06:22:57
  • 转载请务必保留本文链接:https://go.coder-hub.com/75575361.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定