|
[公告] 7月20日看雪峰会,赴一场20年之约!
帮大家排除一层空楼 |
|
[翻译]The Svin 的OpCode教程(22楼提供doc和pdf版本下载)
感谢楼主,楼主和原作者都很伟大。 |
|
linux 内核安全
可不可以和你做朋友,我觉得我学的内容和你很像,但是我的工作经验都是解析网络协议,我觉得内核、elf、汇编这些,纯粹属于个人兴趣,虽然我也不知道学到最后有不有机会用上,但我确实都很努力的学过,我也知道大部分企业更喜欢会更多语言、更上层语言、更时髦更先进的技术,但我就是对这些感兴趣,但身边很难找到有共同语言的 |
|
|
|
[推荐] 我的2018 总结
大家快写呀,正好我今天要完成年终总结 |
|
|
|
[征集]准备定制一波小礼物,大家想要什么?
智能音箱、抱枕/公仔,收件地址填哪里? |
|
请教一段汇编代码
sessiondiy 代码可能错的 你将 SHRD EAX,EBX,CL 改成 SHRD EDX,EBX,CL 试试我开始也是这样想的,把EDX,EAX看作一个整体,就和例子1类似了,但想来想去,没想到一个简洁的改动方法,我对汇编不熟悉,加上这是官方手册里的,不敢断定错误,所以就来问大佬们了 |
|
请教一段汇编代码
各位大佬,我调了一下,没有得到期望的结果(由于我对linux环境相对熟悉一点,所以把代码转换成AT&T格式,然后用gdb调试的)。 汇编:as --gstabs -o test.o test.s 链接:ld -o a.out test.o 代码: .data strg_base : .string "ABCDEFGHIJKLMN\0" strg_insr : .string "\x01\x03\x07\x0f" length = 29 .text .global _start _start: movl $strg_insr, %esi movl $45, %edi movl %edi, %ecx shrl $5, %edi shll $2, %edi andb $0x1f, %cl movl $4, %ebx movl strg_base(%edi), %eax movl strg_base(%edi,%ebx,), %edx movl %eax, %ebx shrdl %cl, %edx, %eax shrdl %cl, %ebx, %eax shrdl $length, %esi, %eax roll $length, %eax movl %eax, %ebx shldl %cl, %edx, %eax shldl %cl, %ebx, %edx movl $4, %ebx movl %eax, strg_base(%edi) movl %edx, strg_base(%edi,%ebx,) movl $0, %ebx movl $1, %eax int $0x80 |
|
请教一段汇编代码
shld,shrd我明白,不理解这段代码 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值