I
I
Ilya Milosevic2014-05-01 11:49:06
JavaScript
Ilya Milosevic, 2014-05-01 11:49:06

How do you study source code?

To be honest, this is a very difficult task for me, whether it is studying the source code of some framework or library, as well as implementing different algorithms. Nevertheless, I am very interested in how everything works from the inside. I would like to know how you approach this task and whether you do it at all.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
demimurych, 2014-05-01
@miloshilya

printout->carnadash eraser->debugger.
Start by commenting out literally every line of code with a pencil, checking your conclusions in the debugger.
After a couple of months of such practice, you will begin to notice that when you look at someone else's code, some parts of it become clear to you immediately.
With proper practice, you will soon begin to feel like a psychic who literally "guesses" what which part of the code is doing, without having to go through every line of code.
Reverse engineering is a very exciting activity. It's like some kind of special muscle that is trained by practice.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question