OSDN Git Service

ART: Give better error messages in dex-file verifier
authorAndreas Gampe <agampe@google.com>
Tue, 9 Feb 2016 17:21:04 +0000 (09:21 -0800)
committerAndreas Gampe <agampe@google.com>
Tue, 9 Feb 2016 18:44:48 +0000 (10:44 -0800)
commitc9f0ba1a4a2c9366ffc2dc2f9c2d8d3f09bb2112
tree5c6922891b615600c8c5a45d87fedbace15e92ee
parent96bbc8fcac2d408e0afdcae933653198fb8bbe92
ART: Give better error messages in dex-file verifier

Try to decode field and method names when an access-flag violation
has been found. This is not guaranteed to work, if the file is
broken enough.

Bug: 27064244
Bug: 27070841
Change-Id: Ie913076462e958d4f21b481631bc874cf6f67c0d
runtime/dex_file_verifier.cc
runtime/dex_file_verifier.h
runtime/dex_file_verifier_test.cc