blob: 5dfc733fa7dd899276e0f9ceab601c05f71512db (
plain)
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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>DevMemPatt class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.9.1 -->
<center>
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> </center>
<hr><h1>DevMemPatt Class Reference</h1>Searching the kernel.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="DevMemPatt_8hpp-source.html">DevMemPatt.hpp</a>></code>
<p>
<a href="classDevMemPatt-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classDevMemPatt.html#a0">DevMemPatt</a> (<a class="el" href="classrwKernel.html">rwKernel</a> *)</td></tr>
<tr><td> </td><td><font size=-1><em>This constructor will initialize the object with a reference to a <a class="el" href="classrwKernel.html">rwKernel</a> object.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classDevMemPatt.html#a1">DevMemPatt</a> ()</td></tr>
<tr><td> </td><td><font size=-1><em>Another constructor.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classDevMemPatt.html#a2">~DevMemPatt</a> ()</td></tr>
<tr><td> </td><td><font size=-1><em>Destruct DevMemPatt object.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="classDevMemPatt.html#a3">find_patt</a> (unsigned int start, unsigned int end,\unsigned short len, unsigned char *data)</td></tr>
<tr><td> </td><td><font size=-1><em>Find a data string in kernel memory.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>unsigned int </td><td valign=bottom><a class="el" href="classDevMemPatt.html#a4">find_patt</a> (struct sfp *a)</td></tr>
<tr><td> </td><td><font size=-1><em>Find a data pattern in kernel memory.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Searching the kernel.
<p>
This class helps you by seaching for patterns in kernel memory. Each function has a, more or less, unique structure. There is nothing to wonder about this: each function is for solving a different task. If the function, or parts of it, are know it can be found without any further knowledge about it.
<p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a name="a0" doxytag="DevMemPatt::DevMemPatt"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
DevMemPatt::DevMemPatt
</td>
<td class="md">( </td>
<td class="md"><a class="el" href="classrwKernel.html">rwKernel</a> * </td>
<td class="mdname"> </td>
<td class="md">) </td>
<td class="md"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
This constructor will initialize the object with a reference to a <a class="el" href="classrwKernel.html">rwKernel</a> object.
<p>
<dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="classrwKernel.html">rwKernel</a> </dl> </td>
</tr>
</table>
<a name="a1" doxytag="DevMemPatt::DevMemPatt"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
DevMemPatt::DevMemPatt
</td>
<td class="md">( </td>
<td class="mdname"> </td>
<td class="md">) </td>
<td class="md"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Another constructor.
<p>
This one will generate a new <a class="el" href="classrwKernel.html">rwKernel</a> object. </td>
</tr>
</table>
<a name="a2" doxytag="DevMemPatt::~DevMemPatt"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
DevMemPatt::~DevMemPatt
</td>
<td class="md">( </td>
<td class="mdname"> </td>
<td class="md">) </td>
<td class="md"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Destruct DevMemPatt object.
<p>
Local <a class="el" href="classrwKernel.html">rwKernel</a> object will not be deleted. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a4" doxytag="DevMemPatt::find_patt"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
unsigned int DevMemPatt::find_patt
</td>
<td class="md">( </td>
<td class="md">struct sfp * </td>
<td class="mdname"> <em>a</em> </td>
<td class="md">) </td>
<td class="md"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Find a data pattern in kernel memory.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>a
</em> </td><td>
search a data pattern defined by a. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
the address of the first byte of the searched pattern or zero if it was not found. </dl><dl compact><dt>
<b>See also: </b><dd>
<a class="el" href="classSymbolFingp.html">SymbolFingp</a> </dl> </td>
</tr>
</table>
<a name="a3" doxytag="DevMemPatt::find_patt"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">
unsigned int DevMemPatt::find_patt
</td>
<td class="md">( </td>
<td class="md">unsigned int </td>
<td class="mdname"> <em>start</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md"> <tr>
<td></td>
<td></td>
<td class="md">unsigned int </td>
<td class="mdname"> <em>end</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md"> <tr>
<td></td>
<td></td>
<td class="md">\unsigned short </td>
<td class="mdname"> <em>len</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md"> <tr>
<td></td>
<td></td>
<td class="md">unsigned char * </td>
<td class="mdname"> <em>data</em> </td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Find a data string in kernel memory.
<p>
<dl compact><dt>
Parameters: <dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>start
</em> </td><td>
start address of the search. </td></tr>
<tr><td valign=top><em>end
</em> </td><td>
the search will go upto this address in kernel memory. </td></tr>
<tr><td valign=top><em>length
</em> </td><td>
the length of the data. </td></tr>
<tr><td valign=top><em>data
</em> </td><td>
the data searched for. </td></tr>
</table>
</dl><dl compact><dt>
<b>Returns: </b><dd>
the address of the first byte of the searched data or zero if it was not found. </dl> </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="DevMemPatt_8hpp-source.html">DevMemPatt.hpp</a></ul>
<hr><address><small>Generated at Tue Aug 14 18:04:51 2001 for Kermit by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.2.9.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
© 1997-2001</small></address>
</body>
</html>
|