qantumtbfmir
4 months ago  Karma: 278
Can I get the source code from the binary?

I know the programming language used to write a piece of software. Can I get the source code from the binary?

en
programming
qantumtbfmir
4 months ago  Karma: 278
Can I get the source code from the binary?

I know the programming language used to write a piece of software. Can I get the source code from the binary?

en
programming

5 ANSWERS
ennvlxkm
4 months ago Karma: 761

Depends on the programming language and the compilers.
Some compilers, such as C and C++, perform lots of optimizations which makes it harder to reverse-engineer the code. Other compilers, like Java, don't do many optimizations, and you have more chances to get a good representation of the source code.

Also, variable names, functions names, and comments can't be recovered.

Depends on the programming language and the compilers.
Some compilers, such as C and C++, perform lots of optimizations which makes it harder to reverse-engineer the code. Other compilers, like Java, don't do many optimizations, and you have more chances to get a good representation of the source code.

Also, variable names, functions names, and comments can't be recovered.

kaijchang2
4 months ago Karma: 19846

No, you can't get any meaningful or readable code from the binary.

No, you can't get any meaningful or readable code from the binary.

inux2012
4 months ago Karma: 72
silverio_bussone
4 months ago Karma: 90

There are some cases when developers choose not to strip the debug symbols. If that's the case, you'll have a better chance of getting a​ usable piece of code.

There are some cases when developers choose not to strip the debug symbols. If that's the case, you'll have a better chance of getting a​ usable piece of code.

j1koc5
4 months ago Karma: 819

lol... you are wasting your time. it's better to write the algorithm from scratch.

lol... you are wasting your time. it's better to write the algorithm from scratch.

Earn tokens by posting and answering questions about blockchain!
Karma to eth
YOUR ANSWER