OSDN Git Service

Enforce class definition ordering rules in v37 Dex files.
authorRoland Levillain <rpl@google.com>
Wed, 18 May 2016 10:41:33 +0000 (11:41 +0100)
committerRoland Levillain <rpl@google.com>
Wed, 18 May 2016 10:41:33 +0000 (11:41 +0100)
commit621b5eab8eed7746925bca489114d706ad455572
tree4b335194a2fa7b2d25c4708a8051342bd330d413
parent4021b462e05b63c6fc6fec4b6e0a41ac1f6ac9de
Enforce class definition ordering rules in v37 Dex files.

These new checks also reject classes extending or
implementing themselves directly or transitively within
a single Dex file.

Bug: 28812524
Bug: 28797012
Bug: 28685551
Bug: 27682580

Change-Id: I51c43f8b4b6a7abaade63682411e61f21767f5d4
runtime/dex_file.h
runtime/dex_file_verifier.cc
runtime/dex_file_verifier_test.cc