-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path4bytes.anml
105 lines (101 loc) · 4.48 KB
/
4bytes.anml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!--
Copyright 2018 Georgia Institute of Technology
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<?xml version="1.0" encoding="UTF-8"?>
<macro-definition id="4bytes" name="4bytes">
<header>
<parameter-declarations>
<parameter parameter-name="%p1" default-value="[\x01]"/>
<parameter parameter-name="%p2" default-value="[\x02]"/>
<parameter parameter-name="%p4" default-value="[\x04]"/>
<parameter parameter-name="%p5" default-value="[\x05]"/>
<parameter parameter-name="%p6" default-value="[\x06]"/>
<parameter parameter-name="%p7" default-value="[\x07]"/>
<parameter parameter-name="%p8" default-value="[\x08]"/>
<parameter parameter-name="%p9" default-value="[\x09]"/>
<parameter parameter-name="%p10" default-value="[\x0a]"/>
<parameter parameter-name="%p11" default-value="[\x0b]"/>
<parameter parameter-name="%p12" default-value="[\x0c]"/>
<parameter parameter-name="%p14" default-value="[\x0e]"/>
<parameter parameter-name="%p15" default-value="[\x0f]"/>
</parameter-declarations>
</header>
<body>
<state-transition-element id="s1" symbol-set="%p1" start="start-of-data">
<activate-on-match element="s5"/>
<activate-on-match element="s6"/>
</state-transition-element>
<state-transition-element id="s2" symbol-set="%p2" start="start-of-data">
<activate-on-match element="__16__"/>
</state-transition-element>
<state-transition-element id="s4" symbol-set="%p4" start="start-of-data">
<activate-on-match element="s7"/>
<activate-on-match element="s8"/>
</state-transition-element>
<state-transition-element id="s5" symbol-set="%p5">
<activate-on-match element="s9"/>
<activate-on-match element="s10"/>
</state-transition-element>
<state-transition-element id="s6" symbol-set="%p6">
<activate-on-match element="__17__"/>
</state-transition-element>
<state-transition-element id="s7" symbol-set="%p7">
<activate-on-match element="__17__"/>
</state-transition-element>
<state-transition-element id="s8" symbol-set="%p8">
<activate-on-match element="s11"/>
<activate-on-match element="s12"/>
</state-transition-element>
<state-transition-element id="s9" symbol-set="%p9">
<activate-on-match element="s14"/>
</state-transition-element>
<state-transition-element id="s10" symbol-set="%p10">
<activate-on-match element="__15__"/>
</state-transition-element>
<state-transition-element id="s11" symbol-set="%p11">
<activate-on-match element="__15__"/>
</state-transition-element>
<state-transition-element id="s12" symbol-set="%p12">
<activate-on-match element="s15"/>
</state-transition-element>
<state-transition-element id="s14" symbol-set="%p14">
<report-on-match/>
</state-transition-element>
<state-transition-element id="s15" symbol-set="%p15">
<report-on-match/>
</state-transition-element>
<state-transition-element id="__16__" symbol-set="*">
<activate-on-match element="__17__"/>
</state-transition-element>
<state-transition-element id="__17__" symbol-set="*">
<activate-on-match element="__15__"/>
</state-transition-element>
<state-transition-element id="__15__" symbol-set="*">
<report-on-match/>
</state-transition-element>
<state-transition-element id="__18__" symbol-set="*" start="start-of-data">
<activate-on-match element="__19__"/>
</state-transition-element>
<state-transition-element id="__19__" symbol-set="*">
<activate-on-match element="__20__"/>
</state-transition-element>
<state-transition-element id="__20__" symbol-set="*">
<activate-on-match element="__21__"/>
</state-transition-element>
<state-transition-element id="__21__" symbol-set="*">
<activate-on-match element="__18__"/>
<activate-on-match element="s1"/>
<activate-on-match element="s2"/>
<activate-on-match element="s4"/>
</state-transition-element>
</body>
</macro-definition>