Skip to content

Commit

Permalink
[REFACT] Limited scope of a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hasherezade committed Dec 6, 2024
1 parent 0a6951c commit 9f4deba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TinyTracer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -787,9 +787,9 @@ VOID SyscallCalledAfter(THREADID tid, CONTEXT* ctxt, SYSCALL_STANDARD std, VOID*
if (address == UNKNOWN_ADDR) {
return;
}
const std::string syscallFuncName = SyscallsTable::convertNameToNt(m_Settings.syscallsTable.getName(syscallNum));
#ifdef USE_ANTIVM
if (m_Settings.antivm != WATCH_DISABLED) {
const std::string syscallFuncName = SyscallsTable::convertNameToNt(m_Settings.syscallsTable.getName(syscallNum));
AntiVm::MonitorSyscallExit(tid, syscallFuncName.c_str(), ctxt, std, address);
}
#endif //USE_ANTIVM
Expand Down

0 comments on commit 9f4deba

Please sign in to comment.