| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
how to view a programs code
hey
i was wondering, if theres any way i could somehow extract the code from a program that i have. take snood for example, or lode runner, or any small game or program like that, is there any way someone could look at the code for one of those? if so, how? hope thats possible thanks |
|
#2
|
|||
|
|||
|
Please explain "Extracting the code from a program"?
|
|
#3
|
|||
|
|||
|
use a disassembler ?
better freshen up on the op-codes ![]() |
|
#4
|
|||
|
|||
|
i mean like, not actually extract the code, just look at it. like, ok for instance in a web browser, if you wanna look at the source code for a site you can just click on view source. is there any way to do that with a program? whats a disassembler? is that how you do it? i really have no idea what im doing i hope im making this clear.
tahnks |
|
#5
|
|||
|
|||
|
A dissasembler will show the assembly language code.
|
|
#6
|
|||
|
|||
|
Second to what BoolBob said. For instance in java, to view source for .class files , there is a command that disassembles the bytecode into assembly.
I think its "javad". Better check this. |
|
#7
|
|||
|
|||
|
ok cool, that'll help alot. thanks dudes
|
|
#8
|
|||
|
|||
|
Cirus, don't you mean javap ?
I thought it only showed members and function prototypes. Tell me if i'm wrong but to my knowledge you can't "extract" the source from a compiled executable When compiling c/c++ the only thing you can do is compile it with debug hooks so you can debug it, but still, you need the source or some format that the compiler created out of it. At least thats the way it works on our mainframe, i'm guesing it's not very different on other platforms. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > how to view a programs code |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|