|
[求助]mov ebx,dword ptr ds:[edi+eax*4] 如何翻译成C语言?
Rookietp 那直接定义成byte 数组好了 { &nb ...好的 学到了!!感谢 |
|
[求助]mov ebx,dword ptr ds:[edi+eax*4] 如何翻译成C语言?
Rookietp 不用呀,不是可以自定义结构体?IDA提供的数组长这样: 首元素:dw 0000h CODE:00403E1C dd 30960000h, 612C7707h, 51BAEE0Eh, 0C4199909h, 0F48F076Dh CODE:00403E1C dd 0A535706Ah, 95A3E963h, 88329E64h, 0B8A40EDBh, 0E91E79DCh CODE:00403E1C dd 0D988E0D5h, 4C2B97D2h, 7CBD09B6h, 2D077EB1h, 1D91E7B8h CODE:00403E1C dd 106490BFh, 20F21DB7h, 71486AB0h, 41DEF3B9h, 0D47D84BEh CODE:00403E1C dd 0E4EB1ADAh, 0B5516DDDh, 85C7F4D4h, 985683D3h, 0A8C0136Ch CODE:00403E1C dd 0F97A646Bh, 0C9ECFD62h, 5C4F8A65h, 6CD91401h, 3D636306h CODE:00403E1C dd 0DF5FA0Fh, 20C88D08h, 105E3B6Eh, 41E44C69h, 7172D560h ………… OD里的内存地址长这样: 00403E1A 00 00 00 00 96 30 07 77 2C 61 0E EE BA 51 09 99 00403E2A 19 C4 6D 07 8F F4 6A 70 35 A5 63 E9 A3 95 64 9E 00403E3A 32 88 DB 0E A4 B8 DC 79 1E E9 D5 E0 88 D9 D2 97 ………… 可以发现两者基本上是一样的。请问知道这些信息以后有什么高效的办法构建数组嘛,还是说只能自己手动整理一下,求大神解惑
最后于 2020-3-23 10:18
被天堂製造编辑
,原因:
|
|
[求助]mov ebx,dword ptr ds:[edi+eax*4] 如何翻译成C语言?
麻烦可以再说具体一点嘛?结构体具体怎样定义我有点没反应过来...谢谢啦 |
|
[求助]mov ebx,dword ptr ds:[edi+eax*4] 如何翻译成C语言?
Rookietp 数组? DWORD AAA[]我在IDA里看了确实是数组,但是排列的顺序和内存中差别很大,也不是小端排序,是那种跳着排序的。。。比如在内存地址中的排列顺序是AA BB CC DD,在IDA里反编译提供的数组就是CCDDEEFFh,1122AABBh,有点困惑。如果硬要做的话感觉也不是不可以,但感觉在构建数组这一块会花很多时间。 |
|
|
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值