diff --git a/src/core/sal/bochs/MemAccess.ah b/src/core/sal/bochs/MemAccess.ah index 06917d6f..37dbb030 100644 --- a/src/core/sal/bochs/MemAccess.ah +++ b/src/core/sal/bochs/MemAccess.ah @@ -77,7 +77,7 @@ aspect MemAccess { advice execution (write_methods_new_stack()) : after () { - std::cerr << "WOOOOOT write_methods_new_stack" << std::endl; + //std::cerr << "WOOOOOT write_methods_new_stack" << std::endl; // TODO: Log-level? fail::simulator.onMemoryAccess( *(tjp->arg<1>()), sizeof(*(tjp->arg<3>())), true, @@ -86,7 +86,7 @@ aspect MemAccess { advice execution (write_methods_new_stack_64()) : after () { - std::cerr << "WOOOOOT write_methods_new_stack_64" << std::endl; + //std::cerr << "WOOOOOT write_methods_new_stack_64" << std::endl; // TODO: Log-level? fail::simulator.onMemoryAccess( *(tjp->arg<0>()), sizeof(*(tjp->arg<2>())), true, diff --git a/src/core/sal/qemu/QEMUListener.cc b/src/core/sal/qemu/QEMUListener.cc index d70e5e8e..b1eb4104 100644 --- a/src/core/sal/qemu/QEMUListener.cc +++ b/src/core/sal/qemu/QEMUListener.cc @@ -11,7 +11,7 @@ namespace fail { bool QEMUMemWriteListener::onAddition() { - std::cout << "QEMUMemWriteListener::onAddition" << std::endl; + //std::cout << "QEMUMemWriteListener::onAddition" << std::endl; if (failqemu_add_watchpoint(simulator.m_cpuenv, m_WatchAddr, m_WatchWidth, 1) != 0) { std::cout << "adding watchpoint failed!" << std::endl; return false; @@ -21,7 +21,7 @@ bool QEMUMemWriteListener::onAddition() void QEMUMemWriteListener::onDeletion() { - std::cout << "QEMUMemWriteListener::onDeletion" << std::endl; + //std::cout << "QEMUMemWriteListener::onDeletion" << std::endl; failqemu_remove_watchpoint(simulator.m_cpuenv, m_WatchAddr, m_WatchWidth, 1); } diff --git a/src/core/sal/qemu/wrappers.cc b/src/core/sal/qemu/wrappers.cc index 04e58765..36d57663 100644 --- a/src/core/sal/qemu/wrappers.cc +++ b/src/core/sal/qemu/wrappers.cc @@ -19,7 +19,6 @@ void fail_init(struct CPUX86State *env) void fail_watchpoint_hit(struct CPUX86State *env, uint64_t addr, int width, int is_write) { - std::cout << "fail_breakpoint_hit" << std::endl; // FIXME: instruction pointer fail::simulator.onMemoryAccess(addr, width, is_write == 1, 0); }