How can I debug a binary that does not have debugging characters?

I have an executable file that was left with the previous programmer (and there is no source code). The fact is that he started working in some kind of buggy, and I'm trying to understand why. The tool reads data from somewhere and fills the combo box with it. Anyway, can I debug it and see where it gets the data from?

What tool can do this? Do you have examples for this?

+3
source share
3 answers

In the SysInternals package , previously owned by Mark Russinovich, a whole palette of tools has appeared, which now, in my opinion, is free. For example, something is called that tracks opening and closing files and possibly also reading (and much more). FileMon ProcessMonitor

There are also similar tools for monitoring network / internet access.

These tools allow you to look at many aspects of the program from the point of view of the "black box", i.e. without going into source or machine code - just seeing what it does.

+5
source

"windows", , , , unix, "truss" , linux, "strace", , , , , .

, "strace" Cygwin, "" Windows.

, , .

, .

+1

IDE, . C/++, PDB (Program DataBase) , , exe . , , , .

, () , , PDB, (b) , ? , ?

+1

Source: https://habr.com/ru/post/1729043/


All Articles