Can you explain what debugging and symbols are in the C ++ world?

Is it true that binaries, such as executables, are made up of characters, and the debugging character is one of them?

How to understand the symbol?

+3
source share
2 answers

Below is a very high level explanation:

Firstly, characters are not in the C ++ world. They exist in binary files of several high-level languages, such as C, C ++, etc. When building with some preset settings. Take the definition

'int i = 2;'

"i" - (, 0x10203040), 2. , "i" . "i" , ( ), " " " ".

, PE Debug, . , binray 0s 1s . , ( "i" ), , , "0x10203040" "i" Debug PE .

+11

Erm, no. . . Windows .pdb. .

API dbghelp .

+2

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


All Articles