3

I'm working with undocumented 3rd party library. I know that there is a certain String stored somewhere in one of the fields deep in the library (dynamic value that I can predict, but I want to get it from the API of the library).

Is there a way to search (something like fulltext search?) through the full program memory while in the debug mode and while stopped on certain breakpoint? I want to find which field in which object actually stores this value.

(I know I could do manual dump and grep, I'm more interested if IntelliJ supports this feature)

Piotr Reszke
  • 1,576
  • 9
  • 21

1 Answers1

0

IntelliJ 2015 and 2016 can decompile Java classes, so you can get the string from the library without debugging at all. Use Navigate -> Declaration or Navigate -> Implementation(s) to see a decompiled version of the byte code for the class. The decompiler can get everything except the original variable names and comments from a library.

Michael Shopsin
  • 2,055
  • 2
  • 24
  • 43