开发者

memory copy from void*

I have following code,

char * segbase_char = (char*开发者_运维技巧)segbase; 

As debugged in gdb, it prints

segbase_char = 0x80e2da8
segbase = 0xb7ffd000

Any ideas?


It is possible that optimisation has resulted in code being moved around, such that the load of segbase_char has been delayed. Try compiling with a lower level of optimisation enabled.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜