snmalloc
snmalloc copied to clipboard
custom memmove implementation proposal.
mostly like memcpy with optional bound checking but capable of handling overlapping cases thus using reverse copy instead.
@devnexen sorry for the delay in running the CI. It looks like there are a few failures in the tests, and clangformat is not happy.
weird as the issue seem about check_bounds about using memcpy ? Also my clang-format(9) does not report format issue..
I think it is the last line here:
Check fail: dst[u] == i in /home/runner/work/snmalloc/snmalloc/src/test/func/memcpy/func-memcpy.cc on 200
in test void check_overlaps2(size_t) [after = false] overlap error: 0x4 0x2
https://github.com/microsoft/snmalloc/actions/runs/4256879925/jobs/7476767702#step:9:16563
The clangformat might be it has cached an old file list. If you try rerunning cmake, and then the clangformat target?