1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

sclog.c: print 'stores' for memory stores

This commit is contained in:
Pavel I. Kryukov 2019-12-15 13:57:52 +03:00 committed by Simon Tatham
parent 1344d4d1cd
commit bac0a4dba7

View File

@ -388,10 +388,10 @@ static dr_emit_flags_t instrument_instr(
if (instr_reads_memory(instr) || instr_writes_memory(instr)) {
for (int i = 0, limit = instr_num_srcs(instr); i < limit; i++)
try_mem_opnd(drcontext, bb, instr, &loc,
instr_get_src(instr, i), false);
instr_get_src(instr, i), instr_writes_memory(instr));
for (int i = 0, limit = instr_num_dsts(instr); i < limit; i++)
try_mem_opnd(drcontext, bb, instr, &loc,
instr_get_dst(instr, i), false);
instr_get_dst(instr, i), instr_writes_memory(instr));
}
/*