
SPARC
文章平均质量分 73
一个手艺人
喜欢底层技术,平时主要使用C语言,也对汇编,Go,Bash有一定了解。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
一个变量越界导致破坏堆栈的bug
前一段时间在商用系统上出现了core dump,原因是由于一个局部变量写越界导致堆栈被破坏了。在这里,我把这个bug分享一下,希望给需要的朋友一点帮助。简化的代码如下:typedef struct{ ......} A;void func1(char *p){ ......}void main(void){ A a; A *p = &a; char b[10];原创 2014-01-25 12:31:44 · 5288 阅读 · 0 评论 -
函数尾调用优化(Tail-call Optimization)对DTrace return probe的影响
今天这个话题要从stackoverflow上的原创 2014-05-02 19:18:26 · 1431 阅读 · 0 评论 -
C programming tips in SPARC architecture
If you are a newbie of C programmers in SPARC architecture (For example, working on Solaris), you should pay attention to the following tips:(1) By default, SPARC is big-endian. It means for an原创 2014-05-28 18:20:54 · 925 阅读 · 0 评论