Pārlūkot izejas kodu

fix all_hooked

master
aaaaaa aaaaaaa pirms 7 gadiem
vecāks
revīzija
97f6ad47fe
1 mainītis faili ar 11 papildinājumiem un 2 dzēšanām
  1. +11
    -2
      tester/abstracthook.h

+ 11
- 2
tester/abstracthook.h Parādīt failu

@@ -17,7 +17,16 @@ public:
bool tail_recursion;
};
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)
{

}

@@ -25,7 +34,7 @@ public:
virtual bool unhook_all() = 0;

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

const char* name() {

Notiek ielāde…
Atcelt
Saglabāt