Skip to content

Commit

Permalink
[BUGFIX] Fixed errors stopping compilation on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Aug 22, 2024
1 parent ef77bb7 commit 5170f4c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions EvasionWatch.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ typedef VOID EvasionWatchAfterCallBack(const ADDRINT Address, const THREADID tid
struct EvasionFuncInfo : public WFuncInfo
{
EvasionFuncInfo(const std::string& _dllName, const std::string& _funcName, const size_t _paramCount, EvasionWatchBeforeCallBack* _callbackB = nullptr, EvasionWatchAfterCallBack* _callbackA = nullptr, t_watch_level _type = WATCH_STANDARD)
: callbackBefore(_callbackB), callbackAfter(_callbackA), type(_type),
WFuncInfo(_dllName, _funcName, _paramCount)
: WFuncInfo(_dllName, _funcName, _paramCount),
callbackBefore(_callbackB), callbackAfter(_callbackA), type(_type)
{
}

Expand Down
5 changes: 4 additions & 1 deletion FuncWatch.h
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
#pragma once

#include <cctype>
#include <string>
#include <fstream>
#include <iostream>
#include <string>
#include <cstring>
#include <cstdio>
#include <map>
#include <vector>

#include "Util.h"

#define LIST_DELIMITER ';'

struct RoutineInfo
Expand Down
7 changes: 5 additions & 2 deletions Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ struct StopOffset
{
this->rva = other.rva;
this->times = other.times;
return *this;
}

bool load(const std::string& sline, char delimiter);
Expand Down Expand Up @@ -90,11 +91,13 @@ class Settings {
shortLogging(true),
logIndirect(false),
hexdumpSize(8),
hookSleep(false),
sleepTime(0),
stopOffsetTime(30),
antidebug(WATCH_DISABLED),
antivm(WATCH_DISABLED),
useDebugSym(false),
isHyperVSet(false),
stopOffsetTime(30)
isHyperVSet(false)
{
}

Expand Down

0 comments on commit 5170f4c

Please sign in to comment.