Best Practices for Updating Shared Map on Control Flow Instructions #1143
-
Hello, I am making some experimentations with WASMI. My goal is to update a shared map whenever a new control flow instruction is hit, so that I could use that map in my fuzzer to fetch the coverage. I am uncertain about the optimal location to update this map. One potential spot I identified is push_frame, but I would appreciate any opinions or recommendations on this approach. Thanks! :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi @kevin-valerio , what exactly do you mean with "shared map"? Translation? Execution? Anything else? |
Beta Was this translation helpful? Give feedback.
It could technically be used but you wouldnt know if you came or exited from a Wasm if, block or loop control flow construct. If that suffices your needs you should be fine.