mirror of https://github.com/x64dbg/GleeBug
removed useless stuff
This commit is contained in:
parent
424edbc226
commit
655dd78d4c
|
|
@ -66,7 +66,7 @@ namespace GleeBug
|
|||
template <typename T>
|
||||
void StepInto(T* debugger, void(T::*callback)())
|
||||
{
|
||||
static_cast<void>(static_cast<Debugger *>(debugger));
|
||||
static_cast<void>(static_cast<Debugger*>(debugger));
|
||||
StepInto(std::bind(callback, debugger));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,36 +1,6 @@
|
|||
#include <cstdio>
|
||||
#include "MyDebugger.h"
|
||||
|
||||
/*
|
||||
static ptr GetRegister(RegisterEnum reg)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void SetRegister(RegisterEnum reg, ptr value)
|
||||
{
|
||||
}
|
||||
|
||||
template <RegisterEnum RegisterIndex, typename Type>
|
||||
class Register
|
||||
{
|
||||
public:
|
||||
Type Get()
|
||||
{
|
||||
return reinterpret_cast<Type>(GetRegister(RegisterIndex));
|
||||
}
|
||||
|
||||
void Set(Type value)
|
||||
{
|
||||
SetRegister(RegisterIndex, ptr(value));
|
||||
}
|
||||
};
|
||||
|
||||
static void test()
|
||||
{
|
||||
|
||||
}*/
|
||||
|
||||
int main()
|
||||
{
|
||||
#ifdef _WIN64
|
||||
|
|
|
|||
Loading…
Reference in New Issue