OLD | NEW |
| (Empty) |
1 @hex: | |
2 # Show that "add %rsp, %r15" doesn't work without proper previous instruction. | |
3 # See test lea-add-rsp.dis for an example of a proper previous instruction. | |
4 4c 01 fc | |
5 @val: | |
6 VALIDATOR: 0000000000000000: 4c 01 fc add
%rsp, %r15 | |
7 VALIDATOR: ERROR: Illegal assignment to RSP | |
8 VALIDATOR: Checking jump targets: 0 to 3 | |
9 VALIDATOR: Checking that basic blocks are aligned | |
10 *** <input> IS UNSAFE *** | |
11 @rval: | |
12 VALIDATOR: 0000000000000000: 4c 01 fc add
%rsp, %r15 | |
13 VALIDATOR: ERROR: Illegal assignment to RSP | |
14 VALIDATOR: Checking jump targets: 0 to 3 | |
15 VALIDATOR: Checking that basic blocks are aligned | |
16 *** <input> IS UNSAFE *** | |
17 @rvald: | |
18 VALIDATOR: 0000000000000000: 4c 01 fc add
%rsp, %r15 | |
19 VALIDATOR: ERROR: Illegal assignment to RSP | |
20 VALIDATOR: Checking block alignment and jump targets: 0 to 3 | |
21 *** <input> IS UNSAFE *** | |
22 @vd-rval: | |
23 VALIDATOR: 0000000000000000: 4c 01 fc add
%rsp, %r15 | |
24 VALIDATOR: ERROR: Illegal assignment to RSP | |
25 VALIDATOR: Checking jump targets: 0 to 3 | |
26 VALIDATOR: Checking that basic blocks are aligned | |
27 *** <input> IS UNSAFE *** | |
28 @dis: | |
29 0000000000000000: 4c 01 fc add %rsp, %r15 | |
30 @vdis: | |
31 0000000000000000: 4c 01 fc add %rsp, %r15 | |
32 @rdfa_output: | |
33 0: [0] improper %rsp sandboxing | |
34 return code: 1 | |
OLD | NEW |