summaryrefslogtreecommitdiffstats
path: root/disassembler/disassembler_arm.cc
diff options
context:
space:
mode:
authornikolay serdjuk <nikolay.y.serdjuk@intel.com>2014-03-25 12:21:29 +0700
committernikolay serdjuk <nikolay.y.serdjuk@intel.com>2014-03-25 12:21:29 +0700
commitee40aa4650d7d000335ccfcb2fbb742acfb1f1c3 (patch)
treec22a662c63f4a81fbf0d761c6c386d02041c59e0 /disassembler/disassembler_arm.cc
parent89ff4f99ae477758b8e2300dc1a9cb828ed3a53c (diff)
downloadandroid_art-ee40aa4650d7d000335ccfcb2fbb742acfb1f1c3.tar.gz
android_art-ee40aa4650d7d000335ccfcb2fbb742acfb1f1c3.tar.bz2
android_art-ee40aa4650d7d000335ccfcb2fbb742acfb1f1c3.zip
An argument is handled incorrectly for add-int/lit8 during optimization phase
Dalvik instruction 'add-int/lit8' stores a constant in the third parameter. But during optimization phase the compiler reads the constant from the second parameter. This is incorrect because it leads to wrong decision that no array bound checks are needed in our test case. As a consequence it fails with SIGSEGV because of accessing elements which are beyond the bounds. Change-Id: I653892514934046d31a9e4d206d9d95ebb6267ab Signed-off-by: nikolay serdjuk <nikolay.y.serdjuk@intel.com>
Diffstat (limited to 'disassembler/disassembler_arm.cc')
0 files changed, 0 insertions, 0 deletions