sensepost / objection

📱 objection - runtime mobile exploration
GNU General Public License v3.0
7.22k stars 829 forks source link

Can I print all fields within a parent class ? #551

Closed liangpengfei closed 1 week ago

liangpengfei commented 2 years ago
public abstract class FridaParent {
    public int a;
}
public class FridaChild extends FridaParent{
    public int b;
}
FridaChild child = new FridaChild();
child.b = 2;
child.a = 1;

I can print FridaChild instance, but only get filed b's value, I want to get filed a's value as well. Is objection support this?

IPMegladon commented 1 week ago

Closing issue as stale. Feel free to reopen.