1
0
镜像自地址 https://github.com/0xAX/linux-insides.git 已同步 2025-07-09 18:18:03 +00:00

cand to and

"From this moment we have `argc`cand `argv" -> "From this moment we have `argc` and `argv"
这个提交包含在:
I°_°I 2019-02-19 14:20:13 +01:00 提交者 GitHub
父节点 70efeaa4cf
当前提交 340f313fdb
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23

查看文件

@ -325,7 +325,7 @@ popq %rsi
mov %RSP_LP, %RDX_LP
```
From this moment we have `argc`cand `argv`. We still need to put pointers to the construtor, destructor in appropriate registers and pass pointer to the stack. At the first following three lines we align stack to `16` bytes boundary as suggested in [ABI](https://software.intel.com/sites/default/files/article/402129/mpx-linux64-abi.pdf) and push `rax` which contains garbage:
From this moment we have `argc` and `argv`. We still need to put pointers to the construtor, destructor in appropriate registers and pass pointer to the stack. At the first following three lines we align stack to `16` bytes boundary as suggested in [ABI](https://software.intel.com/sites/default/files/article/402129/mpx-linux64-abi.pdf) and push `rax` which contains garbage:
```assembly
and $~15, %RSP_LP