diff options
Diffstat (limited to 'src/processor/exploitability_win.cc')
-rw-r--r-- | src/processor/exploitability_win.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/processor/exploitability_win.cc b/src/processor/exploitability_win.cc index e20fbdda..8a444eb2 100644 --- a/src/processor/exploitability_win.cc +++ b/src/processor/exploitability_win.cc @@ -105,18 +105,15 @@ ExploitabilityRating ExploitabilityWin::CheckPlatformExploitability() { uint64_t stack_ptr = 0; uint64_t instruction_ptr = 0; - uint64_t this_ptr = 0; switch (context->GetContextCPU()) { case MD_CONTEXT_X86: stack_ptr = context->GetContextX86()->esp; instruction_ptr = context->GetContextX86()->eip; - this_ptr = context->GetContextX86()->ecx; break; case MD_CONTEXT_AMD64: stack_ptr = context->GetContextAMD64()->rsp; instruction_ptr = context->GetContextAMD64()->rip; - this_ptr = context->GetContextAMD64()->rcx; break; default: BPLOG(INFO) << "Unsupported architecture."; |