首页
社区
课程
招聘
[求助]计算汇编指令总字节数的问题
2008-12-8 11:40 4012

[求助]计算汇编指令总字节数的问题

2008-12-8 11:40
4012
808a20da 68c4000000      push    0C4h
808a20df 6848978180      push    offset nt!PsGetProcessJob+0x115 (80819748)
808a20e4 e89a9df6ff      call    nt!CIsqrt+0x2d7 (8080be83)
808a20e9 33f6            xor     esi,esi
808a20eb 8975d4          mov     dword ptr [ebp-2Ch],esi
808a20ee 33c0            xor     eax,eax
808a20f0 8d7dd8          lea     edi,[ebp-28h]
808a20f3 ab              stos    dword ptr es:[edi]
808a20f4 64a124010000    mov     eax,dword ptr fs:[00000124h]
808a20fa 8a8040010000    mov     al,byte ptr [eax+140h]
808a2100 8845cc          mov     byte ptr [ebp-34h],al
808a2103 84c0            test    al,al
808a2105 0f84a3e80600    je      nt!ObSetSecurityDescriptorInfo+0x222 (809109ae)
808a210b 8975fc          mov     dword ptr [ebp-4],esi
808a210e a1b4fe8880      mov     eax,dword ptr [nt!MmUserProbeAddress (8088feb4)]
808a2113 8b4d08          mov     ecx,dword ptr [ebp+8]
808a2116 3bc8            cmp     ecx,eax
808a2118 0f83758b0800    jae     nt!LsaFreeReturnBuffer+0x17879 (8092ac93)
808a211e 8b01            mov     eax,dword ptr [ecx]
808a2120 8901            mov     dword ptr [ecx],eax
808a2122 8b5d10          mov     ebx,dword ptr [ebp+10h]
808a2125 f6c303          test    bl,3
808a2128 0f856c8b0800    jne     nt!LsaFreeReturnBuffer+0x17880 (8092ac9a)
808a212e a1b4fe8880      mov     eax,dword ptr [nt!MmUserProbeAddress (8088feb4)]
808a2133 3bd8            cmp     ebx,eax
808a2135 0f83698b0800    jae     nt!LsaFreeReturnBuffer+0x1788a (8092aca4)

请问下有没有计算这些汇编指令总字节数的工具

[培训]内核驱动高级班,冲击BAT一流互联网大厂工 作,每周日13:00-18:00直播授课

收藏
点赞0
打赏
分享
最新回复 (3)
雪    币: 558
活跃值: (43)
能力值: ( LV12,RANK:220 )
在线值:
发帖
回帖
粉丝
xiep 5 2008-12-8 12:42
2
0
0x808a2135  -  0x808a20da + 0x6 = 0x61 = 97(bytes)
雪    币: 155
活跃值: (10)
能力值: ( LV3,RANK:20 )
在线值:
发帖
回帖
粉丝
greatbob 2008-12-8 12:44
3
0
你拿计算器把最后一条指令的地址减去第一条指令的地址不就算出来了么,
雪    币: 331
活跃值: (57)
能力值: ( LV7,RANK:100 )
在线值:
发帖
回帖
粉丝
better 2 2008-12-8 12:45
4
0
offset
游客
登录 | 注册 方可回帖
返回