1.1 --- a/tools/gdc-psyfork/MemoryUtils.h Tue Jul 03 07:51:12 2012 -0400
1.2 +++ b/tools/gdc-psyfork/MemoryUtils.h Tue Jul 03 10:27:27 2012 -0400
1.3 @@ -64,11 +64,11 @@
1.4 MemoryUtils();
1.5 ~MemoryUtils();
1.6 public: // IMemoryUtils
1.7 - void *FindPattern(const void *libPtr, const char *pattern, size_t len);
1.8 + void *FindPattern(const void *libPtr, const char *pattern, size_t len, int &matches, bool &atFuncStart);
1.9 void *ResolveSymbol(void *handle, const char *symbol);
1.10 const char *ResolveAddr(void *handle, void *addr);
1.11 public:
1.12 - void *FindPatternInFile(int fd, const char *pattern, size_t len);
1.13 + void *FindPatternInFile(int fd, const char *pattern, size_t len, int &matches, bool &atFuncStart);
1.14 bool GetLibraryInfo(const void *libPtr, DynLibInfo &lib);
1.15 #if defined PLATFORM_LINUX || defined PLATFORM_APPLE
1.16 private: