jjfiv / dalvik-js

Project for CS 691ST - Dalvik VM implementation in Javascript
23 stars 11 forks source link

addrOffset field in goto needs to be signExtended #67

Closed jjfiv closed 11 years ago

jjfiv commented 11 years ago

It has an eight-bit parameter, which could be negative. This can be tested by loading factorial.dex with index.html

I suspect there is a similar problem with the icodeGen translation of goto/16