O'Reilly logo

Memory Dump Analysis Anthology, Volume 3 by Dmitry Vostokov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12. Miscellanious

Hexadecimal / Decimal chaos

Some troubleshooting and debugging tools show numbers in hex and some in decimal even for things that are traditionally hex, for example PID and TID. Then, when getting data from one program we need to convert it to a different base for another tool. So over some time it is possible to get an idea of what hex numbers usually are even if they don't have hexadecimal 'A'-'F' in their digits. For example, in one log we got this output:

Parent changed to 393954

Although this number is a valid hex number as well as a decimal we had the intuitive feeling that it was decimal... Checking source code of the tool revealed that it was output as decimal indeed.

The Measure of Debugging and Memory Dump Analysis ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required