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
824824 virtual void set_tool_dispatch_on_all_threads(vm_tool_dispatch_t *dispatch) = 0;
825825 };
826826
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+
827830 // VM garbage collector interface
828831 class vm_garbage_collector_t
829832 {
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−
834833 public:
835834 virtual ~vm_garbage_collector_t() = 0;
836835
@@ -862,7 +861,7 @@ namespace disvm · 25 unmodified lines
862861 virtual ~vm_tool_t() = 0;
863862
864863 // 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;
866865
867866 // Called when the tool is unloaded from the VM.
868867 // 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