This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatorgrade.yml
192 lines (192 loc) · 5.42 KB
/
gatorgrade.yml
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
- adder/program.S:
- description: adder/program.S contains no TODOs
category: TODOs
check: MatchFileFragment
options:
fragment: 'TODO'
count: 0
exact: true
- adder/program.S:
- description: adder/program.S contains BL instruction to add subroutine
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[bl|BL](\s|\t)+add'
count: 1
exact: true
- adder/ops.S:
- description: adder/program.S contains a PUSH instruction to add LR to stack
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[push|PUSH](\s|\t)+\{LR\}'
count: 1
exact: true
- adder/ops.S:
- description: adder/program.S contains a POP instruction remove LR from stack to register
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[pop|POP](\s|\t)+\{[r|R][0-7]\}'
count: 1
exact: true
- adder/ops.S:
- description: adder/program.S contains a BX instruction to return to value from LR
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[bx|BX](\s|\t)+[r|R][0-7]'
count: 1
exact: true
- adder/ops.S:
- description: adder/ops.S contains no TODOs
category: TODOs
check: MatchFileFragment
options:
fragment: 'TODO'
count: 0
exact: true
- dynamo/program.S:
- description: dynamo/program.S contains no TODOs
category: TODOs
check: MatchFileFragment
options:
fragment: 'TODO'
count: 0
exact: true
- dynamo/program.S:
- description: dynamo/program.S contains BL instruction to dispatch subroutine
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[bl|BL](\s|\t)+dispatch'
count: 1
exact: true
- dynamo/dispatch.S:
- description: dynamo/dispatch.S contains sufficient PUSH instructions to add values to the stack
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[push|PUSH](\s|\t)+\{[r|R|lr|LR][0-7]\}'
count: 3
exact: false
- dynamo/dispatch.S:
- description: dynamo/dispatch.S contains sufficient POP instructions to add values to the stack
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[pop|POP](\s|\t)+\{[r|R][0-7]\}'
count: 3
exact: false
- dynamo/dispatch.S:
- description: dynamo/dispatch.S uses LSR to shift a register incrementally
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[lsr|LSR](\s|\t)+[r|R][0-7],(\s)?[r|R][0-7],(\s)?#[0-9]'
count: 1
exact: false
- dynamo/dispatch.S:
- description: dynamo/dispatch.S uses adequate BX instructions to branch to appropriate loops
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[bx|BX](\s|\t)+[a-zA-Z0-9_]+'
count: 5
exact: false
- dynamo/dispatch.S:
- description: dynamo/dispatch.S uses CMP instructions to evaluate conditional logic
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[cmp|CMP](\s|\t)+[r|R][0-7],(\s)+[rR0-7#]'
count: 2
exact: false
- dynamo/dispatch.S:
- description: dynamo/dispatch.S uses traditional branching instructions to branch on logic
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[b|B][lt|LT|GT|gt|NE|ne|EQ|eq](\s|\t)+[a-zA-Z0-9_]+'
count: 2
exact: false
- dynamo/dispatch.S:
- description: dynamo/dispatch.S contains no TODOs
category: TODOs
check: MatchFileFragment
options:
fragment: 'TODO'
count: 0
exact: true
- sifter/program.S:
- description: sifter/program.S branches and links to sifter
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[bl|BL](\s|\t)+sifter'
count: 1
exact: true
- sifter/sifter.S:
- description: sifter/sifter.S POPs from the stack
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[pop|POP](\s|\t)+\{'
count: 1
exact: false
- sifter/sifter.S:
- description: sifter/sifter.S PUSHes from the stack
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[push|PUSH](\s|\t)+\{'
count: 1
exact: false
- sifter/sifter.S:
- description: sifter/sifter.S uses BX to jump to appropriate point
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: '[bx|BX](\s|\t)+[a-zA-Z0-9]+'
count: 1
exact: false
- sifter/sifter.S:
- description: sifter/sifter.S contains no TODOs
category: TODOs
check: MatchFileFragment
options:
fragment: 'TODO'
count: 0
exact: true
- sifter/program.S:
- description: sifter/program.S contains no TODOs
category: TODOs
check: MatchFileFragment
options:
fragment: 'TODO'
count: 0
exact: true
- sifter/sifter.S:
- description: sifter/sifter.S compares values to branch appropriately
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: 'CMP(\s|\t)+[r|R][0-7],(\s)+[r|R][0-7]'
count: 0
exact: true
- sifter/sifter.S:
- description: sifter/sifter.S compares uses branch and link to return to appropriate point in previous subroutine
category: ARMv6 Assembly
check: MatchFileRegex
options:
regex: 'BL(\s|\t)+[a-zA-z0-9]+'
count: 3
exact: false
- docs/report.md:
- description: docs/report.md contains no TODOs
check: MatchFileFragment
category: TODOs
options:
fragment: 'TODO'
count: 0
exact: true