Skip to content

Commit 1c445ea

Browse files
author
Dorian Eikenberg
committed
Remove unused includes
1 parent d74fe08 commit 1c445ea

File tree

6 files changed

+14
-9
lines changed

6 files changed

+14
-9
lines changed

vmicore/src/include/vmicore/io/ILogger.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
#ifndef VMICORE_ILOGGER_H
22
#define VMICORE_ILOGGER_H
33

4-
#include <memory>
4+
#include <cstdint>
5+
#include <initializer_list>
56
#include <string_view>
7+
#include <utility>
68
#include <variant>
79

810
namespace VmiCore

vmicore/src/include/vmicore/os/ActiveProcessInformation.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#include <cstdint>
66
#include <memory>
77
#include <string>
8-
#include <vector>
98

109
namespace VmiCore
1110
{

vmicore/src/include/vmicore/plugins/PluginInterface.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
#include "../io/ILogger.h"
55
#include "../os/ActiveProcessInformation.h"
66
#include "../types.h"
7+
#include "../vmi/BpResponse.h"
78
#include "../vmi/IBreakpoint.h"
89
#include "../vmi/IIntrospectionAPI.h"
9-
#include "IPluginConfig.h"
10+
#include "../vmi/events/IInterruptEvent.h"
1011
#include <functional>
1112
#include <memory>
12-
#include <optional>
1313
#include <string>
1414
#include <string_view>
1515
#include <vector>

vmicore/src/include/vmicore/vmi/BpResponse.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ namespace VmiCore
66
enum class BpResponse
77
{
88
Continue,
9+
/// Remove the breakpoint after
910
Deactivate,
1011
};
1112
}

vmicore/src/include/vmicore/vmi/IBreakpoint.h

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
#define VMICORE_IBREAKPOINT_H
33

44
#include "../types.h"
5-
#include "BpResponse.h"
6-
#include "events/IInterruptEvent.h"
7-
#include <functional>
8-
#include <memory>
95

106
namespace VmiCore
117
{
@@ -14,8 +10,16 @@ namespace VmiCore
1410
public:
1511
virtual ~IBreakpoint() = default;
1612

13+
/**
14+
* Retrieve the target gpa the breakpoint has been placed on.
15+
*/
1716
[[nodiscard]] virtual addr_t getTargetPA() const = 0;
1817

18+
/**
19+
* Remove the breakpoint. This will only guarantee that the creator of this breakpoint stops receiving
20+
* callbacks. The actual physical breakpoint might still exist in the guest depending on whether there are
21+
* multiple breakpoint objects subscribed to the same physical breakpoint or just a single one.
22+
*/
1923
virtual void remove() = 0;
2024

2125
protected:

vmicore/src/lib/os/windows/Vadt.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#ifndef VMICORE_WINDOWS_VADT_H
22
#define VMICORE_WINDOWS_VADT_H
33

4-
#include "ProtectionValues.h"
54
#include <string>
65

76
namespace VmiCore::Windows

0 commit comments

Comments
 (0)