Displaying 1 result from an estimated 1 matches for "b0467bbf".
2020 Mar 27
2
Reliably mapping memcpy intrinsic
Similar to how `operator new(size)` can be overridden during linking, to
capture and customize all memory allocation operations, I'd like to be able
to capture all scenarios where memory is copied or moved. I've tried to use
`--wrap memcpy` with some success, however I've noticed that in some
instances (e.g. copying a small struct) the memcpy instruction in the IR is
replaced with a