--break_on_instruction=0x... and --break_on_memory=0x...

This commit is contained in:
Ben Vanik
2013-10-20 16:54:59 -07:00
parent cddab7ffb0
commit 42a8fc0b59
3 changed files with 48 additions and 0 deletions

View File

@@ -25,6 +25,13 @@ DEFINE_uint64(trace_thread_mask, -1,
"Trace threads with IDs in the mask, or -1 for all.");
// Breakpoints:
DEFINE_uint64(break_on_instruction, 0,
"int3 before the given guest address is executed.");
DEFINE_uint64(break_on_memory, 0,
"int3 on read/write to the given memory address.");
// Debugging:
DEFINE_string(load_module_map, "",
"Loads a .map for symbol names and to diff with the generated symbol "