|
|
|
@ -30,3 +30,31 @@ vm::handler::profile_t addq = {
|
|
|
|
|
instr.operands[ 0 ].mem.base == ZYDIS_REGISTER_RBP;
|
|
|
|
|
} } } };
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Inside of `vmprofiles.hpp` you can see a list of these profiles marked as `extern`.
|
|
|
|
|
|
|
|
|
|
```cpp
|
|
|
|
|
namespace profile
|
|
|
|
|
{
|
|
|
|
|
extern vm::handler::profile_t sregq;
|
|
|
|
|
extern vm::handler::profile_t sregdw;
|
|
|
|
|
extern vm::handler::profile_t sregw;
|
|
|
|
|
|
|
|
|
|
extern vm::handler::profile_t lregq;
|
|
|
|
|
extern vm::handler::profile_t lregdw;
|
|
|
|
|
|
|
|
|
|
extern vm::handler::profile_t lconstq;
|
|
|
|
|
extern vm::handler::profile_t lconstdw;
|
|
|
|
|
extern vm::handler::profile_t lconstw;
|
|
|
|
|
|
|
|
|
|
extern vm::handler::profile_t lconstbzxw;
|
|
|
|
|
extern vm::handler::profile_t lconstbsxdw;
|
|
|
|
|
extern vm::handler::profile_t lconstbsxq;
|
|
|
|
|
extern vm::handler::profile_t lconstdwsxq;
|
|
|
|
|
extern vm::handler::profile_t lconstwsxq;
|
|
|
|
|
extern vm::handler::profile_t lconstwsxdw;
|
|
|
|
|
|
|
|
|
|
extern vm::handler::profile_t addq; // as you can see a reference to addq is declared here...
|
|
|
|
|
...
|
|
|
|
|
}
|
|
|
|
|
```
|