Skip to content

系统调用约定 | Introspelliam #19

@Introspelliam

Description

@Introspelliam

https://introspelliam.github.io/2017/08/06/pwn/%E7%B3%BB%E7%BB%9F%E8%B0%83%E7%94%A8%E7%BA%A6%E5%AE%9A/

1、windows 64位调用约定windows64 位的调用很是奇怪,因为它不是通过栈来传参,而是通过寄存器来传参! 最为常见的是,当参数只有一个的时候,一般是选用rcx来传递参数! 2、Linux 32位调用约定Linux 32位的系统调用时通过int 80h来实现的,eax寄存器中为调用的功能号,ebx、ecx、edx、esi等等寄存器则依次为参数。下面我们来看看hello world程序:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions