I'm trying to debug an android application that takes a base 64 string, decodes it to bytes then returns an object with the bytes in one of the object's fields.

When using smalidea with android studio, I can set breakpoints and examine the registers. Usually when examining a register of type byte[], I can view each element in the array. However I am running into an issue where I will see something like:

p1 = {byte[]@4777}

With no option view the contents or any properties of the register. If I try the following expression, I can see examine the result.

p1.clone() = {byte[32]@5097}

What is going on in the first example? I know the resultant decoded base64 string should not be 32 bytes long.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.