Small adjustments

This commit is contained in:
momo5502
2024-09-07 15:07:51 +02:00
parent f44f4777da
commit d7dd64f896
2 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@
#define GDT_LIMIT 0x1000
#define GDT_ENTRY_SIZE 0x8
bool use_gdb = true;
bool use_gdb = false;
struct breakpoint_key
{
@@ -745,9 +745,9 @@ namespace
{
frame.rip = pointers.ContextRecord->Rip;
frame.rsp = pointers.ContextRecord->Rsp;
frame.eflags = pointers.ContextRecord->EFlags;
frame.ss = pointers.ContextRecord->SegSs;
frame.cs = pointers.ContextRecord->SegCs;
frame.eflags = pointers.ContextRecord->EFlags;
});
printf("ContextRecord: %llX\n", context_record_obj.value());

View File

@@ -227,7 +227,7 @@ std::optional<mapped_binary> map_file(x64_emulator& emu, const std::filesystem::
auto binary = map_module(emu, data, file.generic_string());
//hook_exports(emu, binary, file);
hook_exports(emu, binary, file);
return binary;
}