diff options
author | 2022-11-11 11:07:11 +0000 | |
---|---|---|
committer | 2022-11-14 10:18:14 +0000 | |
commit | d9abf5e08c79af03170eebbe32b5a9afb5f9551f (patch) | |
tree | ef387babf068f62d1a3c25264b5bff9cd8beb4aa /test/616-cha-regression-proxy-method/src/Main.java | |
parent | 0a907cdaf19a6f7d7d33e6b4c5dcb59da0512621 (diff) |
Fix ArtDisassemblerTest.LoadLiteralVisit to read initialized values
ArtDisassemblerTest.LoadLiteralVisit tests the disassembly output of
ldr by reading from pc + 0. It was using 64-bit gpr and fpr registers
but we only know the contents of 32-bits (the encoding of the
instruction). The other 32-bits could be uninitialized or maybe even
unaccessible. So use 32-bit registers so we can expect a known value
always.
Bug: 258391316
Test: art_disassembler_tests in asan config
Change-Id: Iaaf2bbe3912772593af64a54e49519ae40e18f14
Diffstat (limited to 'test/616-cha-regression-proxy-method/src/Main.java')
0 files changed, 0 insertions, 0 deletions