如何使用visualstudio2022在c语言中内连x86汇编
具体过程:
一 使用visualstudio2022新建一个c语言项目
二 c语言内连x86汇编的具体代码示例
x86_inline_c.cpp
1 | //x86_inline_c.cpp |
补充零散知识点:
64位寄存器传参rcx,rdx,r8,r9,后面用堆栈[rsp+20h],data,[rsp+28h],data
进程遍历用到的win32函数:
1 | CreateToolhelp32napshot |
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
