summaryrefslogtreecommitdiff
path: root/disassembler/disassembler_mips.cc
diff options
context:
space:
mode:
author Sebastien Hertz <shertz@google.com> 2014-03-13 11:52:31 +0100
committer Sebastien Hertz <shertz@google.com> 2014-03-13 15:11:19 +0100
commitb7054baf28d4d652fbd98a94b089344a31898d53 (patch)
tree54d2548fab1faa859d6e610d03881e71074b1cb7 /disassembler/disassembler_mips.cc
parent37d4c1db4d705f5a28001f65afdd68d0527948d8 (diff)
Fix debugger crashes in presence of proxy objects.
Fix ClassHelper::NumDirectInterfaces to use IfTable::Count instead of the iftable array's length (which is twice the interface count). This happens when processing ReferenceType::Interfaces command and was causing a crash. Return ABSENT_INFORMATION error code when we're asked for the source file of a proxy class. Otherwise we call ClassHelper::GetSourceFile which expect the class has a corresponding ClassDef item in the DEX file which is not true for proxy classes. Add new proxy_test to check ClassHelper works correctly with proxy classes. Bug: 13426918 Change-Id: I5c1212b1a697dd7dc1ab18e99552ee113c533a5a
Diffstat (limited to 'disassembler/disassembler_mips.cc')
0 files changed, 0 insertions, 0 deletions