Main Page   Compound List   File List   Compound Members  

DevMemPatt.hpp

00001 /*
00002  * DevMemPatt.hpp:
00003  * search the kernel...
00004  * written by palmers / teso
00005  *
00006  * ahh, btw. fuck. now you can grep for it :)
00007  */
00008 #ifndef __DEVMEMPATT_C
00009 #define __DEVMEMPATT_C
00010 
00011 #define READ_BUFF_SIZE          4096
00012 
00013 #include <string>
00014 #include <rwKernel.hpp>
00015 #include <SymbolFingp.hpp>
00016 
00017 
00025 class DevMemPatt
00026 {
00027 private:
00028   rwKernel *rw;
00029   int compare_data_snippet (unsigned char *, struct sfp *);
00030 
00031 public:
00036   DevMemPatt (rwKernel *);
00037 
00041   DevMemPatt ();
00042 
00046   ~DevMemPatt ();
00047 
00057   unsigned int find_patt (unsigned int start, unsigned int end, \
00058                 unsigned short len, unsigned char *data);
00059 
00067   unsigned int find_patt (struct sfp *a);
00068 };
00069 #endif /* __DEVMEMPATT_C */

Generated at Tue Aug 14 18:04:51 2001 for Kermit by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001