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

Side by Side Diff: src/trusted/validator_ragel/unreviewed/filesdecoder.svg

Issue 10883051: Add documentation for the dynamic code modifications. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: Created 8 years, 3 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 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
3 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
4 <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
5 ]>
6 <!-- Generated by Graphviz version 2.20.2 -->
7 <!-- Title: filesdecoder Pages: 1 -->
8 <svg width="622pt" height="804pt"
9 viewBox="0.00 0.00 622.00 804.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlin k="http://www.w3.org/1999/xlink">
10 <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 800)">
11 <title>filesdecoder</title>
12 <!-- def_files -->
13 <g id="node1" class="node"><title>def_files</title>
14 <polygon style="fill:lightgray;stroke:black;" points="262,-796 22,-796 22,-800 1 0,-800 10,-666 262,-666 262,-796"/>
15 <polyline style="fill:none;stroke:black;" points="10,-796 22,-796 "/>
16 <text text-anchor="start" x="22" y="-777.733" style="font-family:Times New Roman ;font-size:14.00;">general_purpose_instructions.def</text>
17 <text text-anchor="start" x="22" y="-757.733" style="font-family:Times New Roman ;font-size:14.00;">mmx_instructions.def</text>
18 <text text-anchor="start" x="22" y="-737.733" style="font-family:Times New Roman ;font-size:14.00;">nops.def</text>
19 <text text-anchor="start" x="22" y="-717.733" style="font-family:Times New Roman ;font-size:14.00;">system_instructions.def</text>
20 <text text-anchor="start" x="22" y="-697.733" style="font-family:Times New Roman ;font-size:14.00;">x87_instructions.def</text>
21 <text text-anchor="start" x="22" y="-677.733" style="font-family:Times New Roman ;font-size:14.00;">xmm_instructions.def</text>
22 </g>
23 <!-- gen_dfa -->
24 <g id="node7" class="node"><title>gen_dfa</title>
25 <polygon style="fill:gray;stroke:black;" points="107.885,-558 164.115,-558 184.1 4,-594 87.8597,-594 107.885,-558"/>
26 <text text-anchor="middle" x="136" y="-571.9" style="font-family:Times New Roman ;font-size:14.00;">gen_dfa</text>
27 </g>
28 <!-- def_files&#45;&gt;gen_dfa -->
29 <g id="edge2" class="edge"><title>def_files&#45;&gt;gen_dfa</title>
30 <path style="fill:none;stroke:black;" d="M135,-666C135,-644 135,-622 135,-604"/>
31 <path style="fill:none;stroke:black;" d="M137,-666C137,-644 137,-622 137,-604"/>
32 <polygon style="fill:black;stroke:black;" points="139.5,-604 136,-594 132.5,-604 139.5,-604"/>
33 </g>
34 <!-- gen_dfa_cc -->
35 <g id="node2" class="node"><title>gen_dfa_cc</title>
36 <polygon style="fill:lightgray;stroke:black;" points="368,-749 292,-749 292,-753 280,-753 280,-713 368,-713 368,-749"/>
37 <polyline style="fill:none;stroke:black;" points="280,-749 292,-749 "/>
38 <text text-anchor="middle" x="324" y="-726.9" style="font-family:Times New Roman ;font-size:14.00;">gen_dfa.cc</text>
39 </g>
40 <!-- gen_dfa_cc&#45;&gt;gen_dfa -->
41 <g id="edge4" class="edge"><title>gen_dfa_cc&#45;&gt;gen_dfa</title>
42 <path style="fill:none;stroke:black;" d="M312,-713C301,-699 286,-680 271,-666 25 9,-655 254,-656 242,-648 218,-632 192,-614 171,-600"/>
43 <polygon style="fill:black;stroke:black;" points="173.1,-597.2 163,-594 168.9,-6 02.8 173.1,-597.2"/>
44 <text text-anchor="middle" x="261" y="-625.9" style="font-family:Times New Roman ;font-size:14.00;">g++</text>
45 </g>
46 <!-- byte_machines_py -->
47 <g id="node3" class="node"><title>byte_machines_py</title>
48 <polygon style="fill:lightgray;stroke:black;" points="578,-648 450,-648 450,-652 438,-652 438,-612 578,-612 578,-648"/>
49 <polyline style="fill:none;stroke:black;" points="438,-648 450,-648 "/>
50 <text text-anchor="middle" x="508" y="-625.9" style="font-family:Times New Roman ;font-size:14.00;">byte_machines.py</text>
51 </g>
52 <!-- byte_machines_rl -->
53 <g id="node13" class="node"><title>byte_machines_rl</title>
54 <polygon style="fill:none;stroke:black;" points="614,-450 482,-450 482,-414 614, -414 614,-450"/>
55 <text text-anchor="middle" x="548" y="-427.9" style="font-family:Times New Roman ;font-size:14.00;">byte_machines.rl</text>
56 </g>
57 <!-- byte_machines_py&#45;&gt;byte_machines_rl -->
58 <g id="edge10" class="edge"><title>byte_machines_py&#45;&gt;byte_machines_rl</ti tle>
59 <path style="fill:none;stroke:black;" d="M512,-612C519,-577 534,-501 542,-460"/>
60 <polygon style="fill:black;stroke:black;" points="545.471,-460.492 544,-450 538. 607,-459.119 545.471,-460.492"/>
61 <text text-anchor="middle" x="545" y="-571.9" style="font-family:Times New Roman ;font-size:14.00;">python</text>
62 </g>
63 <!-- parse_instruction_rl -->
64 <g id="node4" class="node"><title>parse_instruction_rl</title>
65 <polygon style="fill:lightgray;stroke:black;" points="433,-648 295,-648 295,-652 283,-652 283,-612 433,-612 433,-648"/>
66 <polyline style="fill:none;stroke:black;" points="283,-648 295,-648 "/>
67 <text text-anchor="middle" x="358" y="-625.9" style="font-family:Times New Roman ;font-size:14.00;">parse_instruction.rl</text>
68 </g>
69 <!-- ragel -->
70 <g id="node8" class="node"><title>ragel</title>
71 <polygon style="fill:gray;stroke:black;" points="266.595,-270 307.405,-270 321.9 4,-306 252.06,-306 266.595,-270"/>
72 <text text-anchor="middle" x="287" y="-283.9" style="font-family:Times New Roman ;font-size:14.00;">ragel</text>
73 </g>
74 <!-- parse_instruction_rl&#45;&gt;ragel -->
75 <g id="edge14" class="edge"><title>parse_instruction_rl&#45;&gt;ragel</title>
76 <path style="fill:none;stroke:black;" d="M341.209,-612.612C317.16,-581.542 277.1 6,-519.542 310.225,-479.369 335.758,-448.348 372.758,-491.348 396.221,-461.373 4 12.072,-441.371 406.072,-426.371 396.081,-402.394 392.164,-391.986 386.164,-392. 986 377.293,-384.707 353.266,-360.679 328.266,-333.679 310.257,-313.669"/>
77 <path style="fill:none;stroke:black;" d="M342.791,-611.388C318.84,-580.458 278.8 4,-518.458 311.775,-480.631 334.242,-449.652 371.242,-492.652 397.779,-462.627 4 13.928,-440.629 407.928,-425.629 397.919,-401.606 391.836,-390.014 385.836,-391. 014 378.707,-383.293 354.734,-359.321 329.734,-332.321 311.743,-312.331"/>
78 <polygon style="fill:black;stroke:black;" points="313.546,-310.596 304,-306 308. 596,-315.546 313.546,-310.596"/>
79 </g>
80 <!-- decoder_x86_3264_rl -->
81 <g id="node5" class="node"><title>decoder_x86_3264_rl</title>
82 <polygon style="fill:lightgray;stroke:black;" points="464,-539.5 332,-539.5 332, -543.5 320,-543.5 320,-480.5 464,-480.5 464,-539.5"/>
83 <polyline style="fill:none;stroke:black;" points="320,-539.5 332,-539.5 "/>
84 <text text-anchor="middle" x="392" y="-522.9" style="font-family:Times New Roman ;font-size:14.00;">decoder_x86_32.rl</text>
85 <text text-anchor="middle" x="392" y="-505.9" style="font-family:Times New Roman ;font-size:14.00;">or</text>
86 <text text-anchor="middle" x="392" y="-488.9" style="font-family:Times New Roman ;font-size:14.00;">decoder_x86_64.rl</text>
87 </g>
88 <!-- decoder_x86_3264_rl&#45;&gt;ragel -->
89 <g id="edge16" class="edge"><title>decoder_x86_3264_rl&#45;&gt;ragel</title>
90 <path style="fill:none;stroke:black;" d="M419.219,-479.375C423.132,-474.504 427. 132,-467.504 429.046,-461.702 437.006,-436.11 436.006,-427.11 429.044,-402.294 4 16.136,-362.504 409.136,-350.504 377.371,-324.778 362.572,-312.904 343.572,-303. 904 327.702,-298.954"/>
91 <path style="fill:none;stroke:black;" d="M420.781,-480.625C424.868,-475.496 428. 868,-468.496 430.954,-462.298 438.994,-435.89 437.994,-426.89 430.956,-401.706 4 17.864,-361.496 410.864,-349.496 378.629,-323.222 363.428,-311.096 344.428,-302. 096 328.298,-297.046"/>
92 <polygon style="fill:black;stroke:black;" points="328.584,-294.521 318,-295 326. 573,-301.226 328.584,-294.521"/>
93 </g>
94 <!-- decoder_internal_h -->
95 <g id="node6" class="node"><title>decoder_internal_h</title>
96 <polygon style="fill:lightgray;stroke:black;" points="466,-220 334,-220 334,-224 322,-224 322,-184 466,-184 466,-220"/>
97 <polyline style="fill:none;stroke:black;" points="322,-220 334,-220 "/>
98 <text text-anchor="middle" x="394" y="-197.9" style="font-family:Times New Roman ;font-size:14.00;">decoder_internal.h</text>
99 </g>
100 <!-- gcc -->
101 <g id="node9" class="node"><title>gcc</title>
102 <polygon style="fill:gray;stroke:black;" points="151.232,-98 182.768,-98 194,-13 4 140,-134 151.232,-98"/>
103 <text text-anchor="middle" x="167" y="-111.9" style="font-family:Times New Roman ;font-size:14.00;">gcc</text>
104 </g>
105 <!-- decoder_internal_h&#45;&gt;gcc -->
106 <g id="edge26" class="edge"><title>decoder_internal_h&#45;&gt;gcc</title>
107 <path style="fill:none;stroke:black;" d="M345.632,-184.93C302.649,-167.936 238.6 49,-143.936 200.654,-129.938"/>
108 <path style="fill:none;stroke:black;" d="M346.368,-183.07C303.351,-166.064 239.3 51,-142.064 201.346,-128.062"/>
109 <polygon style="fill:black;stroke:black;" points="201.585,-125.464 191,-125 198. 985,-131.964 201.585,-125.464"/>
110 </g>
111 <!-- decoder_x86_3264_instruction_rl -->
112 <g id="node11" class="node"><title>decoder_x86_3264_instruction_rl</title>
113 <polygon style="fill:none;stroke:black;" points="388,-461.5 164,-461.5 164,-402. 5 388,-402.5 388,-461.5"/>
114 <text text-anchor="middle" x="276" y="-444.9" style="font-family:Times New Roman ;font-size:14.00;">decoder_x86_32_instruction.rl</text>
115 <text text-anchor="middle" x="276" y="-427.9" style="font-family:Times New Roman ;font-size:14.00;">or</text>
116 <text text-anchor="middle" x="276" y="-410.9" style="font-family:Times New Roman ;font-size:14.00;">decoder_x86_64_instruction.rl</text>
117 </g>
118 <!-- gen_dfa&#45;&gt;decoder_x86_3264_instruction_rl -->
119 <g id="edge6" class="edge"><title>gen_dfa&#45;&gt;decoder_x86_3264_instruction_r l</title>
120 <path style="fill:none;stroke:black;" d="M153.257,-557.331C171.293,-537.293 202. 293,-506.293 228.27,-479.317 231.293,-475.293 234.293,-472.293 238.293,-468.293" />
121 <path style="fill:none;stroke:black;" d="M154.743,-558.669C172.707,-538.707 203. 707,-507.707 229.73,-480.683 232.707,-476.707 235.707,-473.707 239.707,-469.707" />
122 <polygon style="fill:black;stroke:black;" points="241.404,-471.546 246,-462 236. 454,-466.596 241.404,-471.546"/>
123 </g>
124 <!-- decoder_x86_3264_instruction_consts_c -->
125 <g id="node12" class="node"><title>decoder_x86_3264_instruction_consts_c</title>
126 <polygon style="fill:none;stroke:black;" points="272,-383.5 1.13687e-13,-383.5 0 ,-324.5 272,-324.5 272,-383.5"/>
127 <text text-anchor="middle" x="136" y="-366.9" style="font-family:Times New Roman ;font-size:14.00;">decoder_x86_32_instruction_consts.c</text>
128 <text text-anchor="middle" x="136" y="-349.9" style="font-family:Times New Roman ;font-size:14.00;">or</text>
129 <text text-anchor="middle" x="136" y="-332.9" style="font-family:Times New Roman ;font-size:14.00;">decoder_x86_64_instruction_consts.c</text>
130 </g>
131 <!-- gen_dfa&#45;&gt;decoder_x86_3264_instruction_consts_c -->
132 <g id="edge8" class="edge"><title>gen_dfa&#45;&gt;decoder_x86_3264_instruction_c onsts_c</title>
133 <path style="fill:none;stroke:black;" d="M135,-558C135,-523 135,-442 135,-394"/>
134 <path style="fill:none;stroke:black;" d="M137,-558C137,-523 137,-442 137,-394"/>
135 <polygon style="fill:black;stroke:black;" points="139.5,-394 136,-384 132.5,-394 139.5,-394"/>
136 </g>
137 <!-- decoder_x86_3264_c -->
138 <g id="node10" class="node"><title>decoder_x86_3264_c</title>
139 <polygon style="fill:none;stroke:black;" points="304,-231.5 164,-231.5 164,-172. 5 304,-172.5 304,-231.5"/>
140 <text text-anchor="middle" x="234" y="-214.9" style="font-family:Times New Roman ;font-size:14.00;">decoder_x86_32.c</text>
141 <text text-anchor="middle" x="234" y="-197.9" style="font-family:Times New Roman ;font-size:14.00;">or</text>
142 <text text-anchor="middle" x="234" y="-180.9" style="font-family:Times New Roman ;font-size:14.00;">decoder_x86_64.c</text>
143 </g>
144 <!-- ragel&#45;&gt;decoder_x86_3264_c -->
145 <g id="edge20" class="edge"><title>ragel&#45;&gt;decoder_x86_3264_c</title>
146 <path style="fill:none;stroke:black;" d="M275.126,-270.486C270.181,-261.573 263. 181,-251.573 257.143,-241.514"/>
147 <path style="fill:none;stroke:black;" d="M276.874,-269.514C271.819,-260.427 264. 819,-250.427 258.857,-240.486"/>
148 <polygon style="fill:black;stroke:black;" points="260.459,-238.379 252,-232 254. 635,-242.262 260.459,-238.379"/>
149 </g>
150 <!-- decoder_x86_3264_o -->
151 <g id="node14" class="node"><title>decoder_x86_3264_o</title>
152 <polygon style="fill:none;stroke:black;" points="238,-59.5 96,-59.5 96,-0.5 238, -0.5 238,-59.5"/>
153 <text text-anchor="middle" x="167" y="-42.9" style="font-family:Times New Roman; font-size:14.00;">decoder_x86_32.o</text>
154 <text text-anchor="middle" x="167" y="-25.9" style="font-family:Times New Roman; font-size:14.00;">or</text>
155 <text text-anchor="middle" x="167" y="-8.9" style="font-family:Times New Roman;f ont-size:14.00;">decoder_x86_64.o</text>
156 </g>
157 <!-- gcc&#45;&gt;decoder_x86_3264_o -->
158 <g id="edge28" class="edge"><title>gcc&#45;&gt;decoder_x86_3264_o</title>
159 <path style="fill:none;stroke:black;" d="M166,-98C166,-90 166,-80 166,-70"/>
160 <path style="fill:none;stroke:black;" d="M168,-98C168,-90 168,-80 168,-70"/>
161 <polygon style="fill:black;stroke:black;" points="170.5,-70 167,-60 163.5,-70 17 0.5,-70"/>
162 </g>
163 <!-- decoder_x86_3264_c&#45;&gt;gcc -->
164 <g id="edge24" class="edge"><title>decoder_x86_3264_c&#45;&gt;gcc</title>
165 <path style="fill:none;stroke:black;" d="M210.253,-172.664C202.191,-163.588 194. 191,-152.588 186.219,-142.625"/>
166 <path style="fill:none;stroke:black;" d="M211.747,-171.336C203.809,-162.412 195. 809,-151.412 187.781,-141.375"/>
167 <polygon style="fill:black;stroke:black;" points="189.8,-139.9 181,-134 184.2,-1 44.1 189.8,-139.9"/>
168 </g>
169 <!-- decoder_x86_3264_instruction_rl&#45;&gt;ragel -->
170 <g id="edge18" class="edge"><title>decoder_x86_3264_instruction_rl&#45;&gt;ragel </title>
171 <path style="fill:none;stroke:black;" d="M277.007,-401.881C280.002,-376.945 282. 002,-340.945 284.003,-315.92"/>
172 <path style="fill:none;stroke:black;" d="M278.993,-402.119C281.998,-377.055 283. 998,-341.055 285.997,-316.08"/>
173 <polygon style="fill:black;stroke:black;" points="288.488,-316.299 286,-306 281. 522,-315.602 288.488,-316.299"/>
174 </g>
175 <!-- decoder_x86_3264_instruction_consts_c&#45;&gt;gcc -->
176 <g id="edge22" class="edge"><title>decoder_x86_3264_instruction_consts_c&#45;&gt ;gcc</title>
177 <path style="fill:none;stroke:black;" d="M137.003,-323.917C140.005,-287.905 146. 005,-224.905 154.01,-171.856 155.019,-162.804 157.019,-152.804 159.024,-143.783" />
178 <path style="fill:none;stroke:black;" d="M138.997,-324.083C141.995,-288.095 147. 995,-225.095 155.99,-172.144 156.981,-163.196 158.981,-153.196 160.976,-144.217" />
179 <polygon style="fill:black;stroke:black;" points="163.471,-144.492 162,-134 156. 607,-143.119 163.471,-144.492"/>
180 </g>
181 <!-- byte_machines_rl&#45;&gt;ragel -->
182 <g id="edge12" class="edge"><title>byte_machines_rl&#45;&gt;ragel</title>
183 <path style="fill:none;stroke:black;" d="M533.219,-414.625C513.258,-389.671 475. 258,-347.671 434.511,-324.873 400.8,-305.98 356.8,-296.98 325.841,-291.987"/>
184 <path style="fill:none;stroke:black;" d="M534.781,-413.375C514.742,-388.329 476. 742,-346.329 435.489,-323.127 401.2,-304.02 357.2,-295.02 326.159,-290.013"/>
185 <polygon style="fill:black;stroke:black;" points="326.299,-287.512 316,-290 325. 602,-294.478 326.299,-287.512"/>
186 </g>
187 </g>
188 </svg>
OLDNEW
« no previous file with comments | « src/trusted/validator_ragel/unreviewed/filesdecoder.dot ('k') | src/trusted/validator_ragel/unreviewed/gen_dfa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698