c7c431f88e
It already had limited usability before. With stack direct access optimization the callback won't be called for stack accesses as well. See note by Brian Slechta: === Cut Hete === While using Bochs as a reference model for simulations, the simulator needs information about what loads/stores are taking place with each instruction. Presumably, that is what the BX_INSTR_MEM_DATA() instrumentation macros cover (which is the place where our simulator hooks up). The RETnear_xxx() functions call access_linear() directly, rather than call read_virtual_xxx() functions. This is a problem for code making use of the BX_INSTR_MEM_DATA() hook because it does not get called for these instructions. Should this be changed along with some other instructions that exhibit this? === Cut Hete === For Bryan's usage bx_instr_lin_access and bx_instr_phy_read/bx_instr_phy_write callbacks should be used. |
||
---|---|---|
.. | ||
instrument.cc | ||
instrument.h | ||
Makefile.in |