An open API service indexing awesome lists of open source software.

https://github.com/thirteenag/hooking.patterns


https://github.com/thirteenag/hooking.patterns

cpp pattern-matching patterns

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

Hooking.Patterns
----------------
Sample:

```cpp
#include "stdafx.h"
#include
#include "Hooking.Patterns.h"

int main()
{
auto pattern = hook::pattern("54 68 69 73 20 70 72 6F 67 72");
if (!pattern.count_hint(1).empty())
{
auto text = pattern.get(0).get(0);
MessageBoxA(0, text, text, 0);
}
return 0;
}
```

Result:

![MessageBox](http://i.imgur.com/Tuijf2I.png)