danleh / wasabi

A dynamic analysis framework for WebAssembly programs.
http://wasabi.software-lab.org
MIT License
366 stars 48 forks source link

Add op argument to const high-level hook #18

Closed danleh closed 5 years ago

danleh commented 5 years ago

Fixes https://github.com/danleh/wasabi/issues/16. Note that this is a breaking change, since existing analyses using const_(location, value) will now receive the operation as the second argument. Fix by changing to const_(loc, op, val)