Is it legal to use decompilers?

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
If I do this just for the sake of learning, is it illegal?

If its not, could someone give me some tips to learn?

Thanks
 

Zugzwang152

Lifer
Oct 30, 2001
12,134
1
0
Originally posted by: n0cmonkey
It's possibly illegal in the US, thanks to the DMCA.

It also depends on the license agreement, although in most cases software that allows you to decompile will in fact be open source and provide you with the code anyway.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
It's legal to use on your own code or open source software. It's probably not leagal for most commercial software.
 

ArmchairAthlete

Diamond Member
Dec 3, 2002
3,763
0
0
Yea if you're using it on something that's not open source or that you didn't pay to get the code for... probably illegal. And decompiling something that's OS would be kinda dumb.
 

mattg1981

Senior member
Jun 19, 2003
957
0
76
I am decompiling code currently in school ... taking it from hex code anad spitting out the appropriate code associated with it. Of course, it is the MIPS assembly language which is all but dead and my professors own code.
 

DT4K

Diamond Member
Jan 21, 2002
6,944
3
81
Most EULA's will specifically state that you cannot decompile or attempt to reverse engineer the software.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: ArmchairAthlete
Yea if you're using it on something that's not open source or that you didn't pay to get the code for... probably illegal. And decompiling something that's OS would be kinda dumb.

I think it might be interresting to look at the differences between the code in original form and the decompiled form.
 

Cogman

Lifer
Sep 19, 2000
10,286
147
106
Originally posted by: n0cmonkey
Originally posted by: ArmchairAthlete
Yea if you're using it on something that's not open source or that you didn't pay to get the code for... probably illegal. And decompiling something that's OS would be kinda dumb.

I think it might be interresting to look at the differences between the code in original form and the decompiled form.

Decompilers (that I have seen) dont spit out statments like
if(cat != dog){
dog.eatcat(cat);
}

instead they mix in the Call 0x173924 EAX e2 ect.. statments. Much harder to read decompiled code then origional IMO.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: Cogman
Originally posted by: n0cmonkey
Originally posted by: ArmchairAthlete
Yea if you're using it on something that's not open source or that you didn't pay to get the code for... probably illegal. And decompiling something that's OS would be kinda dumb.

I think it might be interresting to look at the differences between the code in original form and the decompiled form.

Decompilers (that I have seen) dont spit out statments like
if(cat != dog){
dog.eatcat(cat);
}

instead they mix in the Call 0x173924 EAX e2 ect.. statments. Much harder to read decompiled code then origional IMO.

I understand, but I was still thinking it would be interresting to take a look at and compare. :p
 

WarDemon666

Platinum Member
Nov 28, 2000
2,224
0
0
yeah its pretty hard, im making some programs in VB and trying to decompile them, its fun, but damn hard