-
Notifications
You must be signed in to change notification settings - Fork 8
/
needles.h
218 lines (167 loc) · 6.81 KB
/
needles.h
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
#ifndef NEEDLES
#define NEEDLES
/* Needles.h
These are the snippets of code masked so relocation data is ignored
as well as specific addressing data such as segmenting code. This makes
identification of common code have a very high success rate across
different rom's.
This file is where the magic is :)
The machine code is from a 16-bit Siemens C167_SR CPU in Little Endian.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
*/
#ifndef _NEEDLES_SUPPORT_H
#define _NEEDLES_SUPPORT_H
unsigned char me75x_needle[];
unsigned int me75x_needle_len;
unsigned char me75x_mask[];
extern const unsigned char kwp2000_ecu_needle[] ;
extern const unsigned char kwp2000_ecu_mask[];
extern unsigned int kwp2000_ecu_needle_len;
extern const unsigned char meinfo_needle[];
extern const unsigned char meinfo_mask[];
extern unsigned int meinfo_needle_len;
extern unsigned char needle_TVKUP[];
extern unsigned char mask_TVKUP[];
extern unsigned int needle_TVKUP_len;
extern unsigned char needle_LRSTPZA[];
extern unsigned char mask_LRSTPZA[];
extern unsigned int needle_LRSTPZA_len;
extern const unsigned char needle_1[];
extern unsigned int needle_1_len;
extern const unsigned char mask_1[];
extern const unsigned char needle_1q[];
extern unsigned int needle_1q_len;
extern const unsigned char mask_1q[];
extern const unsigned char needle_mlhfm[];
extern unsigned int needle_mlhfm_len;
extern const unsigned char mask_mlhfm[];
extern const unsigned char needle_KFKHFM[];
extern unsigned int needle_KFKHFM_len;
extern const unsigned char mask_KFKHFM[];
extern const unsigned char needle_KRKTE[];
extern unsigned int needle_KRKTE_len;
extern const unsigned char mask_KRKTE[];
extern const unsigned char needle_LAMFA[];
extern unsigned int needle_LAMFA_len;
extern const unsigned char mask_LAMFA[];
extern unsigned char needle_CWKONFZ1[];
extern unsigned int needle_CWKONFZ1_len;
extern unsigned char mask_CWKONFZ1[];
extern unsigned char needle_CWKONABG[];
extern unsigned int needle_CWKONABG_len;
extern unsigned char mask_CWKONABG[];
extern unsigned char needle_DEKON2[];
extern unsigned int needle_DEKON2_len;
extern unsigned char mask_DEKON2[];
extern unsigned char needle_NWS[];
extern unsigned int needle_NWS_len;
extern unsigned char mask_NWS[];
extern unsigned char needle_SU[];
extern unsigned int needle_SU_len;
extern unsigned char mask_SU[];
extern unsigned char needle_BGMSZS[];
extern unsigned char mask_BGMSZS[];
extern unsigned int needle_BGMSZS_len;
extern unsigned char needle_FUEDK[];
extern unsigned char mask_FUEDK[];
extern unsigned int needle_FUEDK_len;
extern unsigned char needle_RKTI[];
extern unsigned int needle_RKTI_len;
extern unsigned char mask_RKTI[];
extern unsigned char needle_DFFTCNV[];
extern unsigned int needle_DFFTCNV_len;
extern unsigned char mask_DFFTCNV[];
extern unsigned char needle_ZWGRU[];
extern unsigned int needle_ZWGRU_len;
extern unsigned char mask_ZWGRU[];
extern unsigned char needle_BBSAWE[];
extern unsigned int needle_BBSAWE_len;
extern unsigned char mask_BBSAWE[];
extern unsigned char needle_SSTB[];
extern unsigned int needle_SSTB_len;
extern unsigned char mask_SSTB[];
extern unsigned char needle_SSTB2[];
extern unsigned int needle_SSTB2_len;
extern unsigned char mask_SSTB2[];
extern unsigned char needle_PROKON[];
extern unsigned int needle_PROKON_len;
extern unsigned char mask_PROKON[];
extern unsigned char needle_ESKONF[];
extern unsigned int needle_ESKONF_len;
extern unsigned char mask_ESKONF[];
extern const unsigned char needle_2[];
extern unsigned int needle_2_len;
extern const unsigned char mask_2[];
extern const unsigned char needle_2b[];
extern const unsigned char mask_2b[];
extern unsigned int needle_2b_len;
extern const unsigned char needle_3[];
extern const unsigned char mask_3[];
extern unsigned int needle_3_len;
extern const unsigned char needle_3b[];
extern const unsigned char mask_3b[];
extern unsigned int needle_3b_len;
extern const unsigned char needle_4[];
extern const unsigned char mask_4[];
extern unsigned int needle_4_len;
extern const unsigned char needle_4aa[];
extern const unsigned char mask_4aa[];
extern unsigned int needle_4aa_len;
extern const unsigned char needle_4b[];
extern const unsigned char mask_4b[];
extern unsigned int needle_4b_len;
extern const unsigned char needle_4c[];
extern const unsigned char mask_4c[];
extern unsigned int needle_4c_len;
extern const unsigned char needle_5[];
extern const unsigned char mask_5[];
extern unsigned int needle_5_len;
extern const unsigned char needle_6[];
extern const unsigned char mask_6[];
extern unsigned int needle_6_len;
extern const unsigned char KFPED_needle[];
extern const unsigned char KFPED_mask[];
extern unsigned int KFPED_needle_len;
extern const unsigned char KFAGK_needle[];
extern const unsigned char KFAGK_mask[];
extern unsigned int KFAGK_needle_len;
extern const unsigned char KFAGK_needle2[];
extern const unsigned char KFAGK_mask2[];
extern unsigned int KFAGK_needle2_len;
extern const unsigned char needle_dpp[];
extern const unsigned char mask_dpp[];
extern unsigned int needle_dpp_len;
const unsigned char mapfinder_needle[];
const unsigned char mapfinder_mask[];
extern unsigned int mapfinder_needle_len;
const unsigned char mapfinder_xy2_needle[];
const unsigned char mapfinder_xy2_mask[];
extern unsigned int mapfinder_xy2_needle_len;
const unsigned char mapfinder_xy3_needle[];
const unsigned char mapfinder_xy3_mask[];
extern unsigned int mapfinder_xy3_needle_len;
extern const unsigned char crc32_needle[];
extern const unsigned char crc32_mask[];
extern unsigned int crc32_needle_len;
#define SKIP 0x00
#define XXXX 0x00
#define YYYY 0x00
#define MASK 0xff
#endif
#endif