摘要: 原文地址:http://www.blogjava.net/jiajw0426/archive/2009/10/15/298388.html源代码1section.data2msgdb'Hello,world!',0xA3lenequ$-msg4section.text5globalmain6main:7movedx,len8movecx,msg9movebx,110moveax,411int0x8012movebx,013moveax,114int0x80开始调试javen@javen-laptop:~/study$nasm-felfhello.asm-g-Fstabsjave 阅读全文
posted @ 2012-09-23 20:53 NeilHappy 阅读(533) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.haogongju.net/art/1221011风靡于各种linux书籍的“set disintel”已不再适用了,会出现以下错误:Ambiguous setcommand "dis intel": disable-randomization, disassemble-next-line, disassembly-flavor, disconnected-tracing...正确的命令是:sudo echo "set disassembly-flavor intel"> ~/.gdbinitGDB 在启动的时候会按 阅读全文
posted @ 2012-09-23 20:49 NeilHappy 阅读(539) 评论(0) 推荐(0) 编辑