File tree Expand file tree Collapse file tree 6 files changed +14
-9
lines changed Expand file tree Collapse file tree 6 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 1
1
#ifndef VMICORE_ILOGGER_H
2
2
#define VMICORE_ILOGGER_H
3
3
4
- #include < memory>
4
+ #include < cstdint>
5
+ #include < initializer_list>
5
6
#include < string_view>
7
+ #include < utility>
6
8
#include < variant>
7
9
8
10
namespace VmiCore
Original file line number Diff line number Diff line change 5
5
#include < cstdint>
6
6
#include < memory>
7
7
#include < string>
8
- #include < vector>
9
8
10
9
namespace VmiCore
11
10
{
Original file line number Diff line number Diff line change 4
4
#include " ../io/ILogger.h"
5
5
#include " ../os/ActiveProcessInformation.h"
6
6
#include " ../types.h"
7
+ #include " ../vmi/BpResponse.h"
7
8
#include " ../vmi/IBreakpoint.h"
8
9
#include " ../vmi/IIntrospectionAPI.h"
9
- #include " IPluginConfig .h"
10
+ #include " ../vmi/events/IInterruptEvent .h"
10
11
#include < functional>
11
12
#include < memory>
12
- #include < optional>
13
13
#include < string>
14
14
#include < string_view>
15
15
#include < vector>
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ namespace VmiCore
6
6
enum class BpResponse
7
7
{
8
8
Continue,
9
+ // / Remove the breakpoint after
9
10
Deactivate,
10
11
};
11
12
}
Original file line number Diff line number Diff line change 2
2
#define VMICORE_IBREAKPOINT_H
3
3
4
4
#include " ../types.h"
5
- #include " BpResponse.h"
6
- #include " events/IInterruptEvent.h"
7
- #include < functional>
8
- #include < memory>
9
5
10
6
namespace VmiCore
11
7
{
@@ -14,8 +10,16 @@ namespace VmiCore
14
10
public:
15
11
virtual ~IBreakpoint () = default ;
16
12
13
+ /* *
14
+ * Retrieve the target gpa the breakpoint has been placed on.
15
+ */
17
16
[[nodiscard]] virtual addr_t getTargetPA () const = 0;
18
17
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
+ */
19
23
virtual void remove () = 0;
20
24
21
25
protected:
Original file line number Diff line number Diff line change 1
1
#ifndef VMICORE_WINDOWS_VADT_H
2
2
#define VMICORE_WINDOWS_VADT_H
3
3
4
- #include " ProtectionValues.h"
5
4
#include < string>
6
5
7
6
namespace VmiCore ::Windows
You can’t perform that action at this time.
0 commit comments