History

Debugger supports breakpoints (set/clear/list) Clean up usage of final and override on various classes Distinguish tool events for vm loading module and thread loading module

arr committed 10 years ago

Commit e2f8e251 parent d8c9a3314 files · +382 −177Browse files

Showing the changes to src/include/runtime.h (1 of 14 files). Show all

Unified · Split

src/include/runtime.h+4−5
@@ -824,13 +824,12 @@ namespace disvm · 823 unmodified lines
824 virtual void set_tool_dispatch_on_all_threads(vm_tool_dispatch_t *dispatch) = 0;824 virtual void set_tool_dispatch_on_all_threads(vm_tool_dispatch_t *dispatch) = 0;
825 };825 };
826 826
827 // The supplied allocation is guaranteed to be valid for the lifetime of the callback.
828 using vm_alloc_callback_t = std::function<void(const vm_alloc_t *)>;
829
827 // VM garbage collector interface830 // VM garbage collector interface
828 class vm_garbage_collector_t831 class vm_garbage_collector_t
829 {832 {
830 public:
831 // The supplied allocation is guaranteed to be valid for the lifetime of the callback.
832 using vm_alloc_callback_t = std::function<void(const vm_alloc_t *)>;
833
834 public:833 public:
835 virtual ~vm_garbage_collector_t() = 0;834 virtual ~vm_garbage_collector_t() = 0;
836 835
@@ -862,7 +861,7 @@ namespace disvm · 25 unmodified lines
862 virtual ~vm_tool_t() = 0;861 virtual ~vm_tool_t() = 0;
863 862
864 // Called when the tool is loaded into the VM863 // Called when the tool is loaded into the VM
865 virtual void on_load(vm_t &vm, vm_tool_controller_t &controller, std::size_t tool_id) = 0;864 virtual void on_load(vm_tool_controller_t &controller, std::size_t tool_id) = 0;
866 865
867 // Called when the tool is unloaded from the VM.866 // Called when the tool is unloaded from the VM.
868 // Note once the tool has been unloaded the vm and controller references supplied during load867 // Note once the tool has been unloaded the vm and controller references supplied during load

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t