Skip to content

Commit 88bdc19

Browse files
committed
Add test for refptr setup for xtensa l32r op
1 parent bda6c51 commit 88bdc19

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

test/db/analysis/xtensa

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,18 @@ var int32_t var_8h @ stack - 0x8
2626
var int32_t var_4h @ stack - 0x4
2727
EOF
2828
RUN
29+
30+
31+
NAME=xtensa l32r refptr
32+
FILE=malloc://512
33+
CMDS=<<EOF
34+
e asm.arch=xtensa
35+
e asm.bits=32
36+
wx 00000000ff11ff1121ffff0df0ff
37+
pD 3 @ 8
38+
EOF
39+
EXPECT=<<EOF
40+
0x00000008 l32r a2, 0x00000004 ; [0x4:4]=0x11ff11ff
41+
EOF
42+
RUN
43+

0 commit comments

Comments
 (0)