JEB Debugger crash when changing variable type in VM/locals

8 views
Skip to first unread message

Yechiel Levi

unread,
Feb 11, 2021, 10:38:24 AMFeb 11
to JEB Decompiler
Hi,

When i debug an android code, all variables in the VM/locals are "int". trying to change 1 of them to "String" (as i see it in code ) the debugger dies.

What can be the reason? maybe i need to provide the class type in another way?

Nicolas Falliere

unread,
Feb 11, 2021, 11:46:56 AMFeb 11
to Yechiel Levi, JEB Decompiler
Are you sure they are Strings at the moment you re-type them to strings? A JDWP debugger server on your device can crash when it attempts to reference an invalid location (so, a string here), that's why it's important to type to object only when you are certain it is one - else, leave the value as a primitive.

Best regards,
--
Nicolas Falliere (ni...@pnfsoftware.com)
JEB Decompiler, Founder and Architect


--
You received this message because you are subscribed to the Google Groups "JEB Decompiler" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jeb-decompile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jeb-decompiler/1ace653e-ab98-4411-a303-8e48ec20449en%40googlegroups.com.

Yechiel Levi

unread,
Feb 11, 2021, 11:58:22 AMFeb 11
to Nicolas Falliere, JEB Decompiler
So, i see v1 is assigned a value from a function, and it is a string returb value
And its not a null... 


Yechiel Levi

unread,
Feb 15, 2021, 2:47:36 AMFeb 15
to JEB Decompiler
Any thoughts ? :| how do i check it ?
Reply all
Reply to author
Forward
0 new messages