- 博客(2)
- 资源 (6)
- 收藏
- 关注
转载 linux参数传递规则
<br />一般规则为, 当参数少于7个时, 参数从左到右放入寄存器: rdi, rsi, rdx, rcx, r8, r9。当参数为 7 个以上时, 前 6 个与前面一样, 但后面的依次从 "右向左" 放入栈中。<br />例如: <br /> CODE<br />(1) 参数个数少于7个: <br /> f (a, b, c, d, e, f); <br /> a->%rdi, b->%rsi, c->%rdx, d->%rcx, e->%r8, f->%r9<br />g (a,
2011-03-03 01:26:00 1943
转载 gdb调试
<br />作为内置和最常用的调试器,GDB 显然有着无可辩驳的地位。熟练使用 GDB ,就好像所有 Linux 下的开发人员建议你用 VIM 一样,是个很 "奇怪" 的情节。<br /><br /> 测试用源代码。#include <stdio.h><br /><br /> int test(int a, int b )<br /> {<br /> int c = a + b ;<br /> return c;<br /> }<br /><br /> int main(in
2011-03-03 01:22:00 851
ARM MMU详细图解.pdf
2009-07-03
elf文件格式分段详细分析
2009-03-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人