Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: src/trusted/validator_x86/testdata/32/branch-middle.test

Issue 625923004: Delete old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 @hex:
2 # Tests whether we note a branch into the middle of a nacl pattern.
3 7e 03
4 83 e0 e0
5 ff d0
6 @nval:
7 VALIDATOR: 5: Bad jump target
8 *** <input> IS UNSAFE ***
9 @nvals:
10 VALIDATOR: 5: Bad jump target
11 *** <input> IS UNSAFE ***
12
13 Opcode Histogram;
14 1 0x7e 1 0x83 1 0xff
15 Analysis Summary:
16 3 Checked instructions
17 3 checked jump targets
18 1 calls/jumps need dynamic checking (33.33%)
19
20 Problems:
21 0 illegal instructions
22 1 bad jump targets
23 0 illegal unprotected indirect jumps (including ret)
24 0 instruction alignment defects
25 0 segmentation errors
26 0 bad prefix
27 0 bad instruction length
28 0 internal errors
29 @nvalds:
30 VALIDATOR: 0: Jumps into middle of nacl pattern
31 *** <input> IS UNSAFE ***
32
33 Opcode Histogram;
34 1 0x7e 1 0x83 1 0xff
35 Analysis Summary:
36 3 Checked instructions
37 2 checked jump targets
38 1 calls/jumps need dynamic checking (33.33%)
39
40 Problems:
41 0 illegal instructions
42 1 bad jump targets
43 0 illegal unprotected indirect jumps (including ret)
44 0 instruction alignment defects
45 0 segmentation errors
46 0 bad prefix
47 0 bad instruction length
48 0 internal errors
49 @dis:
50 00000000: 7e 03 jle 0x5
51 00000002: 83 e0 e0 and %eax, 0xe0
52 00000005: ff d0 call %eax
53 @vdis:
54 0: 7e 03 jle 0x5
55 2: 83 e0 e0 and %esp, 0xffffffffffffffe0
56 5: ff d0 call * %edx
57 @rdfa_output:
58 0: [0] bad jump target
59 return code: 1
60 @validators_disagree:
61 Because rdfaval reported jump location, not target.
OLDNEW
« no previous file with comments | « src/trusted/validator_x86/testdata/32/bad-jmp.test ('k') | src/trusted/validator_x86/testdata/32/bt.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698