Upstream version 11.39.266.0
[platform/framework/web/crosswalk.git] / src / native_client / src / trusted / validator_x86 / testdata / 64 / return.test
1 @hex:
2   # Sample hex code for a return.
3   # pop %r11
4   41 5b
5   # and %r11d, 0xe0
6   41 83 e3 e0 \\
7   # add %r11, %r15
8   4d 01 fb \\
9   # jmp %r11
10   41 ff e3
11 @val:
12   VALIDATOR: Checking jump targets: 0 to c
13   VALIDATOR: Checking that basic blocks are aligned
14   *** <input> is safe ***
15 @rval:
16   VALIDATOR: Checking jump targets: 0 to c
17   VALIDATOR: Checking that basic blocks are aligned
18   *** <input> is safe ***
19 @rvald:
20   VALIDATOR: Checking block alignment and jump targets: 0 to c
21   *** <input> is safe ***
22 @vd-rval:
23   VALIDATOR: Checking jump targets: 0 to c
24   VALIDATOR: Checking that basic blocks are aligned
25   *** <input> is safe ***
26 @dis:
27   0000000000000000: 41 5b                                        pop %r11
28   0000000000000002: 41 83 e3 e0                                  and %r11d, 0xe0
29   0000000000000006: 4d 01 fb                                     add %r11, %r15
30   0000000000000009: 41 ff e3                                     jmp %r11
31 @vdis:
32   0000000000000000: 41 5b                                        pop %r11
33   0000000000000002: 41 83 e3 e0                                  and %r11d, 0xe0
34   0000000000000006: 4d 01 fb                                     add %r11, %r15
35   0000000000000009: 41 ff e3                                     [P] dontcarejump %rip (s), %r11 (u)
36 @rdfa_output:
37   return code: 0