| commit | 99a33e7f175ce42d2f49b6e6d169a36b6dc2fb29 | [log] [tgz] |
|---|---|---|
| author | Andy McFadden <fadden@android.com> | Sun Oct 10 12:59:11 2010 -0700 |
| committer | Andy McFadden <fadden@android.com> | Sun Oct 10 12:59:11 2010 -0700 |
| tree | b99c7e46e596a30e73cb179c68d2d319dd143020 | |
| parent | 50cab51bb381c5da01adfd61954ddca37607f51e [diff] |
Verify method invocation type. Dalvik provides five different ways to invoke a method (virtual, super, direct, static, interface). Using a virtual invoke instruction to call a direct method will not produce the desired results. This adds a test to the verifier that ensures the method targeted by an invocation instruction is of an appropriate kind. Bug 3082885. Change-Id: Iacf14b9b3959a0894d89d727286e10e3ecf72680