Browse Source

fix all_hooked

master
aaaaaa aaaaaaa 6 years ago
parent
commit
97f6ad47fe
1 changed files with 11 additions and 2 deletions
  1. +11
    -2
      tester/abstracthook.h

+ 11
- 2
tester/abstracthook.h View File

bool tail_recursion; bool tail_recursion;
}; };
public: public:
AbstractHookEngine(const char* name) : name_(name) {
AbstractHookEngine(const char* name) :
name_(name),
small_(false),
branch(false),
rip_relative(false),
avx(false),
rdrand(false),
loop(false),
tail_recursion(false)
{


} }


virtual bool unhook_all() = 0; virtual bool unhook_all() = 0;


bool all_hooked() { bool all_hooked() {
return small_ && branch && rip_relative;
return small_ && branch && rip_relative && avx && rdrand && loop && tail_recursion;
} }


const char* name() { const char* name() {

Loading…
Cancel
Save