Jump to content
Tuts 4 You
Benten

[Solved] Building x64Dbg from the latest Git Repo

Recommended Posts

Benten

Solution

16 hours ago, mrexodia said:

In general you should have git installed in your path. I see your batch file uses svn, but that doesn’t make much sense...

To clone the full repo you can use:

git clone --recurse-submodules https://github.com/x64dbg/x64dbg

or:

git clone https://github.com/x64dbg/x64dbg

cd x64dbg

git submodule update --init

You can download git from https://git-scm.com/download/win just make sure to check to option to add it to your PATH :)

The issues your are having with Zydis are because x64dbg does not use the latest Zydis so compilation of a newer Zydis will fail

Like Mr. Exodia said:

1. Never clone the repo from browser, it will always miss the important files.

2. Don't use svn ether, sometimes the project may be a little outdated. copying the old Zydis wrapper folder actually worked out for me.

3. Always go with the ever trusted Git.

Hello Guys,

I would like to request a detailed instruction, perhaps a video tut on how to build the latest repository of x64DBG using visual studio 2013 (2017preferable). I have tried it so many times that I don't care anymore bothering you guys for this.

Also I would like to share this down-loader script to get the necessary files real quick. Cloning the repository used to be the easier way to go about this, but now it will miss some files and end up giving more troubles to tackle. I was working with Visual Studio 2017 so the script is set automatically select the platform tool set. Anyway give it a try, please help.

Regards,

Ben

 

Edited by Benten (see edit history)

Share this post


Link to post
Share on other sites
Benten

Dear Mr.Exodia,

It's a pleasure and the greatest honor to have you reply to my post as always.

10 hours ago, mrexodia said:

What part of https://github.com/x64dbg/x64dbg/wiki/Compiling-the-whole-project doesn’t explain properly how to clone and build the repository?

It's very good and it worked out for me for quite some time. I don't know what happened lately, now I get a lot of errors from the Zydis project. Please have a look if you have some time.

Also I have updated the script to include btparser folder as well now. Please find it attached below. I am also attaching the error list here for your kind reference. The clone repo is not downloading all the files you see, so I had to come up with this script to download them all, may be it's just me.

May I ask you one more little favor, now that I got your kind attention, please have a look at my request here. It's really worth looking into.

Highest Respects,

Ben

0. x64dbg.Clone.SourceCodeDir.bat

 

Edited by Benten (see edit history)

Share this post


Link to post
Share on other sites
mrexodia

In general you should have git installed in your path. I see your batch file uses svn, but that doesn’t make much sense...

To clone the full repo you can use:

git clone --recurse-submodules https://github.com/x64dbg/x64dbg

or:

git clone https://github.com/x64dbg/x64dbg

cd x64dbg

git submodule update --init

You can download git from https://git-scm.com/download/win just make sure to check to option to add it to your PATH :)

The issues your are having with Zydis are because x64dbg does not use the latest Zydis so compilation of a newer Zydis will fail

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×