[][src]Module haybale::hook_utils

Utility functions for performing memset or memcpy operations. These may be useful in implementing hooks for other functions.

Functions

memcpy

Copies num_bytes bytes of memory from address src to address dest. src and dest may overlap.

memcpy_bv

Just like memcpy() above, but takes BVs instead of Operands for its arguments.

memset

Set num_bytes bytes of memory at address addr each to the value val. Each individual byte will be set to val, so only the lowest 8 bits of val will be used.

memset_bv

Just like memset() above, but takes BVs instead of Operands for its arguments.