首页
社区
课程
招聘
一个谁都能免费使用的反汇编库(含 X64 版)
发表于: 2005-11-24 09:07 8692

一个谁都能免费使用的反汇编库(含 X64 版)

2005-11-24 09:07
8692
附件:dasm.rar
dasm64.rar (X64 版)
文件只有29K,保证好用!附件中有DLL和示范工程,代码如下:
typedef unsigned long (__stdcall * FREEDASM)(unsigned long,unsigned __int64,unsigned char *,char *);
int main(int argc, char* argv[])
{
        printf("Hello World!\n");
        FREEDASM freedasm;
        HMODULE hDll;
        unsigned char * pinst;
        unsigned long  len;
        char szDasm[512];
        hDll=(HMODULE)::LoadLibrary("freedasm.dll");
        freedasm=(FREEDASM)::GetProcAddress(hDll,"FreeDasm");
        if(freedasm)
        {
                pinst=(unsigned char *)&main;
                for(int i=0;i<100;i++)
                {
                        if(len=freedasm(sizeof(pinst)/4,(unsigned __int64)pinst,pinst,szDasm))
                        {
                                printf("%x:%s\n",pinst,szDasm);
                                pinst+=len;
                        }
                        else
                        {
                                printf("%x:db %x\n",pinst,*pinst);
                                pinst++;
                        }

                }
        }

        return 0;
}

由free64受权传播。

http://www.tortall.net/projects/yasm/

一个很不错的开源汇编程序,想学习的不防看一下:
Key Current User-Visible Features ¶
Note: some of these are post-0.4.0 features only available in the latest snapshot.

Nearly feature-complete lexing and parsing of (preprocessed) NASM syntax.
Limited lexing and parsing of GAS (GNU assembler) syntax?.
AMD64 support (enabled using "BITS 64", "-m amd64", or selecting an explicitly 64-bit object format output such as "-f win64" or "-f elf64")
64-bit (and larger) integer constants allowed (including math operations).
Internationalization support via GNU gettext.
A simple 2-pass optimizer (it's a bit better than the NASM one).
The "real" NASM preprocessor (imported from NASM's source tree).
Binary object file? output (NASM style).
COFF object file? output, for use with DJGPP.
Win32 object file? output (including Win64/AMD64 support).
STABS debug format.
ELF32 and ELF64 object file output. No debugging information included at this point.
Portability; currently compilable on:
UNIX and compatibles (FreeBSD and Linux tested, GNU configure based autoconfiguration)
DOS (using DJGPP)
Windows (using Visual C++ or CygWin).

[培训]《安卓高级研修班(网课)》月薪三万计划,掌握调试、分析还原ollvm、vmp的方法,定制art虚拟机自动化脱壳的方法

收藏
免费 7
支持
分享
最新回复 (9)
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
你的那个freedasm.dll能不能开源啊
叫俺等菜鸟学学
2005-11-24 11:54
0
雪    币: 216
活跃值: (40)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
3
不开源,不想用。
2005-11-24 18:47
0
雪    币: 603
活跃值: (617)
能力值: ( LV12,RANK:660 )
在线值:
发帖
回帖
粉丝
4
看看~
2005-11-24 18:56
0
雪    币: 229
活跃值: (168)
能力值: ( LV8,RANK:130 )
在线值:
发帖
回帖
粉丝
5
是从与free64合作的项目里扒出来,暂时不能开源。
这是也它叫freedasm的原因。
2005-11-25 11:15
0
雪    币: 203
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
6
还是比较喜欢开源的程序,可以有所学习
2005-11-25 12:26
0
雪    币: 175
活跃值: (2331)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
7
看看,可以有所学习
2005-11-25 16:15
0
雪    币: 229
活跃值: (168)
能力值: ( LV8,RANK:130 )
在线值:
发帖
回帖
粉丝
8
附件:dasm64.rar
接口都没变
2005-11-29 13:18
0
雪    币: 212
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
9
虽然没把反汇编引擎开源,不过也谢谢了:)
2005-11-30 09:36
0
雪    币: 229
活跃值: (168)
能力值: ( LV8,RANK:130 )
在线值:
发帖
回帖
粉丝
10
最初由 鹅蛋壳 发布
虽然没把反汇编引擎开源,不过也谢谢了:)

谢谢了
2005-12-6 09:50
0
游客
登录 | 注册 方可回帖
返回
//