Skip to content
Snippets Groups Projects
Commit c90d964a authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

Fix instrumentation

parent a8640242
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ void ZUntracer_t::_afl_instrument_bb(Instruction_t *p_inst, const bool p_redZone ...@@ -135,7 +135,7 @@ void ZUntracer_t::_afl_instrument_bb(Instruction_t *p_inst, const bool p_redZone
do_insert("mov " + tracemap_reg + ", [" + tracemap_reg + "]"); do_insert("mov " + tracemap_reg + ", [" + tracemap_reg + "]");
// set counter to 1: mov BYTE [rcx+1234], 1 // set counter to 1: mov BYTE [rcx+1234], 1
do_insert("mov BYTE [" + tracemap_reg + "+" + to_string(blockid) + "]"); do_insert("mov BYTE [" + tracemap_reg + "+" + to_string(blockid) + "], 1");
// restore register // restore register
if (!found_tracemap_free_register) if (!found_tracemap_free_register)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment