Skip to content

Commit

Permalink
unify apitracing
Browse files Browse the repository at this point in the history
  • Loading branch information
K-Mayer committed Sep 20, 2023
1 parent 6c6ec11 commit 33ebdc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/apitracing/src/lib/FunctionHook.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace ApiTracing
void hookFunction(VmiCore::addr_t moduleBaseAddress,
std::shared_ptr<const VmiCore::ActiveProcessInformation> processInformation);

VmiCore::BpResponse hookCallback(VmiCore::IInterruptEvent& event);
[[nodiscard]] VmiCore::BpResponse hookCallback(VmiCore::IInterruptEvent& event);

void teardown() const;

Expand Down
2 changes: 1 addition & 1 deletion plugins/apitracing/test/FunctionHook_UnitTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ namespace ApiTracing
functionHook.hookFunction(testModuleBase, tracedProcessInformation);
EXPECT_CALL(*extractor, extractParameters).Times(1);

functionHook.hookCallback(*interruptEvent);
static_cast<void>(functionHook.hookCallback(*interruptEvent));
}
}

0 comments on commit 33ebdc8

Please sign in to comment.