Jump to content
Tuts 4 You
Sign in to follow this  
papadrellbo

Compare two dot net targets???

Recommended Posts

papadrellbo

Hi bros,

 

is there a way i haven't found yet to compare two dot net targets for difference in code?

Can't found a way in dnspy or reflector...

Some ideas?

Thanks my friends.

 

cu

 

papadrellbo

Share this post


Link to post
kao

Hehe,
this has annoyed me a lot too. :) I usually decompile both files using ILSpy/DNSpy and then compare them with Araxis Folder Comparison feature.

  • Like 3

Share this post


Link to post
Perplex

Telerik JustAssembly is good tools for compare assemblies.

  • Like 1

Share this post


Link to post
bronx_

IlSpector can do it.

Grab it from here http://il4re.ml

Load your assembly, right click and compare assembly :)

 

 

  • Like 2

Share this post


Link to post
CodeExplorer

I use ILdasm, export to text, then compare IL!
 

  • Like 2

Share this post


Link to post
papadrellbo

Hallo CodeCracker,

 

have you installed visual studio to use ildasm?

Or you have a standalone..

 

cu

Share this post


Link to post
CodeExplorer

Grab them from here:

 

Share this post


Link to post
peekair

Well, here is what i ususlly do:

    First, export source code by ILSpy.

    Second,compare them by Delta Walker.

    Third is skill: pay attention to the sizes of both files.

Share this post


Link to post
peekair

Well, here is what i ususlly do:

Quote

First, export source code by ILSpy.

Second,compare them by Delta Walker.

Third is skill: pay attention to the sizes of both files.

 

Share this post


Link to post
SkyProud

Maybe the Diff add-in of .Net reflector can help.There is some documentation here

Share this post


Link to post
papadrellbo

Okay my friends tested everything.

iam using for reversing dnspy because its a friendly tool...but i cant find a option which compares me two dlls...

Other tools i can compare methods but not a full dll...

Is there a chance to export a full dll to text or comapre the full dlls...

I can't found a option which exports me a full dll to a txt...

Some new ideas???

 

Thanks

Share this post


Link to post
crystalboy

In DnSpy select your Dll.

Dn_Spy_Select.png

Then click on File -> Export to Project

DnSpy_Export.png

Select a folder where save the result and click Export.

  • Like 1

Share this post


Link to post
Alzri2

After making a dirty bypass for the license query of Araxis which kao mentioned; it came to my mind that there is a better free alternative:

SourceTree :D

Share this post


Link to post
papadrellbo

@crystalboy

thanks for your screenshoots and info... :-)

After export how to you compare it with another dll...

Thanks my friends...

I will test it

 

cu

 

Share this post


Link to post
unavailable
On 8/31/2016 at 3:05 PM, crystalboy said:

In DnSpy select your Dll.

Dn_Spy_Select.png

Then click on File -> Export to Project

DnSpy_Export.png

Select a folder where save the result and click Export.

 

On 10/10/2016 at 4:37 PM, papadrellbo said:

@crystalboy

thanks for your screenshoots and info... 🙂

After export how to you compare it with another dll...

Thanks my friends...

I will test it

 

cu

 

Hallo, do you now how to remove comment when export?

Because i am using WinMerge to compare and all file was different because comment such as

// Token: 0x06005E61 RID: 24161 RVA: 0x00174E91 File Offset: 0x00173291

 

sorry to bump old thread

Share this post


Link to post
samoray

this tool is great

Share this post


Link to post
atom0s

https://www.zynamics.com/bindiff.html may be of some help, has some neat results and information based comparison charts when comparing to targets. Not 100% sure if it will support .net files but you can give it a try.

Share this post


Link to post

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
Sign in to follow this  
×
×
  • Create New...